Releases: garrettj403/SciencePlots
Releases · garrettj403/SciencePlots
2.2.0
New features
- 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 namesdiscrete-rainbow-1,discrete-rainbow-2, ...,discrete-rainbow-23 - Update
README.mdto reflect that Install fromconda-forgeis now available!
Maintenance
- 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.
New Contributors
- @jobayer made their first contribution in #109
- @IchBinGROOT made their first contribution in #121
Full Changelog: 2.1.1...2.2.0
2.1.1
- Avoid Matplotlib issuing
INFOlog statements about no available fonts due to previous release changes. - Add
science+no-latexexample
2.1.0
- Change
scienceandieeeto use Times New Roman look-alike fonts - Tweak
plot-examples.pyand clean PDF output
SciencePlots (v2.0.1)
- Add Turkish
turkish-fontlanguage style
SciencePlots (v2.0.0)
- Fix import on case sensitive OSs
- Finally bump to this major version, following breaking change
- Remember, now
import scienceplotsis needed on top of your scripts!
- Remember, now
SciencePlots (v1.1.0)
- 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
SciencePlots (v1.0.9)
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
SciencePlots (v1.0.8)
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
SciencePlots (v1.0.7)
- 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
SciencePlots (v1.0.6)
- 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