Skip to content
Closed
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion doc/users/getting_started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ Getting started
Installation quick-start
------------------------

.. include:: /install/quick_install.inc.rst
For up-to-date installation instructions, please refer to the official
Matplotlib installation guide:

https://matplotlib.org/stable/#install

Draw a first plot
-----------------
Expand Down
8 changes: 4 additions & 4 deletions galleries/examples/lines_bars_and_markers/simple_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
import matplotlib.pyplot as plt
import numpy as np

# Data for plotting
t = np.arange(0.0, 2.0, 0.01)
s = 1 + np.sin(2 * np.pi * t)
# Data for plotting: time values and corresponding signal
time = np.arange(0.0, 2.0, 0.01)
signal = 1 + np.sin(2 * np.pi * time)

fig, ax = plt.subplots()
ax.plot(t, s)
ax.plot(time, signal)

ax.set(xlabel='time (s)', ylabel='voltage (mV)',
title='About as simple as it gets, folks')
Expand Down