Skip to content

Releases: garrettj403/SciencePlots

2.2.0

20 Nov 01:43
4e1c283

Choose a tag to compare

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 names discrete-rainbow-1, discrete-rainbow-2, ..., discrete-rainbow-23
  • Update README.md to reflect that Install from conda-forge is 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)
    1. : and ! are now interpreted as text by default, not as control characters.
    2. Assume UTF-8 encoding by default.
    3. Enhance compatibility, especially with T1 font encoding, by using the package lmodern.
  • Now all subdirectories of the styles folder are parsed for styles, instead of just the first two levels.
  • Upgrade & unify issue templates.

New Contributors

Full Changelog: 2.1.1...2.2.0

2.1.1

25 Nov 19:12

Choose a tag to compare

  • Avoid Matplotlib issuing INFO log statements about no available fonts due to previous release changes.
  • Add science + no-latex example

2.1.0

30 May 14:03

Choose a tag to compare

  • Change science and ieee to use Times New Roman look-alike fonts
  • Tweak plot-examples.py and clean PDF output

SciencePlots (v2.0.1)

03 Dec 19:21

Choose a tag to compare

  • Add Turkish turkish-font language style

SciencePlots (v2.0.0)

21 Nov 09:58

Choose a tag to compare

  • Fix import on case sensitive OSs
  • Finally bump to this major version, following breaking change
    • Remember, now import scienceplots is needed on top of your scripts!

SciencePlots (v1.1.0)

07 Nov 01:31

Choose a tag to compare

SciencePlots (v1.1.0) Pre-release
Pre-release
  • Major change in distribution system
    • Now needs import directive import scienceplots
  • Fix not using raw string in plot-example.py
  • Update README

SciencePlots (v1.0.9)

16 Sep 19:57

Choose a tag to compare

  • notebook:
    • make Latex fonts sans-serif
  • Fix bug with Latex packages:
    • e.g., \usepackage{amsmath, amssymb, sfmath} --> \usepackage{amsmath} \usepackage{amssymb} \usepackage{sfmath}
  • Add pyproject.toml file (see PEP 517/518)
  • Minor updates to README, including adding more papers to publication list

SciencePlots (v1.0.8)

02 Jun 13:04

Choose a tag to compare

  • 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 amssymb to LaTeX preamble
  • grid:
    • Set axes.axisbelow to True
  • Minor updates to README

SciencePlots (v1.0.7)

28 Feb 21:20

Choose a tag to compare

  • Add support for CJK fonts:
    • see README for details
  • Add example of CJK fonts:
    • see Fig 14a, Fig 14b, Fig 14c, Fig 14d
  • science style:
    • use default serif font
  • ieee style:
    • use Times font
  • grid style:
    • 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)

19 Oct 14:49

Choose a tag to compare

  • 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