# 'IPython is not defined' report in JupyterLab

**URL:** <https://discourse.jupyter.org/t/ipython-is-not-defined-report-in-jupyterlab/23836>\
**Category:** JupyterLab\
**Tags:** help-wanted\
**Created:** [February 7, 2024, 3:49pm UTC](https://discourse.jupyter.org/t/ipython-is-not-defined-report-in-jupyterlab/23836 "2024-02-07T15:49:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [February 7, 2024, 5:05pm UTC](https://discourse.jupyter.org/t/ipython-is-not-defined-report-in-jupyterlab/23836/2 "2024-02-07T17:05:42Z")

</div>

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](https://discourse.stonehearth.net/t/discourse-guide-code-formatting/30587) for how to do that here. (You can see the original post [here](https://discourse.jupyter.org/t/missing-or-invalid-credentials-issue-with-jupyterhub-4-0-1/23608) for an example.)

You mention upgrading of your environment. So it was working before?

> [@vrbic207](#):
>
> I noticed a similar question here, but it isn’t helping me

Is [this the other post](https://discourse.jupyter.org/t/interactive-matplotlib-in-jupyterlab-no-longer-working/20017) 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.

---

_[View the full topic](https://discourse.jupyter.org/t/ipython-is-not-defined-report-in-jupyterlab/23836)._
