- Mitigate packaging issue where styles are not included in local bdist when
.gitfolder is not present. Affected users exclusively are those building the wheel by themselves from a version repo source file, e.g., via AUR. See issue 151: #151
- Fix
['science', 'no-latex']font does not work with symbols (e.g. degree symbol) This style set was found to be incompatible with Cartopy. - Add all 23 "discrete rainbow" styles proposed by Paul Tol on his website (by @IchBinGROOT)
Access them with the style names
discrete-rainbow-1,discrete-rainbow-2, ...,discrete-rainbow-23 - Update
README.mdto reflect that Install fromconda-forgeis now available!
- Update Paul Tol's webpage link to https://sronpersonalpages.nl/~pault/ in relevant comments through the project.
- Improve
turkish-font.mplstyle(may add some breaking changes):and!are now interpreted as text by default, not as control characters.- Assume UTF-8 encoding by default.
- Enhance compatibility, especially with T1 font encoding, by using the package
lmodern.
- Now all subdirectories of the
stylesfolder are parsed for styles, instead of just the first two levels. - Upgrade & unify issue templates.
- Avoid Matplotlib issuing
INFOlog statements about no available fonts due to last release changes. - Add
science+no-latexexample
- Change
scienceandieeeto use Times New Roman look-alike fonts - Tweak
plot-examples.pyand clean PDF output
- Add Turkish
turkish-fontlanguage style
- Fix import on case sensitive OSs
- Finally bump to this version, following breaking change of distribution
- Major change in distribution system
- Now needs import directive
import scienceplots
- Now needs import directive
- Fix not using raw string in
plot-example.py - Update README
notebook:- make Latex fonts sans-serif
- Fix bug with Latex packages:
- e.g.,
\usepackage{amsmath, amssymb, sfmath}-->\usepackage{amsmath} \usepackage{amssymb} \usepackage{sfmath}
- e.g.,
- Add
pyproject.tomlfile (see PEP 517/518) - Minor updates to README, including adding more papers to publication list
nature:- Added style for Nature articles
- Uses sans-serif fonts
latex-sans:- Added style for using LaTeX with sans-serif fonts
std-colors:- Added style to recover the standard color cycle of the SciencePlots package
- For example, if you use
plt.style.use(["science", "ieeee"]). The figure will use the"ieee"color cycle. To revert to the standard color cycle, you can useplt.style.use(["science", "ieee", "std-colors"])``.
science:- Added
amssymbto LaTeX preamble
- Added
grid:- Set
axes.axisbelowto True
- Set
- Minor updates to README
- Add support for CJK fonts:
- see README for details
- Add example of CJK fonts:
- see Fig 14a, Fig 14b, Fig 14c, Fig 14d
sciencestyle:- use default serif font
ieeestyle:- use Times font
gridstyle:- change line style to '--'
- README:
- add badge for Zenodo reference
- add info on citing SciencePlots
- add info on using Times New Roman
- add more papers using SciencePlots
- The main reason for this release is to trigger Zenodo:
- I've added SciencePlots to Zenodo (an archiving service).
- It only archives after new releases, so I will make a trivial version bump.
- Trivial changes to README:
- Added installation info for Google Colab, Jupyter Notebooks, etc.
- Added PyPI badge
- Added more papers to list
- New color blind safe color cycles (
high-contrast.mplstyle,light.mplstyle). Taken from Paul Tol's website. - Fixed color order in
muted.mplstyle,vibrant.mplstyle, andbright.mplstyle.
- New style:
grid- this will add grid lines
sciencestyle:- use a serif font with mathtex
- README:
- Add example of the
notebookstyle - Add FAQ
- Update publications
- Other misc changes...
- Add example of the