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 3faa465

Browse filesBrowse files
Move the REPL to Gallery intro page
1 parent cf3a737 commit 3faa465
Copy full SHA for 3faa465

File tree

Expand file treeCollapse file tree

2 files changed

+25
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+25
-0
lines changed

‎doc/devel/MEP/MEP12.rst

Copy file name to clipboardExpand all lines: doc/devel/MEP/MEP12.rst
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Gallery sections
6262
The naming of sections is critical and will guide the clean-up
6363
effort. The current sections are:
6464

65+
* Live example (experimental)
6566
* Lines, bars, and markers (more-or-less 1D data)
6667
* Shapes and collections
6768
* Statistical plots

‎galleries/examples/README.txt

Copy file name to clipboardExpand all lines: galleries/examples/README.txt
+24Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,27 @@ a :ref:`FAQ <faq-index>` in our :ref:`user guide <users-guide-index>`.
1919
.. admonition:: Tagging!
2020

2121
You can also browse the example gallery by :ref:`tags <tagoverview>`.
22+
23+
24+
Live example (experimental)
25+
===========================
26+
27+
Try Matplotlib directly in this documentation (press :kbd:`shift` + :kbd:`Enter` to execute code)!
28+
29+
.. rstcheck: ignore-directives=replite
30+
.. replite::
31+
:kernel: xeus-python
32+
:height: 600px
33+
:prompt: Try Matplotlib!
34+
:execute: False
35+
36+
%matplotlib inline
37+
38+
import matplotlib.pyplot as plt
39+
import numpy as np
40+
41+
fig = plt.figure()
42+
plt.plot(np.sin(np.linspace(0, 20, 100)))
43+
plt.show();
44+
45+
Alternatively, you can try the gallery examples below in `our JupyterLite deployment <./../lite/lab>`__.

0 commit comments

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