seolpyo-mplchart 1.2.0__py3-none-any.whl → 1.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of seolpyo-mplchart might be problematic. Click here for more details.
- seolpyo_mplchart/_slider.py +10 -0
- {seolpyo_mplchart-1.2.0.dist-info → seolpyo_mplchart-1.2.1.dist-info}/METADATA +1 -1
- {seolpyo_mplchart-1.2.0.dist-info → seolpyo_mplchart-1.2.1.dist-info}/RECORD +5 -5
- {seolpyo_mplchart-1.2.0.dist-info → seolpyo_mplchart-1.2.1.dist-info}/WHEEL +0 -0
- {seolpyo_mplchart-1.2.0.dist-info → seolpyo_mplchart-1.2.1.dist-info}/top_level.txt +0 -0
seolpyo_mplchart/_slider.py
CHANGED
|
@@ -342,6 +342,16 @@ class MouseMoveMixin(BackgroundMixin):
|
|
|
342
342
|
self.text_slider.draw(renderer)
|
|
343
343
|
return
|
|
344
344
|
|
|
345
|
+
def _on_move_price_chart(self, e: MouseEvent):
|
|
346
|
+
self.slider_vline.set_segments([((e.xdata, self.slider_ymin), (e.xdata, self.slider_ymax))])
|
|
347
|
+
self.slider_vline.draw(self.figure.canvas.renderer)
|
|
348
|
+
return super()._on_move_price_chart(e)
|
|
349
|
+
|
|
350
|
+
def _on_move_volume_chart(self, e: MouseEvent):
|
|
351
|
+
self.slider_vline.set_segments([((e.xdata, self.slider_ymin), (e.xdata, self.slider_ymax))])
|
|
352
|
+
self.slider_vline.draw(self.figure.canvas.renderer)
|
|
353
|
+
return super()._on_move_volume_chart(e)
|
|
354
|
+
|
|
345
355
|
|
|
346
356
|
class ClickMixin(MouseMoveMixin):
|
|
347
357
|
x_click = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: seolpyo-mplchart
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Fast candlestick chart using Python. Includes navigator, slider, navigation, and text information display functions
|
|
5
5
|
Author-email: white-seolpyo <white-seolpyo@naver.com>
|
|
6
6
|
License: MIT License
|
|
@@ -2,7 +2,7 @@ seolpyo_mplchart/__init__.py,sha256=ruj3FHpJD6PxBxWrzr-eIuhoGLiwXNJOdpBWHdxlOfE,
|
|
|
2
2
|
seolpyo_mplchart/_base.py,sha256=0qdImsIMPzTTkkHzPv479BVe_ojrn45FidGE46eT5x4,3797
|
|
3
3
|
seolpyo_mplchart/_cursor.py,sha256=SagSVM46ATmSswB_klmlIMtw9tX3nYuiI1FKVYtQbYk,20416
|
|
4
4
|
seolpyo_mplchart/_draw.py,sha256=J2gthHuDifXwVtoSD-prAfPYxoKj-YC4cVp1DW7Xf3g,22107
|
|
5
|
-
seolpyo_mplchart/_slider.py,sha256=
|
|
5
|
+
seolpyo_mplchart/_slider.py,sha256=0HsNeEf7lClFYB1WHkS3gbkWz_XKQlJ9q3YTYjcwS-4,22824
|
|
6
6
|
seolpyo_mplchart/base.py,sha256=0qdImsIMPzTTkkHzPv479BVe_ojrn45FidGE46eT5x4,3797
|
|
7
7
|
seolpyo_mplchart/cursor.py,sha256=qq1WJJa7vCE5C2XeGBECt2XqxR_WxfybZZ5u6zVx5Ps,20415
|
|
8
8
|
seolpyo_mplchart/draw.py,sha256=MiqDhbMJOSlWD6qdAghsyrZwCixcwm4nfmiinvwtt-o,21520
|
|
@@ -11,7 +11,7 @@ seolpyo_mplchart/test.py,sha256=TFnIXphJsl-B7iIhBh7-PZKUz2Gjh7mwNwrk8aUS4SA,180
|
|
|
11
11
|
seolpyo_mplchart/utils.py,sha256=a3XycRBTndrsjBw_1VKTxbSvOGpVYXHRK87v7azgRe8,1433
|
|
12
12
|
seolpyo_mplchart/data/apple.txt,sha256=0izAfweu1lLsC0IwVthdVlo9reG8KGbKGTSX5knI5Zc,1380864
|
|
13
13
|
seolpyo_mplchart/data/samsung.txt,sha256=UejaSkbzr4E5K3lkelCT0yJiWUPfmViBEaTyoXyphIs,2476424
|
|
14
|
-
seolpyo_mplchart-1.2.
|
|
15
|
-
seolpyo_mplchart-1.2.
|
|
16
|
-
seolpyo_mplchart-1.2.
|
|
17
|
-
seolpyo_mplchart-1.2.
|
|
14
|
+
seolpyo_mplchart-1.2.1.dist-info/METADATA,sha256=pCHqJax5S7KPfxt4EemBYDCmnABIT2pF6dm6e8ijr7c,2352
|
|
15
|
+
seolpyo_mplchart-1.2.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
16
|
+
seolpyo_mplchart-1.2.1.dist-info/top_level.txt,sha256=KgqFn7rKWize7OjMaTCHxKm9ie6vqnyb5c8fN7y_tSo,17
|
|
17
|
+
seolpyo_mplchart-1.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|