seolpyo-mplchart 1.3.1__py3-none-any.whl → 1.3.1.2__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.

@@ -374,14 +374,13 @@ class InfoMixin(LineMixin):
374
374
 
375
375
  def _get_info(self, index, is_price=True):
376
376
  dt = self.df[self.date][index]
377
- if not self.volume:
378
- v, vr = ('-', '-%')
377
+ if not self.volume: v, vr = ('-', '-')
379
378
  else:
380
379
  v = self.df[self.volume][index]
381
380
  v = float_to_str(v, self.digit_volume)
382
381
  # if not v % 1: v = int(v)
383
382
  vr = self.df['rate_volume'][index]
384
- vr = f'{vr:+06,.2f}%'
383
+ vr = f'{vr:+06,.2f}'
385
384
 
386
385
  if is_price:
387
386
  o, h, l, c = (self.df[self.Open][index], self.df[self.high][index], self.df[self.low][index], self.df[self.close][index])
@@ -418,7 +417,7 @@ class InfoMixin(LineMixin):
418
417
  open=f'{o:>{self._length_text}}{self.unit_price}', rate_open=f'{Or:+06,.2f}%',
419
418
  high=f'{h:>{self._length_text}}{self.unit_price}', rate_high=f'{hr:+06,.2f}%',
420
419
  low=f'{l:>{self._length_text}}{self.unit_price}', rate_low=f'{lr:+06,.2f}%',
421
- volume=f'{v:>{self._length_text}}{self.unit_volume}', rate_volume=vr,
420
+ volume=f'{v:>{self._length_text}}{self.unit_volume}', rate_volume=f'{vr}%',
422
421
  )
423
422
  else:
424
423
  o, h, l, c = (float_to_str(o, self.digit_price), float_to_str(h, self.digit_price), float_to_str(l, self.digit_price), float_to_str(c, self.digit_price))
@@ -432,7 +431,7 @@ class InfoMixin(LineMixin):
432
431
  open=f'{o:>{self._length_text}}{self.unit_price}', rate_open=f'{Or:+06,.2f}%',
433
432
  high=f'{h:>{self._length_text}}{self.unit_price}', rate_high=f'{hr:+06,.2f}%',
434
433
  low=f'{l:>{self._length_text}}{self.unit_price}', rate_low=f'{lr:+06,.2f}%',
435
- volume=f'{v:>{self._length_text}}{self.unit_volume}', rate_volume=vr,
434
+ volume=f'{v:>{self._length_text}}{self.unit_volume}', rate_volume=f'{vr}%',
436
435
  )
437
436
  elif self.volume:
438
437
  compare = self.df['compare_volume'][index]
@@ -444,6 +443,7 @@ class InfoMixin(LineMixin):
444
443
  compare=f'{com:>{self._length_text}}{self.unit_volume}',
445
444
  )
446
445
  else: text = ''
446
+
447
447
  return text
448
448
 
449
449
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: seolpyo-mplchart
3
- Version: 1.3.1
3
+ Version: 1.3.1.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
@@ -1,6 +1,6 @@
1
1
  seolpyo_mplchart/__init__.py,sha256=Ccmoan8yd5m5ZiIXZWYIkL_LJ73clrlmWLdLX9naKDw,18233
2
2
  seolpyo_mplchart/_base.py,sha256=3iG4AVwHR_h3rh6c1oJahWt7NvBpBFrS0bUZd4PaHfY,3921
3
- seolpyo_mplchart/_cursor.py,sha256=7ZwE2UonuvttIT8KITIL334pSUzhfSM5tXNRZCKQqvA,20602
3
+ seolpyo_mplchart/_cursor.py,sha256=ZqTi-MiqL7e15Y61HoN3i2DoOzh6x7lijWUw3U3-Ei4,20609
4
4
  seolpyo_mplchart/_draw.py,sha256=Ji8fVwwjFw99qvQZmaUXXGNrv7iLSpaK6UogR5sVBUQ,22396
5
5
  seolpyo_mplchart/_slider.py,sha256=vkZsPymvsHmLWAK7MjbSGKIepiA5wI-XFgFax7AeVN0,23052
6
6
  seolpyo_mplchart/base.py,sha256=0qdImsIMPzTTkkHzPv479BVe_ojrn45FidGE46eT5x4,3797
@@ -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.3.1.dist-info/METADATA,sha256=hldahfQEOqTGrqdJ-hW6MzyDe7uV9sJfE0IRvN0c6wY,2482
15
- seolpyo_mplchart-1.3.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
16
- seolpyo_mplchart-1.3.1.dist-info/top_level.txt,sha256=KgqFn7rKWize7OjMaTCHxKm9ie6vqnyb5c8fN7y_tSo,17
17
- seolpyo_mplchart-1.3.1.dist-info/RECORD,,
14
+ seolpyo_mplchart-1.3.1.2.dist-info/METADATA,sha256=v9WQNfiotSY_7ogXjzfNCmWjjNKgRFr3pPyrP2dcL8g,2484
15
+ seolpyo_mplchart-1.3.1.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
16
+ seolpyo_mplchart-1.3.1.2.dist-info/top_level.txt,sha256=KgqFn7rKWize7OjMaTCHxKm9ie6vqnyb5c8fN7y_tSo,17
17
+ seolpyo_mplchart-1.3.1.2.dist-info/RECORD,,