Skip to content

Commit 510e8a8

Browse files
committed
_episodes/13-matplotlib.md: removing repeated section
- Remove 'Saving a Graph' repeated section.
1 parent 5de114a commit 510e8a8

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

_episodes/13-matplotlib.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -340,22 +340,6 @@ demonstrate some of the available features.
340340
>
341341
{: .challenge}
342342
343-
## Saving a graph
344-
345-
If you wish to save your graph as an image you can do so using the `savefig()` function. The image can be saved as a pdf, jpg or png file by changing the file extension.
346-
347-
~~~
348-
df = pd.DataFrame(np.random.normal(size=(100,5)), columns=list('ABCDE'))
349-
df.plot(kind = 'box', return_type='axes')
350-
351-
plt.title('Box Plot')
352-
plt.xlabel('xlabel')
353-
plt.ylabel('ylabel')
354-
355-
plt.savefig('boxplot_from_df.pdf')
356-
~~~
357-
{: .language-python}
358-
359343
[matplotlib-web]: http://matplotlib.org/
360344
[pandas-web]: http://pandas.pydata.org/
361345
[ggplot2-web]: http://ggplot2.tidyverse.org/

0 commit comments

Comments
 (0)