matplotly 0.1.0__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.
@@ -0,0 +1,120 @@
1
+ Metadata-Version: 2.4
2
+ Name: matplotly
3
+ Version: 0.1.0
4
+ Summary: Jupyter-native interactive matplotlib figure editor
5
+ Project-URL: Homepage, https://github.com/p-koo/matplotly
6
+ Project-URL: Documentation, https://matplotly.readthedocs.io
7
+ Project-URL: Bug Tracker, https://github.com/p-koo/matplotly/issues
8
+ Author: Peter Koo
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: interactive,jupyter,matplotlib,plotting,widgets
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Framework :: Jupyter
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Topic :: Scientific/Engineering :: Visualization
22
+ Requires-Python: >=3.9
23
+ Requires-Dist: ipympl>=0.9.0
24
+ Requires-Dist: ipywidgets>=8.0.0
25
+ Requires-Dist: matplotlib>=3.8.0
26
+ Requires-Dist: numpy>=1.24.0
27
+ Provides-Extra: dev
28
+ Requires-Dist: pytest>=7.0; extra == 'dev'
29
+ Requires-Dist: ruff>=0.4.0; extra == 'dev'
30
+ Provides-Extra: docs
31
+ Requires-Dist: myst-parser>=3.0; extra == 'docs'
32
+ Requires-Dist: nbsphinx>=0.9; extra == 'docs'
33
+ Requires-Dist: sphinx-rtd-theme>=2.0; extra == 'docs'
34
+ Requires-Dist: sphinx>=7.0; extra == 'docs'
35
+ Description-Content-Type: text/markdown
36
+
37
+ # matplotly
38
+
39
+ [![PyPI version](https://img.shields.io/pypi/v/matplotly.svg)](https://pypi.org/project/matplotly/)
40
+ [![Python versions](https://img.shields.io/pypi/pyversions/matplotly.svg)](https://pypi.org/project/matplotly/)
41
+ [![License](https://img.shields.io/pypi/l/matplotly.svg)](https://github.com/p-koo/matplotly/blob/main/LICENSE)
42
+ [![Docs](https://readthedocs.org/projects/matplotly/badge/?version=latest)](https://matplotly.readthedocs.io)
43
+
44
+ **Jupyter-native interactive matplotlib figure editor.**
45
+
46
+ Edit any matplotlib figure interactively — styles, colors, labels, legends — then export
47
+ reproducible Python code. No separate GUI; everything runs inline in your notebook.
48
+
49
+ ## Features
50
+
51
+ - **10+ plot types**: line, scatter, bar, histogram, box, violin, errorbar, heatmap, fill, marginal
52
+ - **Code generation**: export a standalone Python script that recreates your styled figure
53
+ - **Undo / redo**: full command history with keyboard shortcuts
54
+ - **Style profiles**: save and load reusable figure styles
55
+ - **Subplot support**: edit multi-panel figures with per-axes controls
56
+
57
+ ## Installation
58
+
59
+ ```bash
60
+ pip install matplotly
61
+ ```
62
+
63
+ Requires a Jupyter environment with the `ipympl` backend enabled:
64
+
65
+ ```python
66
+ %matplotlib widget
67
+ ```
68
+
69
+ ## Quick Start
70
+
71
+ ```python
72
+ %matplotlib widget
73
+ import matplotlib.pyplot as plt
74
+ from matplotly import matplotly
75
+
76
+ # 1. Pass a figure directly
77
+ fig, ax = plt.subplots()
78
+ ax.plot([1, 2, 3], [1, 4, 9])
79
+ matplotly(fig)
80
+
81
+ # 2. Decorator mode
82
+ @matplotly
83
+ def my_plot():
84
+ plt.plot([1, 2, 3], [1, 4, 9])
85
+
86
+ my_plot()
87
+
88
+ # 3. Context manager
89
+ with matplotly() as pb:
90
+ fig, ax = plt.subplots()
91
+ ax.plot([1, 2, 3], [1, 4, 9])
92
+ ```
93
+
94
+ ## Supported Plot Types
95
+
96
+ | Type | Description |
97
+ |------|-------------|
98
+ | Line | `ax.plot()` |
99
+ | Scatter | `ax.scatter()` |
100
+ | Bar | `ax.bar()` / `ax.barh()` |
101
+ | Histogram | `ax.hist()` |
102
+ | Box | `ax.boxplot()` |
103
+ | Violin | `ax.violinplot()` |
104
+ | Errorbar | `ax.errorbar()` |
105
+ | Heatmap | `ax.imshow()` / `ax.pcolormesh()` |
106
+ | Fill | `ax.fill_between()` / `ax.fill_betweenx()` |
107
+ | Marginal | Joint + marginal distribution plots |
108
+
109
+ ## Documentation
110
+
111
+ Full documentation is available at [matplotly.readthedocs.io](https://matplotly.readthedocs.io).
112
+
113
+ ## Contributing
114
+
115
+ Contributions are welcome! Please open an issue or pull request on
116
+ [GitHub](https://github.com/p-koo/matplotly).
117
+
118
+ ## License
119
+
120
+ MIT — see [LICENSE](LICENSE) for details.
@@ -0,0 +1,27 @@
1
+ matplotly/__init__.py,sha256=l8VZvjgwT8fI_gasOB_KVkciXyTUQvqPX3r6XkkfjEY,3616
2
+ matplotly/_api.py,sha256=ZNKaxVbNQ9Q4ex_v69OqPKMzxkffOnJRFTlraEWfyqg,40208
3
+ matplotly/_code_gen.py,sha256=RdJUmwDApZ_ALnXd9K7QnYOtYM7gpTMtcJO_oWmay_M,75194
4
+ matplotly/_commands.py,sha256=gwDbCl0gnKz3cImt9y695k1bTssPO7MLI7cvGOF1GLM,3110
5
+ matplotly/_introspect.py,sha256=sjnBDN6PfVZg48gNaHooC2awn6hVGOYXCgihp7UlxZg,46955
6
+ matplotly/_profiles.py,sha256=aYS2AJ3kZoJVNLnNqBScv2QA69beCahr0tcwRiwMG1g,9299
7
+ matplotly/_renderer.py,sha256=H1049u4grqMa88CKl5BmQkmeUx6ufY0be2HcUAW15eg,2797
8
+ matplotly/_style_import.py,sha256=esWVo6WCwqR1bjCe4PnjpLgm2WJZE0u2wPCJoMYKtZM,5457
9
+ matplotly/_types.py,sha256=2MHSVoG3oiW4kGJHTkUPWn_lp-BTU6-SmssJlERd-Zs,764
10
+ matplotly/panels/__init__.py,sha256=b5qsQMZW1_Rge4bW9vGIUCstDdsv0owFc3ZHwz6ZIb8,1288
11
+ matplotly/panels/_bar.py,sha256=f-f6vzpHjuHyqVgwQetoPdT2pAebIIfCW-k-rtBNdew,31048
12
+ matplotly/panels/_base.py,sha256=2c53T-YPUqb88-w1zQChzcKHEvvbdJbaKUBlfG3lIK8,1110
13
+ matplotly/panels/_color_utils.py,sha256=pf6iJpgTQ138IASLb7erlYiDQyPD1Ui1WvOHvlI7-gU,7282
14
+ matplotly/panels/_distribution.py,sha256=SUYYAyKRiLmFK8TDWmx1amLfm89ddytVtb24OoFKDSo,61934
15
+ matplotly/panels/_errorbar.py,sha256=YPuukDgQ51dHJakQ4duWr2JlT0z_iCtMKkgHCNchLG4,24084
16
+ matplotly/panels/_fill.py,sha256=FV2mDs0P11KQe4lifQ6n_zWOQsefhD-3P5W4mo2iS9Y,3349
17
+ matplotly/panels/_global.py,sha256=nSvjNF09N66Qc1bn-UV3922imxVZYdfZIFEljmQujLM,64133
18
+ matplotly/panels/_heatmap.py,sha256=S6IReQJsb2tdy4c08yaUKp_LKEp8tVL_kRx2eHdVNss,33624
19
+ matplotly/panels/_histogram.py,sha256=7mnczIzpGrPJt9PxGhIyJ7OV1jQtABMmHJ8b9U5AvcM,35351
20
+ matplotly/panels/_line.py,sha256=Bo83bhMyPiz70ouRcATcArWCC5jDUsW7NKJgjqEL4OU,30768
21
+ matplotly/panels/_marginal.py,sha256=AY5Y-Xu3MzHn1lsv87VHu3PyJuNRmcz_nqqTRTEyBeQ,36725
22
+ matplotly/panels/_scatter.py,sha256=YRzTGKCrtgfHVj3EF-R_I-Wig1CFN1vmMLDExEjkvxs,17226
23
+ matplotly/panels/_subplot.py,sha256=xBbTG4SRFUhI4U4CnbEWFzCdjje3YRMX4TbuXKxgLJM,34304
24
+ matplotly-0.1.0.dist-info/METADATA,sha256=LyOKvSS76UUJLEfIwBikM4yZ7SD8SjGcAXxKVgRrfWY,3802
25
+ matplotly-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
26
+ matplotly-0.1.0.dist-info/licenses/LICENSE,sha256=yd0DPmabV8dqZvJlGJGZKDMRbZ2SBIkaxJjx0-EJtt8,1066
27
+ matplotly-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Peter Koo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.