From c22cd05986e262eea10195eda1b5aec9faef228a Mon Sep 17 00:00:00 2001 From: liuyxpp Date: Wed, 22 Jul 2020 21:08:18 +0800 Subject: [PATCH] Version bumps to 0.7. --- .gitignore | 1 + CHANGELOG.rst | 8 ++++++++ README.rst | 6 ++++-- mpltex/_version.py | 2 +- setup.py | 3 ++- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ac8d093..e6e57f6 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ tests/*.eps tutorial/*.png tutorial/*.pdf tutorial/*.eps +.vscode diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2d94c58..a3c6d14 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,14 @@ mpltex Changelog Here you can see the full list of changes between each ``mpltex`` release. +Version 0.7 +----------- + +* Fix a warning of text.latex.preamble. +* Now should be fully compatible with Python 3 and Should also work with Python 2. +* Revert some default format to MPL v1 for higher MPL versions. +* Released at July 22nd, 2020. + Version 0.6.1 ------------- diff --git a/README.rst b/README.rst index 6f6b427..2b3ad65 100644 --- a/README.rst +++ b/README.rst @@ -1,16 +1,18 @@ mpltex ====== -``mpltex`` is a python package for producing publication quality images using ``matplotlib``. -Inspired by `Olga Botvinnik `_'s python package `prettyplotlib `_. +``mpltex`` is a python package for producing publication quality images using ``matplotlib``, which is inspired by `Olga Botvinnik `_'s python package `prettyplotlib `_. Tutorial can be found `here `_. The internal ``matplotlib`` color cycle is replaced by Tableau classic 10 color scheme which looks less saturated and more pleasing to eyes. +The colors of this scheme is reordered, which is different from current version of ``matplotlib`` v3. Other available color schemes for multi-line plots are ColorBrewer Set 1 and Tableau classic 20. For more information on these color schemes, see `documentation of palettable `_. ``mpltex`` also provide a way to generate highly configurable line styles with colors, line types, and line markers. Hollow markers are supported. +``mpltex`` should work properly both in Python 2 and 3. If not, please file an issue `here `_. + Quickstart ---------- diff --git a/mpltex/_version.py b/mpltex/_version.py index fe38962..312e94b 100644 --- a/mpltex/_version.py +++ b/mpltex/_version.py @@ -6,4 +6,4 @@ Version info for ``mpltex`` package. """ -__version__ = "0.6.1" +__version__ = "0.7" diff --git a/setup.py b/setup.py index 11ff9c3..fa42a8c 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,8 @@ 'Intended Audience :: Education', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', - 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 3', 'Topic :: Scientific/Engineering', 'Topic :: Education', ], )