Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4015343

Browse filesBrowse files
authored
Merge pull request #12684 from dstansby/ipy-15
Change ipython block to code-block
2 parents ec6a45a + 3b01501 commit 4015343
Copy full SHA for 4015343

File tree

Expand file treeCollapse file tree

1 file changed

+1
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-5
lines changed

‎doc/users/prev_whats_new/whats_new_1.5.rst

Copy file name to clipboardExpand all lines: doc/users/prev_whats_new/whats_new_1.5.rst
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,12 @@ that the draw command is deferred and only called once.
3636
The upshot of this is that for interactive backends (including
3737
``%matplotlib notebook``) in interactive mode (with ``plt.ion()``)
3838

39-
.. ipython :: python
39+
.. code-block :: python
4040
4141
import matplotlib.pyplot as plt
42-
4342
fig, ax = plt.subplots()
44-
4543
ln, = ax.plot([0, 1, 4, 9, 16])
46-
4744
plt.show()
48-
4945
ln.set_color('g')
5046
5147

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.