From 585dedb314057e9712f871b8d689e7904bf71669 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Fri, 19 Jul 2019 15:12:42 +0800 Subject: [PATCH] [Fix] type hinting typo --- vnpy/chart/widget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vnpy/chart/widget.py b/vnpy/chart/widget.py index 17f957ce..bf6455fe 100644 --- a/vnpy/chart/widget.py +++ b/vnpy/chart/widget.py @@ -27,9 +27,9 @@ class ChartWidget(pg.PlotWidget): self._manager: BarManager = BarManager() - self._plots: Dict[str, pg.GraphicsObject] = {} + self._plots: Dict[str, pg.PlotItem] = {} 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._cursor: ChartCursor = None