MatplotLibAPI 4.0.4__tar.gz → 4.0.5__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 (71) hide show
  1. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/PKG-INFO +1 -1
  2. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/pyproject.toml +1 -1
  3. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_network.py +24 -0
  4. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/.github/dependabot.yml +0 -0
  5. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/.github/workflows/ci.yml +0 -0
  6. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/.github/workflows/python-publish.yml +0 -0
  7. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/.gitignore +0 -0
  8. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/.pre-commit-config.yaml +0 -0
  9. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/AGENTS.md +0 -0
  10. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/LICENSE +0 -0
  11. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/README.md +0 -0
  12. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/SECURITY.md +0 -0
  13. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/SUGGESTIONS.md +0 -0
  14. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/examples/__init__.py +0 -0
  15. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/examples/bubble.py +0 -0
  16. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/examples/network.py +0 -0
  17. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/examples/sample_data.py +0 -0
  18. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/scripts/pre_commit.sh +0 -0
  19. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/__init__.py +0 -0
  20. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/accessor.py +0 -0
  21. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/area.py +0 -0
  22. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/bar.py +0 -0
  23. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/base_plot.py +0 -0
  24. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/box_violin.py +0 -0
  25. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/bubble.py +0 -0
  26. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/composite.py +0 -0
  27. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/heatmap.py +0 -0
  28. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/histogram.py +0 -0
  29. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/mcp/__init__.py +0 -0
  30. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/mcp/metadata.py +0 -0
  31. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/mcp/renderers.py +0 -0
  32. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/mcp_server.py +0 -0
  33. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/network/__init__.py +0 -0
  34. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/network/constants.py +0 -0
  35. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/network/core.py +0 -0
  36. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/network/plot.py +0 -0
  37. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/network/scaling.py +0 -0
  38. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/pie.py +0 -0
  39. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/pivot.py +0 -0
  40. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/sankey.py +0 -0
  41. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/style_template.py +0 -0
  42. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/sunburst.py +0 -0
  43. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/table.py +0 -0
  44. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/timeserie.py +0 -0
  45. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/treemap.py +0 -0
  46. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/types.py +0 -0
  47. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/waffle.py +0 -0
  48. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/src/MatplotLibAPI/word_cloud.py +0 -0
  49. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/__init__.py +0 -0
  50. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/conftest.py +0 -0
  51. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_area.py +0 -0
  52. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_bar.py +0 -0
  53. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_box_violin.py +0 -0
  54. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_bubble.py +0 -0
  55. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_composite.py +0 -0
  56. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_dependencies.py +0 -0
  57. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_heatmap.py +0 -0
  58. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_histogram.py +0 -0
  59. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_mcp_server.py +0 -0
  60. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_network_preprocessing.py +0 -0
  61. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_pie.py +0 -0
  62. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_pivot.py +0 -0
  63. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_sankey.py +0 -0
  64. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_smoke.py +0 -0
  65. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_style_template.py +0 -0
  66. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_sunburst.py +0 -0
  67. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_table.py +0 -0
  68. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_timeseries.py +0 -0
  69. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_treemap.py +0 -0
  70. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_waffle.py +0 -0
  71. {matplotlibapi-4.0.4 → matplotlibapi-4.0.5}/tests/test_wordcloud.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MatplotLibAPI
3
- Version: 4.0.4
3
+ Version: 4.0.5
4
4
  License-File: LICENSE
5
5
  Requires-Python: >=3.9
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 = "4.0.4"
6
+ version = "4.0.5"
7
7
  readme = "README.md"
8
8
  requires-python = ">=3.9"
9
9
  dependencies = [
@@ -121,6 +121,30 @@ def test_accessor_fplot_network_forwards_layout_seed(monkeypatch):
121
121
  assert captured_layout_seed == [123]
122
122
 
123
123
 
124
+ def test_fplot_network_forwards_layout_seed_to_graph_fplot(monkeypatch):
125
+ """Forward ``layout_seed`` from wrapper to ``NetworkGraph.fplot``."""
126
+
127
+ df = pd.DataFrame(
128
+ {
129
+ "source": ["a", "b", "c"],
130
+ "target": ["b", "c", "a"],
131
+ "weight": [1, 2, 3],
132
+ }
133
+ )
134
+ captured_layout_seed = []
135
+
136
+ def fake_fplot(self, *args, **kwargs): # type: ignore[override]
137
+ captured_layout_seed.append(kwargs.get("layout_seed"))
138
+ return plt.figure()
139
+
140
+ monkeypatch.setattr(NetworkGraph, "fplot", fake_fplot)
141
+
142
+ fig = fplot_network(df, layout_seed=99)
143
+
144
+ assert isinstance(fig, Figure)
145
+ assert captured_layout_seed == [99]
146
+
147
+
124
148
  def test_softmax_matches_expected_probabilities():
125
149
  """Return softmax probabilities consistent with NumPy operations."""
126
150
 
File without changes
File without changes
File without changes
File without changes
File without changes