Closed forgetmenot9911 closed 1 year ago
I am also running into this issue (except pdflatex and vscode). I haven't found the solution yet, but I wanted to echo this same problem here.
Seems like a problem related to using matplotlib and latex (i.e., unrelated to scienceplots). A quick google search shows this. Please have a look and let us know if that works.
BTW, "How can we reproduce it? What have you tried?" usually expects instructions and code, not a brief description of the tools you use.
I also met the same problem and successfully solved by the method given in the link, thanks a lot!
Thanks for letting us know! :heart:
Seems like a problem related to using matplotlib and latex (i.e., unrelated to scienceplots). A quick google search shows this.
Thank you for the reference! Worked like a charm 😊
Just for the ease of other users, the solution is running the following:
sudo apt install cm-super
Environment
Describe your issue here
Hello! I use "TexStudio + MikTex". When I run
plt.style.use('science')
, a RuntimeError comes:How can we reproduce it? What have you tried?
I use jupyter notebook in vscode.
Extra info
No response