Mpl-ascii

Latest version: v0.10.0

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.5.0

Added

- Added support for python 3.7+

0.4.0

Added

- Added support for errorbars and line markers on line plots.

0.3.0

Added

- You can now enable/disable colors to the ascii plots by setting the global variable `mpl_ascii.ENABLE_COLOR`. It is set to `True` by default.

0.2.0

Added

- The width and height of each axes can be set using `mpl_ascii.AXES_WIDTH` and `mpl_ascii.AXES_HEIGHT`. It defaults to 150 characters in width and 40 characters in height.

0.1.0

Added

When using the `mpl_ascii` backend then `plt.show()` will print the plot as a string consisting of basic ASCII characters. This is supported for:

- Bar charts
- Horizontal bar charts
- Line plots
- Scatter plots

You can also save figures as a text file. You can do this by using the savefig `figure.savefig("my_figure.txt")` and this will save the ASCII plot as a txt file.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.