seolpyo-mplchart 1.4.0.1__tar.gz → 1.4.0.2__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.

Files changed (17) hide show
  1. {seolpyo_mplchart-1.4.0.1/seolpyo_mplchart.egg-info → seolpyo_mplchart-1.4.0.2}/PKG-INFO +1 -1
  2. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/pyproject.toml +1 -1
  3. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart/_cursor.py +3 -0
  4. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2/seolpyo_mplchart.egg-info}/PKG-INFO +1 -1
  5. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/MANIFEST.in +0 -0
  6. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/README.md +0 -0
  7. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart/__init__.py +0 -0
  8. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart/_base.py +0 -0
  9. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart/_draw.py +0 -0
  10. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart/_slider.py +0 -0
  11. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart/test.py +0 -0
  12. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart/utils.py +0 -0
  13. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart.egg-info/SOURCES.txt +0 -0
  14. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart.egg-info/dependency_links.txt +0 -0
  15. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart.egg-info/requires.txt +0 -0
  16. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/seolpyo_mplchart.egg-info/top_level.txt +0 -0
  17. {seolpyo_mplchart-1.4.0.1 → seolpyo_mplchart-1.4.0.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: seolpyo-mplchart
3
- Version: 1.4.0.1
3
+ Version: 1.4.0.2
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
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
8
8
 
9
9
  [project]
10
10
  name = "seolpyo-mplchart"
11
- version = "1.4.0.1"
11
+ version = "1.4.0.2"
12
12
  dependencies = [
13
13
  "matplotlib >= 3.7.0",
14
14
  "pandas >= 2.0.0",
@@ -385,6 +385,9 @@ class InfoMixin(BoxMixin):
385
385
  super().set_data(df, sort_df, calc_ma, set_candlecolor, set_volumecolor, calc_info, *args, **kwargs)
386
386
 
387
387
  self._length_text = self.df[(self.volume if self.volume else self.high)].apply(lambda x: len(f'{x:,}')).max()
388
+ lenth_high = self.df[self.high].apply(lambda x: len(f'{x:,}')).max()
389
+ lenth_volume = 0 if not self.volume else self.df[self.volume].apply(lambda x: len(f'{x:,}')).max()
390
+ self._length_text = lenth_high if lenth_volume < lenth_high else lenth_volume
388
391
  return
389
392
 
390
393
  def _draw_box_artist(self, e, in_price_chart):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: seolpyo-mplchart
3
- Version: 1.4.0.1
3
+ Version: 1.4.0.2
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