seolpyo-mplchart 0.0.3__py3-none-any.whl → 0.0.4__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/draw.py CHANGED
@@ -54,7 +54,7 @@ class DataMixin(Base):
54
54
  if k in _set_key: raise Exception(f'you can not set "self.{i}" value in {_set_key}.\nself.{i}={k!r}')
55
55
  if i != 'date':
56
56
  dtype = df[k].dtype
57
- if not isinstance(dtype, np.dtypes.Float64DType): raise TypeError(f'Data column type must be "float64".(excluding "date" column)\ndf[{k!r}].dtype={dtype!r}')
57
+ if not isinstance(dtype, (np.dtypes.Float64DType, np.dtypes.Int64DType, np.dtypes.Float32DType, np.dtypes.Int32DType)): raise TypeError(f'Data column type must be "float64" or "int64" or "float32" or "int32".(excluding "date" column)\ndf[{k!r}].dtype={dtype!r}')
58
58
 
59
59
  for i in self.list_ma: df[f'ma{i}'] = df[self.close].rolling(i).mean()
60
60
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: seolpyo-mplchart
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: Fast candlestick chart using Python.
5
5
  Author-email: white-seolpyo <white-seolpyo@naver.com>
6
6
  License: MIT License
@@ -22,8 +22,8 @@ Classifier: Programming Language :: Python :: 3.11
22
22
  Classifier: Programming Language :: Python :: 3.12
23
23
  Requires-Python: >=3.11
24
24
  Description-Content-Type: text/markdown
25
- Requires-Dist: matplotlib>=3.9.2
26
- Requires-Dist: pandas>=2.2.2
25
+ Requires-Dist: matplotlib>=3.7.0
26
+ Requires-Dist: pandas>=2.0.0
27
27
 
28
28
  # Donation
29
29
  Bitcoin: 1MKCHW8smDZv5DFMiVkA5G3DeXcMn871ZX
@@ -35,3 +35,13 @@ Ethereum: 0x1c5fb8a5e0b1153cd4116c91736bd16fabf83520
35
35
  [English](https://white.seolpyo.com/entry/148/)
36
36
 
37
37
  [한글](https://white.seolpyo.com/entry/147/)
38
+
39
+
40
+ # Sample
41
+ ![sample gif](https://github.com/user-attachments/assets/f1732891-d458-4c2d-a6bf-a17a4c549af6)
42
+
43
+ ![tkinter sample gif](https://github.com/user-attachments/assets/b9bd451c-71a7-4295-9bcc-0d2f7d440bbd)
44
+
45
+ ![english sample](https://raw.githubusercontent.com/white-seolpyo/seolpyo-mplchart/refs/heads/main/images/change%20format.png)
46
+
47
+ ![korean sample](https://github.com/white-seolpyo/seolpyo-mplchart/blob/main/images/sample%20kor.png?raw=true)
@@ -1,13 +1,13 @@
1
1
  seolpyo_mplchart/__init__.py,sha256=bsfjo70OG4go5ZNaFziLpXPMZ9wWSGQdx1ujuaGBzCQ,1289
2
2
  seolpyo_mplchart/base.py,sha256=vQ4OOBm3nGwjJ4wjDLaD_3LGxYzlP6AWpI6SZrZiwnQ,3600
3
3
  seolpyo_mplchart/cursor.py,sha256=-IUk2JcjvIM-TjHyeJx3lJFVI_Sx0xccDcO_RL-Co4c,17185
4
- seolpyo_mplchart/draw.py,sha256=GSvZBUIUyrlztdcxYD6_Ef1d5ZBdxi9uyLvAYb0WWVQ,12786
4
+ seolpyo_mplchart/draw.py,sha256=eQUUNIB-EiStSaVQoFYgSK7V6RLbHUswPCjIHWy_qhE,12891
5
5
  seolpyo_mplchart/slider.py,sha256=0ZDJIs5rR1spoc3my5chuKXkKOJsXUjbDk6utDBABcU,23060
6
6
  seolpyo_mplchart/test.py,sha256=cW2hoaVbRtoSXlpmA4i1BKHBjI3-FAqYq__kryxkrC8,1007
7
7
  seolpyo_mplchart/utils.py,sha256=-8cq4-WwiqKQxtwu3NPxOVTDDvoWH28tu4OTWr4hPTg,1208
8
8
  seolpyo_mplchart/data/apple.txt,sha256=0izAfweu1lLsC0IwVthdVlo9reG8KGbKGTSX5knI5Zc,1380864
9
9
  seolpyo_mplchart/data/samsung.txt,sha256=UejaSkbzr4E5K3lkelCT0yJiWUPfmViBEaTyoXyphIs,2476424
10
- seolpyo_mplchart-0.0.3.dist-info/METADATA,sha256=xqdoKGOuG2GZYPmKYrxwmHHMZeiDU4YzpYtGKwQRxLI,1637
11
- seolpyo_mplchart-0.0.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
12
- seolpyo_mplchart-0.0.3.dist-info/top_level.txt,sha256=KgqFn7rKWize7OjMaTCHxKm9ie6vqnyb5c8fN7y_tSo,17
13
- seolpyo_mplchart-0.0.3.dist-info/RECORD,,
10
+ seolpyo_mplchart-0.0.4.dist-info/METADATA,sha256=ZDU8xqSfBvbvN3lGTdgmQzTxeXBV8OjIJ5Oluk9CxmE,2097
11
+ seolpyo_mplchart-0.0.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
12
+ seolpyo_mplchart-0.0.4.dist-info/top_level.txt,sha256=KgqFn7rKWize7OjMaTCHxKm9ie6vqnyb5c8fN7y_tSo,17
13
+ seolpyo_mplchart-0.0.4.dist-info/RECORD,,