MatplotLibAPI 3.2.15__py3-none-any.whl → 3.2.16__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.
MatplotLibAPI/Heatmap.py CHANGED
@@ -7,7 +7,6 @@ import pandas as pd
7
7
  import seaborn as sns
8
8
  from matplotlib.axes import Axes
9
9
  from matplotlib.figure import Figure
10
- from pandas._typing import CorrelationMethod
11
10
 
12
11
  from .StyleTemplate import (
13
12
  HEATMAP_STYLE_TEMPLATE,
@@ -16,6 +15,7 @@ from .StyleTemplate import (
16
15
  validate_dataframe,
17
16
  )
18
17
  from ._visualization_utils import _get_axis, _wrap_aplot
18
+ from ._typing import CorrelationMethod
19
19
 
20
20
 
21
21
  def aplot_heatmap(
@@ -0,0 +1,17 @@
1
+ """Internal type aliases used across MatplotLibAPI."""
2
+
3
+ from typing import Any, Callable, Literal, Union
4
+
5
+ from typing_extensions import TypeAlias
6
+
7
+ import numpy.typing as npt
8
+
9
+
10
+ # ``DataFrame.corr`` supports the three built-in correlation methods or a callable
11
+ # that operates on two array-like inputs and returns a float. Using a local alias
12
+ # avoids depending on the private ``pandas._typing`` module, which is not
13
+ # considered stable across releases.
14
+ CorrelationMethod: TypeAlias = Union[
15
+ Literal["pearson", "kendall", "spearman"],
16
+ Callable[[npt.NDArray[Any], npt.NDArray[Any]], float],
17
+ ]
MatplotLibAPI/accessor.py CHANGED
@@ -7,7 +7,6 @@ import pandas as pd
7
7
  import plotly.graph_objects as go
8
8
  from matplotlib.axes import Axes
9
9
  from matplotlib.figure import Figure
10
- from pandas._typing import CorrelationMethod
11
10
  from pandas.api.extensions import register_dataframe_accessor
12
11
 
13
12
  from .Area import aplot_area, fplot_area
@@ -40,6 +39,7 @@ from .StyleTemplate import (
40
39
  TREEMAP_STYLE_TEMPLATE,
41
40
  StyleTemplate,
42
41
  )
42
+ from ._typing import CorrelationMethod
43
43
  from .Table import aplot_table, fplot_table
44
44
  from .Timeserie import aplot_timeserie, fplot_timeserie
45
45
  from .Sunburst import fplot_sunburst
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MatplotLibAPI
3
- Version: 3.2.15
3
+ Version: 3.2.16
4
4
  License-File: LICENSE
5
5
  Requires-Python: >=3.8
6
6
  Requires-Dist: kaleido
@@ -3,7 +3,7 @@ MatplotLibAPI/Bar.py,sha256=WY74gXJA3ZIpJD0WaidMo0lrT1lVEbeA0UMGFBY5yiE,2079
3
3
  MatplotLibAPI/BoxViolin.py,sha256=XB4cUxUvf8LzwE2twu0gd7vn2NJYjz_mQwVqtyE7dYU,1783
4
4
  MatplotLibAPI/Bubble.py,sha256=PiK6Fe77mXRTSSewXkimrNFsMa32pGRXr9jlgZJndXA,12644
5
5
  MatplotLibAPI/Composite.py,sha256=k4elPk2mucw5oOH2S2GZV6mbHI9N4Nhpnte4mWLHObg,5902
6
- MatplotLibAPI/Heatmap.py,sha256=OAF6oBXUksRKGgbN5Mn3EkZxOOZmD4LaJmk4mC01jN8,3053
6
+ MatplotLibAPI/Heatmap.py,sha256=Qs17CHGhBDXUVDxW0dofzjO5xxlQw5XIwANtUKHgg_Y,3047
7
7
  MatplotLibAPI/Histogram.py,sha256=0J4uC7xy53TZKjTDWCeEjaELL7E5lQDG0MpeGfaaO6Y,1705
8
8
  MatplotLibAPI/Network.py,sha256=erjKzl1Jb6j6Fiy3170xKSeF1LEBe7jPdLB6q8VZclw,30142
9
9
  MatplotLibAPI/Pie.py,sha256=TBAnj4mVYy6dKPMwXPjGanTDrLrjHmA5pFvrdXbNw9A,1724
@@ -17,9 +17,10 @@ MatplotLibAPI/Treemap.py,sha256=a-9Z-ZzXzIV5SDgdJaW7slGELFBBks1pXZnIjcYmarw,4528
17
17
  MatplotLibAPI/Waffle.py,sha256=gPREV5v92DQcvjNGuwdKDbAaRSzLBbGF8sWPGUwFyJM,2353
18
18
  MatplotLibAPI/Wordcloud.py,sha256=b0vXLRjclSDr28o6LSXqnQenT7duZMmldmfyLrNOVro,9333
19
19
  MatplotLibAPI/__init__.py,sha256=StUMlDJehHrO_LMCxmmMX3NpT0Ua_POCZ8GcHHpsQ5Y,2171
20
+ MatplotLibAPI/_typing.py,sha256=Or3IPNceWKdyEk3CGXJb09FZR_fvT732oF0iWrx1ex8,598
20
21
  MatplotLibAPI/_visualization_utils.py,sha256=RQBgS-ytPorEOuWqQMHJRwaKOgmZoMW22-sjzxkui2I,1179
21
- MatplotLibAPI/accessor.py,sha256=I497w2I9vIA9Imc3f00KiW0_a2-VABl_vHgLwRYejPE,50814
22
- matplotlibapi-3.2.15.dist-info/METADATA,sha256=xkpRcdXfSkx0jwSCVAn-NXu4sYxuu0EXNWyiS5mSf6g,5863
23
- matplotlibapi-3.2.15.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
24
- matplotlibapi-3.2.15.dist-info/licenses/LICENSE,sha256=hMErKLb6YZR3lRR5zr-vxeFkvY69QAaafgSpZ5-P1dQ,1067
25
- matplotlibapi-3.2.15.dist-info/RECORD,,
22
+ MatplotLibAPI/accessor.py,sha256=LTvDlq8UXrL1YSyxQqQHE_tqI8jo4CFu2wEiknk4UFg,50808
23
+ matplotlibapi-3.2.16.dist-info/METADATA,sha256=F2vLApzlN6stE-q2et8sdBGMuuO1N4aDx7TeLK4xKIE,5863
24
+ matplotlibapi-3.2.16.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
25
+ matplotlibapi-3.2.16.dist-info/licenses/LICENSE,sha256=hMErKLb6YZR3lRR5zr-vxeFkvY69QAaafgSpZ5-P1dQ,1067
26
+ matplotlibapi-3.2.16.dist-info/RECORD,,