seolpyo-mplchart 1.4.0.1__tar.gz → 1.4.0.3__tar.gz
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-1.4.0.1/seolpyo_mplchart.egg-info → seolpyo_mplchart-1.4.0.3}/PKG-INFO +1 -1
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/pyproject.toml +1 -1
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart/_cursor.py +7 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart/_slider.py +1 -1
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3/seolpyo_mplchart.egg-info}/PKG-INFO +1 -1
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/MANIFEST.in +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/README.md +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart/__init__.py +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart/_base.py +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart/_draw.py +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart/test.py +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart/utils.py +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart.egg-info/SOURCES.txt +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart.egg-info/dependency_links.txt +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart.egg-info/requires.txt +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart.egg-info/top_level.txt +0 -0
- {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/setup.cfg +0 -0
|
@@ -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
|
|
@@ -384,7 +384,14 @@ 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()
|
|
392
|
+
lenth_high = self.df[self.high].apply(lambda x: len(f'{x:,}')).max()
|
|
393
|
+
lenth_volume = 0 if not self.volume else self.df[self.volume].apply(lambda x: len(f'{x:,}')).max()
|
|
394
|
+
self._length_text = lenth_high if lenth_volume < lenth_high else lenth_volume
|
|
388
395
|
return
|
|
389
396
|
|
|
390
397
|
def _draw_box_artist(self, e, in_price_chart):
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart.egg-info/requires.txt
RENAMED
|
File without changes
|
{seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.3}/seolpyo_mplchart.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|