Bar graph shows in Plots above the IPython Console as shown in lecture
First, matplotlib was not recognized until I imported what I found in Stack OverFlow;
import pip
pip.main(["install","matplotlib"])
Now my graph shows, but it is in the Plots window, not the IPython Console like the lecture. Does that matter? As long as I can see it?
1 answers ( 0 marked as helpful)
Hey Carly,
Thank you for your question!
The command
%matplotlib inline
displays the figure inline, like so:
The command
%matplotlib
would instead display the figure in a separate window:
Hope this helps!
Kind regards,
365 Hristina