seolpyo-mplchart 1.4.0.2__py3-none-any.whl → 1.4.0.3__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/_cursor.py +4 -0
- seolpyo_mplchart/_slider.py +1 -1
- {seolpyo_mplchart-1.4.0.2.dist-info → seolpyo_mplchart-1.4.0.3.dist-info}/METADATA +1 -1
- {seolpyo_mplchart-1.4.0.2.dist-info → seolpyo_mplchart-1.4.0.3.dist-info}/RECORD +6 -6
- {seolpyo_mplchart-1.4.0.2.dist-info → seolpyo_mplchart-1.4.0.3.dist-info}/WHEEL +0 -0
- {seolpyo_mplchart-1.4.0.2.dist-info → seolpyo_mplchart-1.4.0.3.dist-info}/top_level.txt +0 -0
seolpyo_mplchart/_cursor.py
CHANGED
|
@@ -384,6 +384,10 @@ class InfoMixin(BoxMixin):
|
|
|
384
384
|
def set_data(self, df, sort_df=True, calc_ma=True, set_candlecolor=True, set_volumecolor=True, calc_info=True, *args, **kwargs):
|
|
385
385
|
super().set_data(df, sort_df, calc_ma, set_candlecolor, set_volumecolor, calc_info, *args, **kwargs)
|
|
386
386
|
|
|
387
|
+
self._set_length_text()
|
|
388
|
+
return
|
|
389
|
+
|
|
390
|
+
def _set_length_text(self):
|
|
387
391
|
self._length_text = self.df[(self.volume if self.volume else self.high)].apply(lambda x: len(f'{x:,}')).max()
|
|
388
392
|
lenth_high = self.df[self.high].apply(lambda x: len(f'{x:,}')).max()
|
|
389
393
|
lenth_volume = 0 if not self.volume else self.df[self.volume].apply(lambda x: len(f'{x:,}')).max()
|
seolpyo_mplchart/_slider.py
CHANGED
|
@@ -241,7 +241,7 @@ class DataMixin(NavigatorMixin):
|
|
|
241
241
|
self._set_slider_lim()
|
|
242
242
|
self._set_navigator(*self.navcoordinate)
|
|
243
243
|
|
|
244
|
-
self.
|
|
244
|
+
self._set_length_text()
|
|
245
245
|
return
|
|
246
246
|
|
|
247
247
|
def get_default_lim(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: seolpyo-mplchart
|
|
3
|
-
Version: 1.4.0.
|
|
3
|
+
Version: 1.4.0.3
|
|
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
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
seolpyo_mplchart/__init__.py,sha256=1rY6PP1OMMr1d_5x7dlAD2ImQAXChT5spvB45j6yDp8,18255
|
|
2
2
|
seolpyo_mplchart/_base.py,sha256=3iG4AVwHR_h3rh6c1oJahWt7NvBpBFrS0bUZd4PaHfY,3921
|
|
3
|
-
seolpyo_mplchart/_cursor.py,sha256=
|
|
3
|
+
seolpyo_mplchart/_cursor.py,sha256=051qy_fn0zypA5ceYKzSF8XMypdjqV3GE35kmtKeCU4,22845
|
|
4
4
|
seolpyo_mplchart/_draw.py,sha256=TGPo80yJocmXbWoCfzYKlWK6ntBElvb9IR8O54A2X5w,21174
|
|
5
|
-
seolpyo_mplchart/_slider.py,sha256=
|
|
5
|
+
seolpyo_mplchart/_slider.py,sha256=4zcanX9KSdtjn12IE3zKERaqTh07x42LKfFD2KEMcB8,23309
|
|
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.4.0.
|
|
15
|
-
seolpyo_mplchart-1.4.0.
|
|
16
|
-
seolpyo_mplchart-1.4.0.
|
|
17
|
-
seolpyo_mplchart-1.4.0.
|
|
14
|
+
seolpyo_mplchart-1.4.0.3.dist-info/METADATA,sha256=ptAsq-0kfzKL5Gyg3pjbSkuPC_GKBe2LJvO8eT0wO18,2484
|
|
15
|
+
seolpyo_mplchart-1.4.0.3.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
|
16
|
+
seolpyo_mplchart-1.4.0.3.dist-info/top_level.txt,sha256=KgqFn7rKWize7OjMaTCHxKm9ie6vqnyb5c8fN7y_tSo,17
|
|
17
|
+
seolpyo_mplchart-1.4.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|