garrettj403 / SciencePlots

Matplotlib styles for scientific plotting
MIT License
6.98k stars 701 forks source link

Manual installation #57

Closed YasLbk closed 2 years ago

YasLbk commented 2 years ago

In "Installing SciencePlots manually", it seems to me that the command

cp styles/*/*.mplstyle ~/.matplotlib/stylelib/

is not sufficient because it doesn't copy the style-files that aren't in a directory and that are saved directy in "styles/". Which makes compilation fails because files are missing (science.mplstyle).

It seems to me that you have to add the command cp styles/*/*.mplstyle ~/.matplotlib/stylelib/ && cp *.mplstyle ~/.matplotlib/stylelib/

garrettj403 commented 2 years ago

Thanks for pointing this out. I fixed the Wiki.