@@ -126,6 +126,7 @@ plt.show() # not necessary in Jupyter Notebooks
126126> %matplotlib inline
127127> ~~~
128128> {: .language-python}
129+ {: .callout}
129130
130131The returned object is a matplotlib object (check it yourself with `type(my_plot)`),
131132to which we may make further adjustments and refinements using other matplotlib methods.
@@ -145,9 +146,9 @@ styles and the source codes that create them.
145146
146147### `plt` pyplot versus object-based matplotlib
147148
148- Matplotlib integrates nicely with the numpy package and can use numpy arrays
149+ Matplotlib integrates nicely with the Numpy package and can use Numpy arrays
149150as input of the available plot functions. Consider the following example data,
150- created with numpy :
151+ created with Numpy :
151152
152153~~~
153154 import numpy
@@ -168,13 +169,13 @@ plt.plot(x, y, '-')
168169> ## Tip: Cross-Platform Visualization of Figures
169170> Jupyter Notebooks make many aspects of data analysis and visualization much simpler. This includes
170171> doing some of the labor of visualizing plots for you. But, not every one of your collaborators
171- > will be using a Jupyter Notebook. The .show() command allows you to visualize plots
172- > when working at the command line, with a script, or at the iPython interpreter. In the
172+ > will be using a Jupyter Notebook. The ` .show()` command allows you to visualize plots
173+ > when working at the command line, with a script, or at the IPython interpreter. In the
173174> previous example, adding `plt.show()` after the creation of the plot will enable your
174175> colleagues who aren't using a Jupyter notebook to reproduce your work on their platform.
175176{: .callout}
176177
177- or create a matplotlib `figure` and `axis` object first and add the plot later on:
178+ or create matplotlib `figure` and `axis` objects first and add the plot later on:
178179
179180~~~
180181fig, ax = plt.subplots() # initiate an empty figure and axis matplotlib object
0 commit comments