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

Skip to content

Modified index.rst file of Getting Started #26983

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion doc/users/getting_started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ Draw a first plot
-----------------

Here is a minimal example plot:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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


import matplotlib.pyplot as plt
import numpy as np

Expand All @@ -43,8 +45,9 @@ Here is a minimal example plot:
fig, ax = plt.subplots()
ax.plot(x, y)
plt.show()


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

Where to go next
----------------
Expand All @@ -53,3 +56,6 @@ Where to go next
types of plots you can create with Matplotlib.
- Learn Matplotlib from the ground up in the :ref:`Quick-start guide
<quick_start>`.