MatplotLibAPI 3.2.15__tar.gz → 3.2.16__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.
Files changed (53) hide show
  1. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Heatmap.py +1 -1
  2. matplotlibapi-3.2.16/MatplotLibAPI/_typing.py +17 -0
  3. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/accessor.py +1 -1
  4. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/PKG-INFO +1 -1
  5. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/pyproject.toml +1 -1
  6. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/.github/workflows/ci.yml +0 -0
  7. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/.github/workflows/python-publish.yml +0 -0
  8. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/.gitignore +0 -0
  9. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/AGENTS.md +0 -0
  10. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/LICENSE +0 -0
  11. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Area.py +0 -0
  12. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Bar.py +0 -0
  13. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/BoxViolin.py +0 -0
  14. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Bubble.py +0 -0
  15. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Composite.py +0 -0
  16. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Histogram.py +0 -0
  17. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Network.py +0 -0
  18. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Pie.py +0 -0
  19. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Pivot.py +0 -0
  20. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Sankey.py +0 -0
  21. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/StyleTemplate.py +0 -0
  22. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Sunburst.py +0 -0
  23. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Table.py +0 -0
  24. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Timeserie.py +0 -0
  25. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Treemap.py +0 -0
  26. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Waffle.py +0 -0
  27. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/Wordcloud.py +0 -0
  28. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/__init__.py +0 -0
  29. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/MatplotLibAPI/_visualization_utils.py +0 -0
  30. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/README.md +0 -0
  31. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/SECURITY.md +0 -0
  32. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/SUGGESTIONS.md +0 -0
  33. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/scripts/generate_sample_data.py +0 -0
  34. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/__init__.py +0 -0
  35. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/conftest.py +0 -0
  36. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_area.py +0 -0
  37. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_bar.py +0 -0
  38. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_box_violin.py +0 -0
  39. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_bubble.py +0 -0
  40. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_dependencies.py +0 -0
  41. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_heatmap.py +0 -0
  42. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_histogram.py +0 -0
  43. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_network.py +0 -0
  44. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_pie.py +0 -0
  45. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_pivot.py +0 -0
  46. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_sankey.py +0 -0
  47. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_smoke.py +0 -0
  48. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_sunburst.py +0 -0
  49. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_table.py +0 -0
  50. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_timeseries.py +0 -0
  51. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_treemap.py +0 -0
  52. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_waffle.py +0 -0
  53. {matplotlibapi-3.2.15 → matplotlibapi-3.2.16}/tests/test_wordcloud.py +0 -0
@@ -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
+ ]
@@ -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 @@ requires = ["hatchling"]
3
3
  build-backend = "hatchling.build"
4
4
  [project]
5
5
  name = "MatplotLibAPI"
6
- version = "3.2.15"
6
+ version = "3.2.16"
7
7
  readme = "README.md"
8
8
  requires-python = ">=3.8"
9
9
  dependencies = [
File without changes
File without changes
File without changes