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:
![[Image: erB5UHB.jpg]](https://i.imgur.com/erB5UHB.jpg)
Whereas in Jupyter Notebooks it looks like this
![[Image: OXjLIJd.jpg]](https://i.imgur.com/OXjLIJd.jpg)
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
![[Image: 9gFKnz3.jpg]](https://i.imgur.com/9gFKnz3.jpg)
and in Jupyter is
![[Image: VnTfpZq.jpg]](https://i.imgur.com/VnTfpZq.jpg)
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!
![[Image: erB5UHB.jpg]](https://i.imgur.com/erB5UHB.jpg)
Whereas in Jupyter Notebooks it looks like this
![[Image: OXjLIJd.jpg]](https://i.imgur.com/OXjLIJd.jpg)
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
![[Image: 9gFKnz3.jpg]](https://i.imgur.com/9gFKnz3.jpg)
and in Jupyter is
![[Image: VnTfpZq.jpg]](https://i.imgur.com/VnTfpZq.jpg)
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!