adopt-plot 0.1.6__tar.gz → 0.1.7__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.
- {adopt_plot-0.1.6/src/adopt_plot.egg-info → adopt_plot-0.1.7}/PKG-INFO +10 -6
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/README.md +9 -5
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/pyproject.toml +1 -1
- {adopt_plot-0.1.6 → adopt_plot-0.1.7/src/adopt_plot.egg-info}/PKG-INFO +10 -6
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/LICENSE +0 -0
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/setup.cfg +0 -0
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/src/adopt_plot/__init__.py +0 -0
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/src/adopt_plot/plot.py +0 -0
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/src/adopt_plot.egg-info/SOURCES.txt +0 -0
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/src/adopt_plot.egg-info/dependency_links.txt +0 -0
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/src/adopt_plot.egg-info/requires.txt +0 -0
- {adopt_plot-0.1.6 → adopt_plot-0.1.7}/src/adopt_plot.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adopt-plot
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Summary: A universal plotter for implicit functions using adaptive engine selection.
|
|
5
5
|
Author: VartRusData
|
|
6
6
|
License: BSD 3-Clause
|
|
@@ -14,7 +14,7 @@ Requires-Dist: numpy
|
|
|
14
14
|
Dynamic: license-file
|
|
15
15
|
|
|
16
16
|
# adopt-plot
|
|
17
|
-
|
|
17
|
+
### Or AdoptPlot
|
|
18
18
|
A library for plotting implicit functions using two rendering engines:
|
|
19
19
|
|
|
20
20
|
- `contour` from `matplotlib`.
|
|
@@ -43,7 +43,7 @@ Or with deferred display (to add custom elements first):
|
|
|
43
43
|
```python
|
|
44
44
|
from adopt_plot import AdoptPlot
|
|
45
45
|
|
|
46
|
-
plot = AdoptPlot("y =
|
|
46
|
+
plot = AdoptPlot("y = sqrt(x)", show=False)
|
|
47
47
|
# Add custom elements here:
|
|
48
48
|
plot.ax.scatter(2, 2, color='red')
|
|
49
49
|
plot.show()
|
|
@@ -55,7 +55,7 @@ All plot elements (`axes`, `fig`, `plt`) are accessible via the plot object and
|
|
|
55
55
|
from adopt_plot import AdoptPlot
|
|
56
56
|
plot = AdoptPlot("y = 1/x", show=False)
|
|
57
57
|
plot.ax.set_xlim(-10, 10) # Change X-axis limits
|
|
58
|
-
plot.
|
|
58
|
+
plot.save("my_plot.png", dpi=300)# Save to file
|
|
59
59
|
```
|
|
60
60
|

|
|
61
61
|
```python
|
|
@@ -68,11 +68,15 @@ plot.ax.set_title("Implicit function with radial oscillations")
|
|
|
68
68
|
plot.ax.grid(True, linestyle=':', alpha=0.5)
|
|
69
69
|
|
|
70
70
|
# Сохраняем с высоким DPI
|
|
71
|
-
plot.
|
|
71
|
+
plot.save("publication_ready.png", dpi=300, bbox_inches='tight')
|
|
72
72
|
plot.show()
|
|
73
73
|
```
|
|
74
|
-
 Сложная функция построенная через AdoptPlot
|
|
75
74
|
|
|
75
|
+
|
|
76
|
+
 (image 1)Hard function built by AdoptPlot
|
|
77
|
+
## Methods
|
|
78
|
+
- **`show`**: Show the figure
|
|
79
|
+
- **`save`**: Save the figure
|
|
76
80
|
## Parameters
|
|
77
81
|
|
|
78
82
|
When creating an `AdoptPlot` object, the following parameters are available:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# adopt-plot
|
|
2
|
-
|
|
2
|
+
### Or AdoptPlot
|
|
3
3
|
A library for plotting implicit functions using two rendering engines:
|
|
4
4
|
|
|
5
5
|
- `contour` from `matplotlib`.
|
|
@@ -28,7 +28,7 @@ Or with deferred display (to add custom elements first):
|
|
|
28
28
|
```python
|
|
29
29
|
from adopt_plot import AdoptPlot
|
|
30
30
|
|
|
31
|
-
plot = AdoptPlot("y =
|
|
31
|
+
plot = AdoptPlot("y = sqrt(x)", show=False)
|
|
32
32
|
# Add custom elements here:
|
|
33
33
|
plot.ax.scatter(2, 2, color='red')
|
|
34
34
|
plot.show()
|
|
@@ -40,7 +40,7 @@ All plot elements (`axes`, `fig`, `plt`) are accessible via the plot object and
|
|
|
40
40
|
from adopt_plot import AdoptPlot
|
|
41
41
|
plot = AdoptPlot("y = 1/x", show=False)
|
|
42
42
|
plot.ax.set_xlim(-10, 10) # Change X-axis limits
|
|
43
|
-
plot.
|
|
43
|
+
plot.save("my_plot.png", dpi=300)# Save to file
|
|
44
44
|
```
|
|
45
45
|

|
|
46
46
|
```python
|
|
@@ -53,11 +53,15 @@ plot.ax.set_title("Implicit function with radial oscillations")
|
|
|
53
53
|
plot.ax.grid(True, linestyle=':', alpha=0.5)
|
|
54
54
|
|
|
55
55
|
# Сохраняем с высоким DPI
|
|
56
|
-
plot.
|
|
56
|
+
plot.save("publication_ready.png", dpi=300, bbox_inches='tight')
|
|
57
57
|
plot.show()
|
|
58
58
|
```
|
|
59
|
-
 Сложная функция построенная через AdoptPlot
|
|
60
59
|
|
|
60
|
+
|
|
61
|
+
 (image 1)Hard function built by AdoptPlot
|
|
62
|
+
## Methods
|
|
63
|
+
- **`show`**: Show the figure
|
|
64
|
+
- **`save`**: Save the figure
|
|
61
65
|
## Parameters
|
|
62
66
|
|
|
63
67
|
When creating an `AdoptPlot` object, the following parameters are available:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adopt-plot
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Summary: A universal plotter for implicit functions using adaptive engine selection.
|
|
5
5
|
Author: VartRusData
|
|
6
6
|
License: BSD 3-Clause
|
|
@@ -14,7 +14,7 @@ Requires-Dist: numpy
|
|
|
14
14
|
Dynamic: license-file
|
|
15
15
|
|
|
16
16
|
# adopt-plot
|
|
17
|
-
|
|
17
|
+
### Or AdoptPlot
|
|
18
18
|
A library for plotting implicit functions using two rendering engines:
|
|
19
19
|
|
|
20
20
|
- `contour` from `matplotlib`.
|
|
@@ -43,7 +43,7 @@ Or with deferred display (to add custom elements first):
|
|
|
43
43
|
```python
|
|
44
44
|
from adopt_plot import AdoptPlot
|
|
45
45
|
|
|
46
|
-
plot = AdoptPlot("y =
|
|
46
|
+
plot = AdoptPlot("y = sqrt(x)", show=False)
|
|
47
47
|
# Add custom elements here:
|
|
48
48
|
plot.ax.scatter(2, 2, color='red')
|
|
49
49
|
plot.show()
|
|
@@ -55,7 +55,7 @@ All plot elements (`axes`, `fig`, `plt`) are accessible via the plot object and
|
|
|
55
55
|
from adopt_plot import AdoptPlot
|
|
56
56
|
plot = AdoptPlot("y = 1/x", show=False)
|
|
57
57
|
plot.ax.set_xlim(-10, 10) # Change X-axis limits
|
|
58
|
-
plot.
|
|
58
|
+
plot.save("my_plot.png", dpi=300)# Save to file
|
|
59
59
|
```
|
|
60
60
|

|
|
61
61
|
```python
|
|
@@ -68,11 +68,15 @@ plot.ax.set_title("Implicit function with radial oscillations")
|
|
|
68
68
|
plot.ax.grid(True, linestyle=':', alpha=0.5)
|
|
69
69
|
|
|
70
70
|
# Сохраняем с высоким DPI
|
|
71
|
-
plot.
|
|
71
|
+
plot.save("publication_ready.png", dpi=300, bbox_inches='tight')
|
|
72
72
|
plot.show()
|
|
73
73
|
```
|
|
74
|
-
 Сложная функция построенная через AdoptPlot
|
|
75
74
|
|
|
75
|
+
|
|
76
|
+
 (image 1)Hard function built by AdoptPlot
|
|
77
|
+
## Methods
|
|
78
|
+
- **`show`**: Show the figure
|
|
79
|
+
- **`save`**: Save the figure
|
|
76
80
|
## Parameters
|
|
77
81
|
|
|
78
82
|
When creating an `AdoptPlot` object, the following parameters are available:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|