From 4b365cd5f15feb74cca4bf1d4b5061d8bdf715aa Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Thu, 1 Nov 2018 10:54:49 +0100 Subject: [PATCH] Backport PR #12684: Change ipython block to code-block --- doc/users/prev_whats_new/whats_new_1.5.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/users/prev_whats_new/whats_new_1.5.rst b/doc/users/prev_whats_new/whats_new_1.5.rst index 9e7ca186252b..dbb7a67d527b 100644 --- a/doc/users/prev_whats_new/whats_new_1.5.rst +++ b/doc/users/prev_whats_new/whats_new_1.5.rst @@ -36,16 +36,12 @@ that the draw command is deferred and only called once. The upshot of this is that for interactive backends (including ``%matplotlib notebook``) in interactive mode (with ``plt.ion()``) -.. ipython :: python +.. code-block :: python import matplotlib.pyplot as plt - fig, ax = plt.subplots() - ln, = ax.plot([0, 1, 4, 9, 16]) - plt.show() - ln.set_color('g') pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy