Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ From version `v1.1.0` on, `import scienceplots` is needed on top of your scripts

**Notes:**
- SciencePlots requires Latex ([see Latex installation instructions](https://github.com/garrettj403/SciencePlots/wiki/FAQ#installing-latex)).
- If you would like to use CJK fonts, you will need to install these font separately ([see CJK font installation instructions](https://github.com/garrettj403/SciencePlots/wiki/FAQ#installing-cjk-fonts)).
- For non-Latin scripts, prefer selecting a system-installed font directly. SciencePlots does not manage CJK font installation, and the recommended workflow is to set the fonts you want in Matplotlib yourself.

Please see the [FAQ](https://github.com/garrettj403/SciencePlots/wiki/FAQ) for more information and troubleshooting.

Expand Down Expand Up @@ -132,19 +132,29 @@ The ``science`` + ``nature`` styles for Nature articles:
Other languages
---------------

SciencePlots currently supports:
For non-Latin scripts, prefer selecting system-installed fonts directly with `plt.rcParams["font.family"]`. The legacy `cjk-*` helper styles remain available for compatibility, but they are no longer the recommended way to configure CJK fonts.

SciencePlots currently includes language-specific styles for:
* [Traditional Chinese](https://github.com/garrettj403/SciencePlots/wiki/Gallery#traditional-chinese)
* [Simplified Chinese](https://github.com/garrettj403/SciencePlots/wiki/Gallery#simplified-chinese)
* [Japanese](https://github.com/garrettj403/SciencePlots/wiki/Gallery#japanese)
* [Korean](https://github.com/garrettj403/SciencePlots/wiki/Gallery#korean)
* [Russian](https://github.com/garrettj403/SciencePlots/wiki/Gallery#russian)
* [Turkish](https://github.com/garrettj403/SciencePlots/wiki/Gallery#turkish)

Example: Traditional Chinese (`science` + `no-latex` + `cjk-tc-font`):
Example: Traditional Chinese with system fonts:

```python
import matplotlib.pyplot as plt
import scienceplots

plt.style.use(["science", "no-latex"])
plt.rcParams["font.family"] = ["Times New Roman", "SimSun"]
```

<img src="https://github.com/garrettj403/SciencePlots/raw/master/examples/figures/fig14a.jpg" width="500">

See the [FAQ](https://github.com/garrettj403/SciencePlots/wiki/FAQ#installing-cjk-fonts) for information on installing CJK fonts.
See the [FAQ](https://github.com/garrettj403/SciencePlots/wiki/FAQ#installing-latex) and your system font settings for more information on font setup.

Other color cycles
------------------
Expand Down