Changelog¶
All notable changes to this project will be documented in this file. The format is inspired by Keep a Changelog, and Element and this project adheres to Semantic Versioning.
Unreleased¶
0.11.0 - 2024-05-30¶
API changes warning β οΈ:¶
- The cmap
pastel_autunm
was renamed topastel_autumn
- Use
latex
font only if available
Added Features and Improvements π:¶
- Added tox setup with pytests against mpl 3.2-3.8 and py 3.8-3.12
- Added
pplt.show()
to get consistent sizing withpplt.savefig
Other changes:¶
- Move to new git repository: Welcome to Githubπ
- Removed deprecated function
setup_pyplot
, useuse_style
- Added option
reference_ax
parameter to specify axes inpplt.savefig
0.10.1 - 2023-11-27¶
Bugfix π:¶
- Fixed bug when using
style='minimal'
that lead to altering custom ticks, see #1
0.10.0 - 2023-03-09¶
API changes warning β οΈ:¶
- Renamed submodule
plot
topyplot
to avoid shadowing with functionpplt.plot
- Method
pplt.activate_axis
needs to be called viapplt.pyplot.activate_axis
Added Features and Improvements π:¶
- Moved from pdoc to an all new
mkdocs
documentation π
Bugfix π:¶
- Fixed bug with
label_outer
with mpl >= 3.7 - Fixed bug due deprecation in mpl>=3.6, where the kwarg
b
inax.grid
was renamed tovisibile
Other changes:¶
- Some submodules, used to add additional pages in pdoc, were removed
- Remove deprecated usage of
mpl.cm.get_cmaps
andmpl.cm.register_cmap
0.9.0 - 2022-04-28¶
API changes warning β οΈ:¶
- define
pip install prettypyplot[testing/docs/all]
to bundle installation - The methods
pplt.tools.parse_figsize
andpplt.tools.parse_figaratio
are moved topplt.style._parse_figsize
andpplt.style._parse_figratio
, respectively
Added Features and Improvements π:¶
- Store all variables of
pplt.use_style
. This enables callingpplt.update_style
without repeating all arguments remaining the same. - Moved from
flat
to recommendedsrc
layout and moved tests fromtest
totests
Bugfix π:¶
- Fix coverage CI
- Fix identifying continuos cmaps in
pplt.use_style(colors=...)
, e.g.,turbo
,viridis
. - Fix calling
pplt.update_style
without specifyingfigratio
and/orfigsize
- Fix including
LICENSE
file in pypi package and exclude tests, this allows publishing to conda-forge
Other changes:¶
- Increase
decorit>=0.2.0
to remove annoying PEP warnings
0.8.0 - 2022-04-03¶
API changes warning β οΈ:¶
- gray colors can not be accessed anymore via
default_grays['dark']
but instead viadefault_grays.dark
Added Features and Improvements π:¶
- Added cmap
summertimes
- Scales markers and boxplots according to mode
- Added testing of plotting functionality pytest-mpl
MODE
andSTYLE
are now ofEnum
class- Major code improvements, see commits
Bugfix π:¶
- Fix treating images (
imshow
) as none empty images - Fix handling non subplot axes correctly by
pplt.hide_empty_axes
- Fix to activate minor and major grid for
mpl >= 3.3
by callingpplt.grid()
- Fix CI building docs
- Fix using wrong style/mode in
plot
submodule
0.7.1 - 2021-02-18¶
- Fix uploading wrong package to PyPi
0.7.0 - 2021-02-17¶
Added Features and Improvements π:¶
- Added tests for basic functions (no figure comparisons)
- Major code clean up and refactoring
Bugfix π:¶
- Fix restoring labels of outer axes when applying
pplt.hide_empty_axes
0.6.0 - 2021-01-14¶
Added Features and Improvements π:¶
- Add
pplt.subplot_labels
for adding shared labels for grid subplots - Add pplt colors
pplt:lightgray
andpplt:gray
- Added new gallery figure of subplots
0.5.0 - 2020-10-19¶
Added Features and Improvements π:¶
- new refreshing colormap
paula
- Add
pplt.label_outer
which respects empty axes - Add
pplt.hide_empty_axes
for hiding empty axes
Bugfix π:¶
- Make cmaps compatible with
maptlitlib 3.5+
Other changes:¶
- Enforce wemake-python-styleguide (WIP)
- Upgrade doc to
pdoc 0.9
and automatize it
0.4.2 - 2020-07-06¶
Added Features and Improvements π:¶
- Add option
sf
to activate sans-serif font withpplt.use_style
- simplify usage of contour option
Other changes:¶
- some code clean up
- skipped version due to error
0.4.0 - 2020-04-21¶
Added Features and Improvements π:¶
- Added Decorators
- Added 3 new discrete color options
'pastel_rainbow'
,'pastel_spring'
,'pastel_autumn'
- Refactor style settings. Added
pplt.update_style
and renamedpplt.setup_pyplot
topplt.use_style
- Add text module with
pplt.text
,pplt.figtext
andpplt.add_contour
. With centered text and contour parameter
Bugfix π:¶
- Minor bug fixes
Other changes:¶
- Updated pydoc to 0.8.1
- Updated documentation and readme
0.3.0 - 2020-10-30¶
Added Features and Improvements π:¶
- Colors of
pastel5
, axes, grid and text are now accessible directly
Bugfix π:¶
Other changes:¶
- Increase simplification threshold to reduce figure size
- Minor changes
0.2.3 - 2020-02-04¶
- Include mplstyle
0.2.2 - 2020-01-31¶
- Fix PyPi setup
0.2.1 - 2020-01-31¶
Added Features and Improvements π:¶
- added gallery
- added docs
Bugfix π:¶
- many small bugfixes
Other changes:¶
- refactored all submodules