--- title: Title keywords: fastai sidebar: home_sidebar nb_path: "venv/Lib/site-packages/nbconvert/tests/files/markdown_display_priority.ipynb" ---
{% raw %}
{% endraw %} {% raw %}
from IPython.display import set_matplotlib_formats
# generate pdf and png images
set_matplotlib_formats('pdf', 'png')

import matplotlib.pyplot as plt
%matplotlib inline


plt.plot(range(5))
[<matplotlib.lines.Line2D at 0x7f21298cc828>]
{% endraw %}