[Fix] type hinting typo

This commit is contained in:
vn.py 2019-07-19 15:12:42 +08:00
parent 0c068768fb
commit 585dedb314

View File

@ -27,9 +27,9 @@ class ChartWidget(pg.PlotWidget):
self._manager: BarManager = BarManager() self._manager: BarManager = BarManager()
self._plots: Dict[str, pg.GraphicsObject] = {} self._plots: Dict[str, pg.PlotItem] = {}
self._items: Dict[str, ChartItem] = {} self._items: Dict[str, ChartItem] = {}
self._item_plot_map: Dict[ChartItem, pg.GraphicsObject] = {} self._item_plot_map: Dict[ChartItem, pg.PlotItem] = {}
self._first_plot: pg.PlotItem = None self._first_plot: pg.PlotItem = None
self._cursor: ChartCursor = None self._cursor: ChartCursor = None