-
Notifications
You must be signed in to change notification settings - Fork 711
Getting Started
Echedey Luis edited this page Feb 8, 2024
·
5 revisions
The easiest way to install SciencePlots is by using pip
:
# to install the lastest release (from PyPI)
pip install SciencePlots
# to install the lastest release (using Conda)
conda install -c conda-forge scienceplots
# to install the latest commit (from GitHub)
pip install git+https://github.com/garrettj403/SciencePlots
# to clone and then install from a local copy
git clone https://github.com/garrettj403/SciencePlots.git
cd SciencePlots
pip install -e .
Import the package with import scienceplots
and Matplotlib will be able to find specified styles.
Notes:
- SciencePlots requires Latex (see Latex installation instructions).
-
If you would like to use CJK fonts, you will need to install these font separately (see CJK font installation instructions).Deprecated. See issue#84
Please see the FAQ section for more information and troubleshooting.
SciencePlots
: Matplotlib styles for scientific figures