tikzplot42 0.4.7__tar.gz → 0.5.1__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.
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/PKG-INFO +12 -13
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/README.md +8 -6
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/pyproject.toml +4 -7
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/axes.py +784 -170
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/axes.pyi +309 -10
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/colorbar.py +4 -1
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/colorbar.pyi +16 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/elements.py +147 -19
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/elements.pyi +2 -1
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/figure.py +26 -2
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/plots.py +21 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/plots.pyi +287 -52
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/styles.py +11 -8
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/texts.py +1 -6
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot42.egg-info/PKG-INFO +12 -13
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot42.egg-info/SOURCES.txt +3 -2
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test11.py +7 -3
- tikzplot42-0.5.1/tests/test13.py +62 -0
- tikzplot42-0.5.1/tests/test14.py +38 -0
- tikzplot42-0.5.1/tests/test15.py +43 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test7.py +1 -1
- tikzplot42-0.4.7/tests/test13.py +0 -29
- tikzplot42-0.4.7/tests/test_styles.py +0 -17
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/LICENSE +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/setup.cfg +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/__init__.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/__init__.pyi +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/axes3d.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/axes3d.pyi +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/colors.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/config.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/config.pyi +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/figure.pyi +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/latex_special.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/py.typed +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/state.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot/styles.pyi +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot42.egg-info/dependency_links.txt +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot42.egg-info/requires.txt +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/src/tikzplot42.egg-info/top_level.txt +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test1.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test10.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test12.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test2.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test3.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test4.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test5.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test6.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test8.py +0 -0
- {tikzplot42-0.4.7 → tikzplot42-0.5.1}/tests/test9.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tikzplot42
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: TikzPlot to make TikZ/PGFPlots plots with matplotlib.pyplot-like syntax.
|
|
5
5
|
Author-email: Zan Ambrozic <zan.ambrozic7@gmail.com>
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -686,14 +686,11 @@ Classifier: Development Status :: 3 - Alpha
|
|
|
686
686
|
Classifier: Intended Audience :: Science/Research
|
|
687
687
|
Classifier: Intended Audience :: Developers
|
|
688
688
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
689
|
-
Classifier: Programming Language :: Python :: 3
|
|
690
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
691
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
692
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
693
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
694
689
|
Classifier: Programming Language :: Python :: 3.12
|
|
690
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
691
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
695
692
|
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
696
|
-
Requires-Python: >=3.
|
|
693
|
+
Requires-Python: >=3.12
|
|
697
694
|
Description-Content-Type: text/markdown
|
|
698
695
|
License-File: LICENSE
|
|
699
696
|
Requires-Dist: numpy
|
|
@@ -703,14 +700,14 @@ Dynamic: license-file
|
|
|
703
700
|
# TikzPlot
|
|
704
701
|
A clean version of PltToTikz, this time as Python package. Easy to use: only replace import matplotlib.pyplot with this library.
|
|
705
702
|
|
|
706
|
-
Please
|
|
703
|
+
Please report any bugs or unexpected behaviour in Issues. Examples may be found in repository under `tests/` directory.
|
|
707
704
|
|
|
708
705
|
<p align="center">
|
|
709
706
|
<img src="https://raw.githubusercontent.com/ZanAmb/TikzPlot/main/tests/demo.png" width="60%">
|
|
710
707
|
</p>
|
|
711
708
|
|
|
712
709
|
# Installation
|
|
713
|
-
|
|
710
|
+
PyPI: `pip install tikzplot42`.
|
|
714
711
|
Alternativley, download this package and install using: `pip install [path]`, where [path] is the path to the directory, containing `pyproject.toml`.
|
|
715
712
|
|
|
716
713
|
## Python usage
|
|
@@ -741,7 +738,9 @@ Some basic plot commands are already implemented with commonly used arguments:
|
|
|
741
738
|
- `stem()`,
|
|
742
739
|
- `fill_between()`,
|
|
743
740
|
- `hlines()/vlines()`,
|
|
744
|
-
- `
|
|
741
|
+
- `hist()`,
|
|
742
|
+
- `bar()/barh()`,
|
|
743
|
+
- `bar_label()`,
|
|
745
744
|
- `step()`,
|
|
746
745
|
- `imshow()`,
|
|
747
746
|
- `text()`,
|
|
@@ -765,7 +764,8 @@ If axes and plot have different name for command with same effect, both are impl
|
|
|
765
764
|
- `ax.set_xticklabels()/ax.set_yticklabels()`,
|
|
766
765
|
- `legend()` (basic position control),
|
|
767
766
|
- `ax.twinx()`,
|
|
768
|
-
- `ax.set()
|
|
767
|
+
- `ax.set()`,
|
|
768
|
+
- `ax.tick_params()`,
|
|
769
769
|
|
|
770
770
|
There is a limited support for built-in styles (e.g. `plt.style.use("default")`), you may also define your own style using `plt.style.set_profile()`. Currently supported features are: color cycle (hex colors sequence), line width (in pt), grid (with matplotlib kwargs), background (latex style key=value), additional settings (raw latex code for optional arguments to axis: key=value).
|
|
771
771
|
|
|
@@ -792,7 +792,6 @@ For plot configurations (default sizes, paddings, etc.), use `from tikzplot impo
|
|
|
792
792
|
Currently supported parameters are listed with their default values in `src/tikzplot/config.py`.
|
|
793
793
|
|
|
794
794
|
## More features coming soon...
|
|
795
|
-
-
|
|
796
|
-
- more developed styles,
|
|
795
|
+
- additional arguments support for implemented commands,
|
|
797
796
|
- improved 3D plots (currently only basic support: plot, errorbar, fill_between, scatter, plot_wireframe, plot_surface),
|
|
798
797
|
- ...
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# TikzPlot
|
|
2
2
|
A clean version of PltToTikz, this time as Python package. Easy to use: only replace import matplotlib.pyplot with this library.
|
|
3
3
|
|
|
4
|
-
Please
|
|
4
|
+
Please report any bugs or unexpected behaviour in Issues. Examples may be found in repository under `tests/` directory.
|
|
5
5
|
|
|
6
6
|
<p align="center">
|
|
7
7
|
<img src="https://raw.githubusercontent.com/ZanAmb/TikzPlot/main/tests/demo.png" width="60%">
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
10
|
# Installation
|
|
11
|
-
|
|
11
|
+
PyPI: `pip install tikzplot42`.
|
|
12
12
|
Alternativley, download this package and install using: `pip install [path]`, where [path] is the path to the directory, containing `pyproject.toml`.
|
|
13
13
|
|
|
14
14
|
## Python usage
|
|
@@ -39,7 +39,9 @@ Some basic plot commands are already implemented with commonly used arguments:
|
|
|
39
39
|
- `stem()`,
|
|
40
40
|
- `fill_between()`,
|
|
41
41
|
- `hlines()/vlines()`,
|
|
42
|
-
- `
|
|
42
|
+
- `hist()`,
|
|
43
|
+
- `bar()/barh()`,
|
|
44
|
+
- `bar_label()`,
|
|
43
45
|
- `step()`,
|
|
44
46
|
- `imshow()`,
|
|
45
47
|
- `text()`,
|
|
@@ -63,7 +65,8 @@ If axes and plot have different name for command with same effect, both are impl
|
|
|
63
65
|
- `ax.set_xticklabels()/ax.set_yticklabels()`,
|
|
64
66
|
- `legend()` (basic position control),
|
|
65
67
|
- `ax.twinx()`,
|
|
66
|
-
- `ax.set()
|
|
68
|
+
- `ax.set()`,
|
|
69
|
+
- `ax.tick_params()`,
|
|
67
70
|
|
|
68
71
|
There is a limited support for built-in styles (e.g. `plt.style.use("default")`), you may also define your own style using `plt.style.set_profile()`. Currently supported features are: color cycle (hex colors sequence), line width (in pt), grid (with matplotlib kwargs), background (latex style key=value), additional settings (raw latex code for optional arguments to axis: key=value).
|
|
69
72
|
|
|
@@ -90,7 +93,6 @@ For plot configurations (default sizes, paddings, etc.), use `from tikzplot impo
|
|
|
90
93
|
Currently supported parameters are listed with their default values in `src/tikzplot/config.py`.
|
|
91
94
|
|
|
92
95
|
## More features coming soon...
|
|
93
|
-
-
|
|
94
|
-
- more developed styles,
|
|
96
|
+
- additional arguments support for implemented commands,
|
|
95
97
|
- improved 3D plots (currently only basic support: plot, errorbar, fill_between, scatter, plot_wireframe, plot_surface),
|
|
96
98
|
- ...
|
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tikzplot42"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.5.1"
|
|
8
8
|
description = "TikzPlot to make TikZ/PGFPlots plots with matplotlib.pyplot-like syntax."
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "Zan Ambrozic", email = "zan.ambrozic7@gmail.com" }
|
|
11
11
|
]
|
|
12
12
|
readme = "README.md"
|
|
13
|
-
requires-python = ">=3.
|
|
13
|
+
requires-python = ">=3.12"
|
|
14
14
|
license = { file = "LICENSE" }
|
|
15
15
|
keywords = ["tikz", "pgfplots", "matplotlib", "latex", "plotting"]
|
|
16
16
|
classifiers = [
|
|
@@ -18,12 +18,9 @@ classifiers = [
|
|
|
18
18
|
"Intended Audience :: Science/Research",
|
|
19
19
|
"Intended Audience :: Developers",
|
|
20
20
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
21
|
-
"Programming Language :: Python :: 3",
|
|
22
|
-
"Programming Language :: Python :: 3 :: Only",
|
|
23
|
-
"Programming Language :: Python :: 3.9",
|
|
24
|
-
"Programming Language :: Python :: 3.10",
|
|
25
|
-
"Programming Language :: Python :: 3.11",
|
|
26
21
|
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Programming Language :: Python :: 3.13",
|
|
23
|
+
"Programming Language :: Python :: 3.14",
|
|
27
24
|
"Topic :: Scientific/Engineering :: Visualization",
|
|
28
25
|
]
|
|
29
26
|
dependencies = ["numpy", "matplotlib"]
|