Closed baogiadoan closed 7 months ago
Hi -- thanks for noticing this!
Can you try adding import lovelyplots
on top of your script? There might have been a matplotlib update that now requires to import the module.
thanks for your quick response, after import LovelyPlots
I still faced the same error
Can you try installing the latest git commit with pip install --upgrade git+https://github.com/killiansheriff/LovelyPlots.git
?
And then run:
import lovelyplots
import matplotlib.pyplot as plt
plt.style.use('ipynb')
sorry, the issue is not solved after I installed from git
as above
On Tue, 5 Mar 2024 at 15:49, Killian Sheriff @.***> wrote:
Can you try the installing the latest git commit with pip install --upgrade git+https://github.com/killiansheriff/LovelyPlots.git?
And then run:
import lovelyplots import matplotlib.pyplot as plt plt.style.use('ipynb')
— Reply to this email directly, view it on GitHub https://github.com/killiansheriff/LovelyPlots/issues/9#issuecomment-1977986282, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFZFNGN3CZSL5N2PG5NPC3YWVIU5AVCNFSM6AAAAABEGMB3N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZXHE4DMMRYGI . You are receiving this because you authored the thread.Message ID: @.***>
-- Best regards, Bao
can you replicate the issue at your end @killiansheriff ?
Should be fixed in the latest release! Let me know if it works fine now. Thanks!
yes, I can confirm it is working now, thanks for you prompt action.
I followed the installation instruction. However, when I use:
plt.style.use('ipynb')
then I faced with the error:
FileNotFoundError: [Errno 2] No such file or directory: 'ipynb'
Here is the available style when I use command
plt.style.available
:I use
conda
to manage virtual envs and the env I installedLovelyPlots
is the same as for thekernel
that I run my Jupyter.