I’m new here and I try to use specific JupyterLab for training Einstein Toolkit (I mean I use probably debugged code). I’m getting the report ‘IPython is not defined’ when I call for ‘packages/matplotlib/pyplot.py’. I believe it is not a standard bug but something connected to general upgrades or my environment (Win10, Chrome, Jupyter Notebook 7.0.7). I noticed a similar question here, but it isn’t helping me (I guess). If you have any ideas or referrals to me, I would appreciate them.
Thank you all.
You should probably share a toy example with full code as text at least of something that causes the same issue? Because I have no idea really what you mean 'when I call for ‘packages/matplotlib/pyplot.py’. Always share the code and full traceback as formatted text. See ‘Block code formatting’ here for how to do that here. (You can see the original post here for an example.)
You mention upgrading of your environment. So it was working before?
Is this the other post you mention you saw that was vaguely like yours? If you are not using
%matplotlib widget or
%matplotlib ipympl or
%matplotlib notebook, then it would make sense it isn’t like yours. That post specifically mentioned trying interactive plotting. If you are doing the default inline then it wouldn’t matter but because you don’t supply details (!?!) it is hard to know.
Thank you for pointing out this post. I found and studied different one. This was helpful for me.
Thank you again!