Feb-21-2023, 09:58 AM
It's part of Codecademy's premium content so I can't post the entire code but in their software I produce a graph that looks like this:
Whereas in Jupyter Notebooks it looks like this
I have copy/pasted the code with the exception of "import codecademylib3_seaborn" which throws up a module error in Jupyter.
The first graph produced in Codecademy's IDE is
and in Jupyter is
which are identical bar the y axis numbers - it appears the Codecademy graphs "add on" with new plt.plot - whereas the JupyterNotebook does a new graph each time.
What is the causing the differences, and how do I get the Jupyter graph to look like the one in Codecademy? Thank you!
Whereas in Jupyter Notebooks it looks like this
I have copy/pasted the code with the exception of "import codecademylib3_seaborn" which throws up a module error in Jupyter.
The first graph produced in Codecademy's IDE is
and in Jupyter is
which are identical bar the y axis numbers - it appears the Codecademy graphs "add on" with new plt.plot - whereas the JupyterNotebook does a new graph each time.
What is the causing the differences, and how do I get the Jupyter graph to look like the one in Codecademy? Thank you!