Skip to content
Snippets Groups Projects
Commit a0440c1d authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Try to get rid of whitespace

parent 2e683d48
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ class PowerPlot:
def __init__(self, fig, yname, offset=None):
self.fig = fig
self.ax = fig.add_subplot()
self.ax.set_xlabel("Time (UTC)")
self.ax.set_ylabel(yname)
......@@ -51,11 +52,13 @@ class PowerPlot:
self.min, self.max = None, None
fig.suptitle(yname, fontsize=16)
fig.tight_layout()
(self.totalplot,) = self.ax.plot([], [], ".", color="blue", alpha=0.1)
(self.totalplothighlight,) = self.ax.plot(
[], [], ".", color="red", markersize=10
)
self.fig.tight_layout()
def set_totalplot_values(self, xdata, ydata):
self.totalplot.set_data(xdata, ydata)
......@@ -143,7 +146,7 @@ class PowerPlotMainWindow(QMainWindow):
now = time.time()
self.last_update = now
fig = Figure(figsize=(8, 6), dpi=75)
fig = Figure(figsize=(16, 9), dpi=75)
canvas = FigureCanvas(fig)
layout.addWidget(canvas)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment