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

Skip to content

Commit fc1fc84

Browse files
committed
auto-migrating to sphinx gallery
1 parent e6375e0 commit fc1fc84

336 files changed

Lines changed: 1801 additions & 182 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/animation/README.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.. _animation_examples:
2+
3+
Animation Examples
4+
==================

examples/animation/basic_example_writer.py renamed to examples/animation/basic_example_writer_sgskip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- noplot -*-
12
"""
23
===================
34
Saving an animation
@@ -8,7 +9,6 @@
89
MovieWriter instance.
910
"""
1011

11-
# -*- noplot -*-
1212
import numpy as np
1313
import matplotlib
1414
matplotlib.use("Agg")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- noplot -*-
12
"""
23
===========
34
MovieWriter
@@ -9,7 +10,6 @@
910
interactive setting.
1011
1112
"""
12-
# -*- noplot -*-
1313

1414
import numpy as np
1515
import matplotlib

examples/animation/simple_anim.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
"""
2+
===========
3+
Simple Anim
4+
===========
5+
26
A simple example of an animated plot
37
"""
48
import numpy as np
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
=============================
66
77
A pure OO (look Ma, no pylab!) example using the agg backend
8+
9+
810
"""
911
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
1012
from matplotlib.figure import Figure
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- noplot -*-
12
"""
23
===========================
34
Configuring the font family
@@ -20,7 +21,6 @@
2021
2122
"""
2223

23-
# -*- noplot -*-
2424

2525
from matplotlib import rcParams
2626
rcParams['font.family'] = 'sans-serif'
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
ttf file for a font instance, you can do so using the
99
font_manager.FontProperties fname argument (for a more flexible
1010
solution, see the font_family_rc.py and fonts_demo.py examples).
11+
12+
1113
"""
1214
import sys
1315
import os

examples/api/logos2.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""
2-
==========
3-
matplotlib
4-
==========
2+
================
3+
Matplotlib Logos
4+
================
5+
6+
Displays some matplotlib logos.
57
68
Thanks to Tony Yu <[email protected]> for the logo design
79
"""

examples/axes_grid1/README.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.. _axes_grid_examples:
2+
3+
Axes Grid
4+
=========

examples/axes_grid1/demo_axes_divider.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
=================
3+
Demo Axes Divider
4+
=================
5+
6+
"""
17
import matplotlib.pyplot as plt
28

39

0 commit comments

Comments
 (0)