Commit 10183c79 authored by Elliott Sales de Andrade's avatar Elliott Sales de Andrade
Browse files

Remove argument to matplotlib.pyplot.show.

It does not actually do anything with this argument; only the "block"
keyword argument is recognized.
parent b74891be
......@@ -512,7 +512,7 @@ and use two of its functions to create and display a heat map of our data:
~~~ {.python}
import matplotlib.pyplot
image = matplotlib.pyplot.imshow(data)
matplotlib.pyplot.show(image)
matplotlib.pyplot.show()
~~~
![Heatmap of the Data](fig/01-numpy_71_0.png)
......@@ -541,7 +541,7 @@ Let's take a look at the average inflammation over time:
~~~ {.python}
ave_inflammation = data.mean(axis=0)
ave_plot = matplotlib.pyplot.plot(ave_inflammation)
matplotlib.pyplot.show(ave_plot)
matplotlib.pyplot.show()
~~~
![Average Inflammation Over Time](fig/01-numpy_73_0.png)
......@@ -557,14 +557,14 @@ Let's have a look at two other statistics:
~~~ {.python}
max_plot = matplotlib.pyplot.plot(data.max(axis=0))
matplotlib.pyplot.show(max_plot)
matplotlib.pyplot.show()
~~~
![Maximum Value Along The First Axis](fig/01-numpy_75_1.png)
~~~ {.python}
min_plot = matplotlib.pyplot.plot(data.min(axis=0))
matplotlib.pyplot.show(min_plot)
matplotlib.pyplot.show()
~~~
![Minimum Value Along The First Axis](fig/01-numpy_75_3.png)
......@@ -610,7 +610,7 @@ axes3.plot(data.min(axis=0))
fig.tight_layout()
matplotlib.pyplot.show(fig)
matplotlib.pyplot.show()
~~~
![The Previous Plots as Subplots](fig/01-numpy_80_0.png)
......
......@@ -66,7 +66,7 @@ for f in filenames:
axes3.plot(data.min(axis=0))
fig.tight_layout()
matplotlib.pyplot.show(fig)
matplotlib.pyplot.show()
~~~
~~~ {.output}
......
......@@ -194,7 +194,7 @@ def analyze(filename):
axes3.plot(data.min(axis=0))
fig.tight_layout()
matplotlib.pyplot.show(fig)
matplotlib.pyplot.show()
~~~
and another function called `detect_problems` that checks for those systematics
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment