acadplot 0.1.0__tar.gz → 0.1.2__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.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: acadplot
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: A simple plotting tool using matplotlib for generating plots and subplots for research papers.
5
5
  Author: Sudip Bhujel
6
6
  Author-email: Sudip Bhujel <code@sudipbhujel.com.np>
7
7
  License-Expression: MIT
8
8
  License-File: LICENSE
9
9
  Requires-Dist: matplotlib>=3.10.8
10
- Requires-Python: >=3.14
10
+ Requires-Python: >=3.12
11
11
  Description-Content-Type: text/markdown
12
12
 
13
13
  # AcadPlot
@@ -28,35 +28,35 @@ The committed examples use LaTeX Inconsolata; regeneration requires a TeX instal
28
28
 
29
29
  ### Core Figures
30
30
 
31
- <img src="examples/plot.png" width="400">
31
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/plot.png" width="400">
32
32
 
33
- <img src="examples/subplot.png" width="500">
33
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/subplot.png" width="500">
34
34
 
35
- <img src="examples/top_legend_plot.png" width="400">
35
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/top_legend_plot.png" width="400">
36
36
 
37
- <img src="examples/text_color_styles.png" width="500">
37
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/text_color_styles.png" width="500">
38
38
 
39
39
  ### Bar Figures
40
40
 
41
- <img src="examples/bar_plot.png" width="400">
41
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/bar_plot.png" width="400">
42
42
 
43
- <img src="examples/grouped_bar_plot.png" width="500">
43
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/grouped_bar_plot.png" width="500">
44
44
 
45
- <img src="examples/stacked_bar_plot.png" width="400">
45
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/stacked_bar_plot.png" width="400">
46
46
 
47
- <img src="examples/pattern_bar_plot.png" width="400">
47
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/pattern_bar_plot.png" width="400">
48
48
 
49
49
  ### Additional Academic Figures
50
50
 
51
- <img src="examples/scatter_plot.png" width="400">
51
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/scatter_plot.png" width="400">
52
52
 
53
- <img src="examples/errorbar_plot.png" width="400">
53
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/errorbar_plot.png" width="400">
54
54
 
55
- <img src="examples/box_plot.png" width="400">
55
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/box_plot.png" width="400">
56
56
 
57
- <img src="examples/heatmap.png" width="400">
57
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/heatmap.png" width="400">
58
58
 
59
- <img src="examples/utility_panel.png" width="500">
59
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/utility_panel.png" width="500">
60
60
 
61
61
  ### Style Coverage
62
62
 
@@ -70,11 +70,11 @@ The examples cover all built-in themes and layout profiles:
70
70
  - `mono` with `paper-1col`: stacked bar plot
71
71
  - `warm` with `presentation`: presentation-scale line plot
72
72
 
73
- <img src="examples/presentation_style.png" width="500">
73
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/presentation_style.png" width="500">
74
74
 
75
- <img src="examples/monospace_style.png" width="400">
75
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/monospace_style.png" width="400">
76
76
 
77
- <img src="examples/style_gallery.png" width="500">
77
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/style_gallery.png" width="500">
78
78
 
79
79
 
80
80
  ## Features
@@ -91,16 +91,16 @@ The examples cover all built-in themes and layout profiles:
91
91
 
92
92
  ## Installation
93
93
 
94
- ### From GitHub
94
+ Install from PyPI with `uv`:
95
95
 
96
96
  ```bash
97
- pip install git+https://github.com/sudip-bhujel/acadplot.git
97
+ uv add acadplot
98
98
  ```
99
99
 
100
- or with `uv`:
100
+ Or with `pip`:
101
101
 
102
102
  ```bash
103
- uv add git+https://github.com/sudip-bhujel/acadplot.git
103
+ pip install acadplot
104
104
  ```
105
105
 
106
106
  ### Local Installation (Development)
@@ -115,7 +115,7 @@ pip install -e .
115
115
 
116
116
  ## Requirements
117
117
 
118
- - Python >= 3.14
118
+ - Python >= 3.12
119
119
  - matplotlib >= 3.10.8
120
120
 
121
121
  ## Usage
@@ -16,35 +16,35 @@ The committed examples use LaTeX Inconsolata; regeneration requires a TeX instal
16
16
 
17
17
  ### Core Figures
18
18
 
19
- <img src="examples/plot.png" width="400">
19
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/plot.png" width="400">
20
20
 
21
- <img src="examples/subplot.png" width="500">
21
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/subplot.png" width="500">
22
22
 
23
- <img src="examples/top_legend_plot.png" width="400">
23
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/top_legend_plot.png" width="400">
24
24
 
25
- <img src="examples/text_color_styles.png" width="500">
25
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/text_color_styles.png" width="500">
26
26
 
27
27
  ### Bar Figures
28
28
 
29
- <img src="examples/bar_plot.png" width="400">
29
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/bar_plot.png" width="400">
30
30
 
31
- <img src="examples/grouped_bar_plot.png" width="500">
31
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/grouped_bar_plot.png" width="500">
32
32
 
33
- <img src="examples/stacked_bar_plot.png" width="400">
33
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/stacked_bar_plot.png" width="400">
34
34
 
35
- <img src="examples/pattern_bar_plot.png" width="400">
35
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/pattern_bar_plot.png" width="400">
36
36
 
37
37
  ### Additional Academic Figures
38
38
 
39
- <img src="examples/scatter_plot.png" width="400">
39
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/scatter_plot.png" width="400">
40
40
 
41
- <img src="examples/errorbar_plot.png" width="400">
41
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/errorbar_plot.png" width="400">
42
42
 
43
- <img src="examples/box_plot.png" width="400">
43
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/box_plot.png" width="400">
44
44
 
45
- <img src="examples/heatmap.png" width="400">
45
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/heatmap.png" width="400">
46
46
 
47
- <img src="examples/utility_panel.png" width="500">
47
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/utility_panel.png" width="500">
48
48
 
49
49
  ### Style Coverage
50
50
 
@@ -58,11 +58,11 @@ The examples cover all built-in themes and layout profiles:
58
58
  - `mono` with `paper-1col`: stacked bar plot
59
59
  - `warm` with `presentation`: presentation-scale line plot
60
60
 
61
- <img src="examples/presentation_style.png" width="500">
61
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/presentation_style.png" width="500">
62
62
 
63
- <img src="examples/monospace_style.png" width="400">
63
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/monospace_style.png" width="400">
64
64
 
65
- <img src="examples/style_gallery.png" width="500">
65
+ <img src="https://raw.githubusercontent.com/sudip-bhujel/acadplot/main/examples/style_gallery.png" width="500">
66
66
 
67
67
 
68
68
  ## Features
@@ -79,16 +79,16 @@ The examples cover all built-in themes and layout profiles:
79
79
 
80
80
  ## Installation
81
81
 
82
- ### From GitHub
82
+ Install from PyPI with `uv`:
83
83
 
84
84
  ```bash
85
- pip install git+https://github.com/sudip-bhujel/acadplot.git
85
+ uv add acadplot
86
86
  ```
87
87
 
88
- or with `uv`:
88
+ Or with `pip`:
89
89
 
90
90
  ```bash
91
- uv add git+https://github.com/sudip-bhujel/acadplot.git
91
+ pip install acadplot
92
92
  ```
93
93
 
94
94
  ### Local Installation (Development)
@@ -103,7 +103,7 @@ pip install -e .
103
103
 
104
104
  ## Requirements
105
105
 
106
- - Python >= 3.14
106
+ - Python >= 3.12
107
107
  - matplotlib >= 3.10.8
108
108
 
109
109
  ## Usage
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "acadplot"
3
- version = "0.1.0"
3
+ version = "0.1.2"
4
4
  description = "A simple plotting tool using matplotlib for generating plots and subplots for research papers."
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -8,7 +8,7 @@ license-files = ["LICENSE"]
8
8
  authors = [
9
9
  { name = "Sudip Bhujel", email = "code@sudipbhujel.com.np" }
10
10
  ]
11
- requires-python = ">=3.14"
11
+ requires-python = ">=3.12"
12
12
  dependencies = [
13
13
  "matplotlib>=3.10.8",
14
14
  ]
@@ -31,7 +31,7 @@ from .utils import (
31
31
  theme_preview,
32
32
  )
33
33
 
34
- __version__ = "0.1.0"
34
+ __version__ = "0.1.2"
35
35
  __all__ = [
36
36
  "plot_line",
37
37
  "plot_bar",
@@ -264,7 +264,7 @@ def plot_box(
264
264
 
265
265
  box = ax.boxplot(
266
266
  values,
267
- labels=labels,
267
+ tick_labels=labels,
268
268
  patch_artist=True,
269
269
  widths=0.55,
270
270
  medianprops=dict(color=str(style["axis_color"])),
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes