PyBarePlot 0.0.1__tar.gz → 0.0.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.
- {pybareplot-0.0.1 → pybareplot-0.0.2}/PKG-INFO +9 -9
- {pybareplot-0.0.1 → pybareplot-0.0.2}/PyBarePlot.egg-info/PKG-INFO +9 -9
- {pybareplot-0.0.1 → pybareplot-0.0.2}/PyBarePlot.py +5 -5
- {pybareplot-0.0.1 → pybareplot-0.0.2}/README.md +8 -8
- {pybareplot-0.0.1 → pybareplot-0.0.2}/pyproject.toml +1 -1
- {pybareplot-0.0.1 → pybareplot-0.0.2}/setup.cfg +1 -1
- {pybareplot-0.0.1 → pybareplot-0.0.2}/LICENSE.txt +0 -0
- {pybareplot-0.0.1 → pybareplot-0.0.2}/MANIFEST.in +0 -0
- {pybareplot-0.0.1 → pybareplot-0.0.2}/PyBarePlot.egg-info/SOURCES.txt +0 -0
- {pybareplot-0.0.1 → pybareplot-0.0.2}/PyBarePlot.egg-info/dependency_links.txt +0 -0
- {pybareplot-0.0.1 → pybareplot-0.0.2}/PyBarePlot.egg-info/entry_points.txt +0 -0
- {pybareplot-0.0.1 → pybareplot-0.0.2}/PyBarePlot.egg-info/top_level.txt +0 -0
- {pybareplot-0.0.1 → pybareplot-0.0.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyBarePlot
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: SVG chart generator CLI and Python module for creating visual charts with support for styling, legends, gradients, and layout customization.
|
|
5
5
|
Home-page: https://github.com/mauricelambert/PyBarePlot
|
|
6
6
|
Download-URL: https://mauricelambert.github.io/info/python/code/PyBarePlot.pyz
|
|
@@ -229,9 +229,9 @@ chart.plot_radar([big, sme, public], fill_opacity=0.2)
|
|
|
229
229
|
chart.draw_legend([big, sme, public])
|
|
230
230
|
chart.save("examples/radar.svg")
|
|
231
231
|
|
|
232
|
-
phishing = Graph([DataPoint(v, name=n) for v, n in zip([36, 30, 16, 16], [
|
|
233
|
-
creds = Graph([DataPoint(v, name=n) for v, n in zip([25, 22, 13, 13], [
|
|
234
|
-
vuln = Graph([DataPoint(v, name=n) for v, n in zip([16, 20, 20, 31], [
|
|
232
|
+
phishing = Graph([DataPoint(v, name=n) for v, n in zip([36, 30, 16, 16], [2023, 2024, 2025, 2026])], name="Phishing", default_color="#ff6384")
|
|
233
|
+
creds = Graph([DataPoint(v, name=n) for v, n in zip([25, 22, 13, 13], [2023, 2024, 2025, 2026])], name="Credentials", default_color="#36a2eb")
|
|
234
|
+
vuln = Graph([DataPoint(v, name=n) for v, n in zip([16, 20, 20, 31], [2023, 2024, 2025, 2026])], name="Vulns", default_color="#ff9f40")
|
|
235
235
|
chart = SVGChart(900, 450, margin_top=20, margin_bottom=30, theme="dark")
|
|
236
236
|
chart.plot_lines([phishing, creds, vuln])
|
|
237
237
|
chart.draw_legend([phishing, creds, vuln])
|
|
@@ -256,23 +256,23 @@ chart.save("examples/horizontal-bars.svg")
|
|
|
256
256
|
|
|
257
257
|
### Pie chart
|
|
258
258
|
|
|
259
|
-

|
|
259
|
+

|
|
260
260
|
|
|
261
261
|
### Radar chart
|
|
262
262
|
|
|
263
|
-

|
|
263
|
+

|
|
264
264
|
|
|
265
265
|
### Line chart
|
|
266
266
|
|
|
267
|
-

|
|
267
|
+

|
|
268
268
|
|
|
269
269
|
### Grouped bars
|
|
270
270
|
|
|
271
|
-

|
|
271
|
+

|
|
272
272
|
|
|
273
273
|
### Horizontal bars
|
|
274
274
|
|
|
275
|
-

|
|
275
|
+

|
|
276
276
|
|
|
277
277
|
## Links
|
|
278
278
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyBarePlot
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.2
|
|
4
4
|
Summary: SVG chart generator CLI and Python module for creating visual charts with support for styling, legends, gradients, and layout customization.
|
|
5
5
|
Home-page: https://github.com/mauricelambert/PyBarePlot
|
|
6
6
|
Download-URL: https://mauricelambert.github.io/info/python/code/PyBarePlot.pyz
|
|
@@ -229,9 +229,9 @@ chart.plot_radar([big, sme, public], fill_opacity=0.2)
|
|
|
229
229
|
chart.draw_legend([big, sme, public])
|
|
230
230
|
chart.save("examples/radar.svg")
|
|
231
231
|
|
|
232
|
-
phishing = Graph([DataPoint(v, name=n) for v, n in zip([36, 30, 16, 16], [
|
|
233
|
-
creds = Graph([DataPoint(v, name=n) for v, n in zip([25, 22, 13, 13], [
|
|
234
|
-
vuln = Graph([DataPoint(v, name=n) for v, n in zip([16, 20, 20, 31], [
|
|
232
|
+
phishing = Graph([DataPoint(v, name=n) for v, n in zip([36, 30, 16, 16], [2023, 2024, 2025, 2026])], name="Phishing", default_color="#ff6384")
|
|
233
|
+
creds = Graph([DataPoint(v, name=n) for v, n in zip([25, 22, 13, 13], [2023, 2024, 2025, 2026])], name="Credentials", default_color="#36a2eb")
|
|
234
|
+
vuln = Graph([DataPoint(v, name=n) for v, n in zip([16, 20, 20, 31], [2023, 2024, 2025, 2026])], name="Vulns", default_color="#ff9f40")
|
|
235
235
|
chart = SVGChart(900, 450, margin_top=20, margin_bottom=30, theme="dark")
|
|
236
236
|
chart.plot_lines([phishing, creds, vuln])
|
|
237
237
|
chart.draw_legend([phishing, creds, vuln])
|
|
@@ -256,23 +256,23 @@ chart.save("examples/horizontal-bars.svg")
|
|
|
256
256
|
|
|
257
257
|
### Pie chart
|
|
258
258
|
|
|
259
|
-

|
|
259
|
+

|
|
260
260
|
|
|
261
261
|
### Radar chart
|
|
262
262
|
|
|
263
|
-

|
|
263
|
+

|
|
264
264
|
|
|
265
265
|
### Line chart
|
|
266
266
|
|
|
267
|
-

|
|
267
|
+

|
|
268
268
|
|
|
269
269
|
### Grouped bars
|
|
270
270
|
|
|
271
|
-

|
|
271
|
+

|
|
272
272
|
|
|
273
273
|
### Horizontal bars
|
|
274
274
|
|
|
275
|
-

|
|
275
|
+

|
|
276
276
|
|
|
277
277
|
## Links
|
|
278
278
|
|
|
@@ -27,7 +27,7 @@ with support for styling, legends, gradients, and layout
|
|
|
27
27
|
customization.
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
|
-
__version__ = "0.0.
|
|
30
|
+
__version__ = "0.0.2"
|
|
31
31
|
__author__ = "Maurice Lambert"
|
|
32
32
|
__author_email__ = "mauricelambert434@gmail.com"
|
|
33
33
|
__maintainer__ = "Maurice Lambert"
|
|
@@ -3110,6 +3110,10 @@ def _apply_background_decorations(
|
|
|
3110
3110
|
for g in graphs:
|
|
3111
3111
|
g.apply_color_steps([(float(min_v), float(max_v), color)])
|
|
3112
3112
|
|
|
3113
|
+
if args.show_points:
|
|
3114
|
+
for graph in graphs:
|
|
3115
|
+
graph.show_points = True
|
|
3116
|
+
|
|
3113
3117
|
|
|
3114
3118
|
def _apply_foreground_decorations(
|
|
3115
3119
|
chart: SVGChart, args: Namespace, graphs: List[Graph]
|
|
@@ -3125,10 +3129,6 @@ def _apply_foreground_decorations(
|
|
|
3125
3129
|
else:
|
|
3126
3130
|
chart.draw_legend(graphs)
|
|
3127
3131
|
|
|
3128
|
-
if args.show_points:
|
|
3129
|
-
for graph in graphs:
|
|
3130
|
-
graph.show_points = True
|
|
3131
|
-
|
|
3132
3132
|
|
|
3133
3133
|
def _validate_args(args: Namespace, graphs: List[Graph]) -> None:
|
|
3134
3134
|
"""
|
|
@@ -182,9 +182,9 @@ chart.plot_radar([big, sme, public], fill_opacity=0.2)
|
|
|
182
182
|
chart.draw_legend([big, sme, public])
|
|
183
183
|
chart.save("examples/radar.svg")
|
|
184
184
|
|
|
185
|
-
phishing = Graph([DataPoint(v, name=n) for v, n in zip([36, 30, 16, 16], [
|
|
186
|
-
creds = Graph([DataPoint(v, name=n) for v, n in zip([25, 22, 13, 13], [
|
|
187
|
-
vuln = Graph([DataPoint(v, name=n) for v, n in zip([16, 20, 20, 31], [
|
|
185
|
+
phishing = Graph([DataPoint(v, name=n) for v, n in zip([36, 30, 16, 16], [2023, 2024, 2025, 2026])], name="Phishing", default_color="#ff6384")
|
|
186
|
+
creds = Graph([DataPoint(v, name=n) for v, n in zip([25, 22, 13, 13], [2023, 2024, 2025, 2026])], name="Credentials", default_color="#36a2eb")
|
|
187
|
+
vuln = Graph([DataPoint(v, name=n) for v, n in zip([16, 20, 20, 31], [2023, 2024, 2025, 2026])], name="Vulns", default_color="#ff9f40")
|
|
188
188
|
chart = SVGChart(900, 450, margin_top=20, margin_bottom=30, theme="dark")
|
|
189
189
|
chart.plot_lines([phishing, creds, vuln])
|
|
190
190
|
chart.draw_legend([phishing, creds, vuln])
|
|
@@ -209,23 +209,23 @@ chart.save("examples/horizontal-bars.svg")
|
|
|
209
209
|
|
|
210
210
|
### Pie chart
|
|
211
211
|
|
|
212
|
-

|
|
212
|
+

|
|
213
213
|
|
|
214
214
|
### Radar chart
|
|
215
215
|
|
|
216
|
-

|
|
216
|
+

|
|
217
217
|
|
|
218
218
|
### Line chart
|
|
219
219
|
|
|
220
|
-

|
|
220
|
+

|
|
221
221
|
|
|
222
222
|
### Grouped bars
|
|
223
223
|
|
|
224
|
-

|
|
224
|
+

|
|
225
225
|
|
|
226
226
|
### Horizontal bars
|
|
227
227
|
|
|
228
|
-

|
|
228
|
+

|
|
229
229
|
|
|
230
230
|
## Links
|
|
231
231
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|