Changelog¶
0.1.4¶
New modifier styles
no-latex— disables LaTeX and switches to STIX fonts as a close substitutedespine— removes top and right spinesnotebook— larger fonts and figure size for Jupyter notebooksbright— Paul Tol's CVD-safe bright colour palettemuted— Paul Tol's CVD-safe muted colour palettegrayscale— black/grey tones with varied linestyles for B&W print
New API
style_context()— context manager that restores rcParams on exitfigsize()— returns exact figure dimensions for a journal's column widthsave()— one-line publication-readyfig.savefigwrapperuse_style()now accepts inline kwarg overrides (fontsize,figsize,dpi, …)- All bundled styles registered as
peerstyle.<name>in matplotlib's style library on import
Fixes
- LaTeX fallback now switches to STIX fonts instead of silently degrading appearance
pdf.fonttype: 42andsvg.fonttype: noneadded to all styles (Illustrator-editable exports)savefig.bbox: tightadded to all styles- Minor ticks enabled in the
ieeepreset
0.1.3¶
New feature
curved_text()andCurvedTextclass — draw text along an arbitrary curve, with each character rotated to match the local tangent. Adapted from thiebes/curved-text (MIT).
0.1.2¶
- Package renamed to PeerStyle (previously SciStyle).
- Repository moved to Esmaeelpour/peerstyle.
0.1.1¶
- Fixed README gallery images after repository rename.
0.1.0¶
Initial release.
- Four bundled styles:
custom_style,ieee,nature,poster. use_style(),list_styles(),get_style_path().