Skip to content

Commit

Permalink
Merge pull request #218 from wpfff/feature/pg-backend
Browse files Browse the repository at this point in the history
Feature/pg backend
  • Loading branch information
wpfff committed Sep 10, 2021
2 parents e168c8a + 810ebb9 commit 12b6e25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion plottr/plot/pyqtgraph/autoplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def _1dPlot(self, plotItem: PlotItem) -> None:
if plotItem.plotDataType == PlotDataType.line1d:
name = plotItem.labels[-1] if isinstance(plotItem.labels, list) else ''
return subPlot.plot.plot(x.flatten(), y.flatten(), name=name,
pen=mkPen(color, width=2), symbol=symbol, symbolBrush=color,
pen=mkPen(color, width=1), symbol=symbol, symbolBrush=color,
symbolPen=None, symbolSize=symbolSize)
else:
name = plotItem.labels[-1] if isinstance(plotItem.labels, list) else ''
Expand Down
1 change: 0 additions & 1 deletion test/apps/autoplot_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def __init__(self, nreps: int = 1, nsets: int = 2, nx: int = 21):
def data(self) -> Iterable[DataDictBase]:
for i in range(self.nreps):
data = testdata.get_2d_scalar_cos_data(self.nx, self.nx, self.nsets)
# data.add_meta('title', "A changing image.")
yield data


Expand Down

0 comments on commit 12b6e25

Please sign in to comment.