Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 738 Bytes

File metadata and controls

36 lines (25 loc) · 738 Bytes

Getting started

Installation quick-start

Draw a first plot

Here is a minimal example plot:

.. plot::
   :include-source:
   :align: center

   import matplotlib.pyplot as plt
   import numpy as np

   x = np.linspace(0, 2 * np.pi, 200)
   y = np.sin(x)

   fig, ax = plt.subplots()
   ax.plot(x, y)
   plt.show()

If a plot does not show up please check :ref:`troubleshooting-faq`.

Where to go next