Mcplot

Latest version: v2.1

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

Scan your dependencies

Page 1 of 4

2.1

- Add font option.
- Add Stuart Semple's Freetone colors.
- Changed build and coverage status to main branch.
- Slight amendments to documentation.

2.0

- Tighter layout in `show_colors` and tight bounding box for
non-pdf output of `show_colors` and `show_cmaps`.
- Use class variables in test plot of `mcPlot`.
- Pass italic and bold along to `str2tex` in `text2plot`.
- Put $...$ around a, b, c only if mathrm=True in `abc2plot`.
- Use backslash with braces only if `usetex` not if only pdf
output in `abc2plot`. * Removed trailing > in html output.
- Add sron named colors.
- Add pale and dark colors to sron_colors.
- Use helper functions for all colors and colormaps.
- Order Matplotlib colormaps into categories.
- Use named colors from `matplotlib.colors` rather than
`plt.cm.colors`.
- Add `color_palette` = `get_cmap` to have a very similar function
as seaborn.
- Add alias `get_palette` = `get_cmap`, `print_palettes` =
`print_cmaps`, `show_palettes` = `show_cmaps` to have both
notations, `Matplotlib` and `seaborn`, respectively.
- Added `show_colors` to plot known named colors.
- Directly use color dictionaries in `get_cmap`, `get_color`,
`print_colors`, and `print_palettes`.
- Print named colors using predefined dictionaries.
- Rename `print_layout_options` to `print_class_variables`,
using `self.__dict__` to access all variables.
- Remove `desc`, `argstr`, and `parents` keyword arguments from
`get_command_line_arguments` to not interfere with possible
child method.
- If nor `desc` nor `argstr` given, the command line will be
bypassed in order to use the class `mcPlot` without the command
line from within Python.
- Use 10/12 instead of 4/5 to reduce figsize on screen windows.
- Also `-o` and `--output` for `-p output_plot_filename` possible.
- Prefix IPCC colors with ipcc:.
- Use : instead of _ in colormap names.
- Start Brewer colors after Matplotlib colors at new page in
`show_palettes`.
- Renamed file `mcplot.py` to `class_mcplot.py`.
- Change class variables `lwidth` to `lw`, `alwidth` to `alw`,
`elwidth` to `elw`, `msize` to `ms`, `mwidth` to `mew` in
`mcPlot`.
- Added `loc` and set `xbbox` and `ybbox` in `mcPlot` so that
legend is in upper right corner.
- Change `llxbbox` to `xbbox`, `llybbox` to `ybbox`, `llrspace` to
`labelspacing`, `llcspace` to names of Matplotlib's `Axes.legend`.
- Reorder `ldashes` from little to more dots between dashes.
- Set `dxabc` and `dyabc` to upper left corner of plot in
`mcPlot`.
- Use same left, right, bottom, top as GridSpec of Matplotlib in
`mcPlot`.

1.0

- First standalone release of ``mplot``, extracting all plotting
routines from ``pyjams``.
- Rudimentary documentation with README.rst.

0.18

- Argument 'parents' to `mcPlot` to pass extra command line
arguments.
- Added upper keyword in `abc2plot`.
- Use DejaVuSans and DejaVueSerif as standard fonts if not LaTeX
in `mcPlot`.
- Add `mcPlot` method `print_layout_options`.
- Added IPCC WG1 colors.
- Set default options for `mcPlot` if not given on command line.

0.17

- Set filename without suffix as default plot name in `mcPlot`.
- Allow ncol=1 in `color.get_cmap`.

0.16

- Replace plotly with hvplot in `mcPlot`.
- Add unicode symbol degree \u00B0, which gets replaced by ^\circ
if usetex==True in str2tex.
- Do not escape % if not usetex in str2tex.

Page 1 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.