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 1eff176

Browse filesBrowse files
committed
Cleanup some examples titles & texts.
1 parent 11258c2 commit 1eff176
Copy full SHA for 1eff176

File tree

Expand file treeCollapse file tree

8 files changed

+26
-31
lines changed
Filter options
Expand file treeCollapse file tree

8 files changed

+26
-31
lines changed

‎examples/axes_grid1/demo_colorbar_of_inset_axes.py

Copy file name to clipboardExpand all lines: examples/axes_grid1/demo_colorbar_of_inset_axes.py
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""
2-
===========================
3-
Demo Colorbar of Inset Axes
4-
===========================
5-
2+
===============================
3+
Adding a colorbar to inset axes
4+
===============================
65
"""
76

87
from matplotlib import cbook

‎examples/axes_grid1/demo_edge_colorbar.py

Copy file name to clipboardExpand all lines: examples/axes_grid1/demo_edge_colorbar.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
==================
3-
Demo Edge Colorbar
4-
==================
2+
===============================
3+
Per-row or per-column colorbars
4+
===============================
55
66
This example shows how to use one common colorbar for each row or column
77
of an image grid.

‎examples/axes_grid1/demo_fixed_size_axes.py

Copy file name to clipboardExpand all lines: examples/axes_grid1/demo_fixed_size_axes.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
====================
3-
Demo Fixed Size Axes
4-
====================
2+
===============================
3+
Axes with a fixed physical size
4+
===============================
55
"""
66

77
import matplotlib.pyplot as plt

‎examples/axes_grid1/demo_imagegrid_aspect.py

Copy file name to clipboardExpand all lines: examples/axes_grid1/demo_imagegrid_aspect.py
+5-9Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
"""
2-
=====================
3-
Demo Imagegrid Aspect
4-
=====================
5-
2+
=========================================
3+
Setting a fixed aspect on ImageGrid cells
4+
=========================================
65
"""
7-
import matplotlib.pyplot as plt
86

7+
import matplotlib.pyplot as plt
98
from mpl_toolkits.axes_grid1 import ImageGrid
9+
1010
fig = plt.figure()
1111

1212
grid1 = ImageGrid(fig, 121, (2, 2), axes_pad=0.1,
1313
aspect=True, share_all=True)
14-
1514
for i in [0, 1]:
1615
grid1[i].set_aspect(2)
1716

18-
1917
grid2 = ImageGrid(fig, 122, (2, 2), axes_pad=0.1,
2018
aspect=True, share_all=True)
21-
22-
2319
for i in [1, 3]:
2420
grid2[i].set_aspect(2)
2521

‎examples/axisartist/demo_axis_direction.py

Copy file name to clipboardExpand all lines: examples/axisartist/demo_axis_direction.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""
22
===================
3-
Demo Axis Direction
3+
axis_direction demo
44
===================
5-
65
"""
76

87
import numpy as np

‎examples/axisartist/demo_floating_axis.py

Copy file name to clipboardExpand all lines: examples/axisartist/demo_floating_axis.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
"""
22
==================
3-
Demo Floating Axis
3+
floating_axis demo
44
==================
55
6-
Axis within rectangular frame
6+
Axis within rectangular frame.
77
88
The following code demonstrates how to put a floating polar curve within a
99
rectangular box. In order to get a better sense of polar curves, please look at
1010
:doc:`/gallery/axisartist/demo_curvelinear_grid`.
1111
"""
12+
1213
import numpy as np
1314
import matplotlib.pyplot as plt
1415
import mpl_toolkits.axisartist.angle_helper as angle_helper

‎examples/subplots_axes_and_figures/subplot_demo.py

Copy file name to clipboardExpand all lines: examples/subplots_axes_and_figures/subplot_demo.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
==================
55
66
Demo with two subplots.
7-
For more options, see
8-
:doc:`/gallery/subplots_axes_and_figures/subplots_demo`
7+
8+
For more options, see :doc:`/gallery/subplots_axes_and_figures/subplots_demo`.
99
"""
10+
1011
import numpy as np
1112
import matplotlib.pyplot as plt
1213

‎examples/text_labels_and_annotations/demo_annotation_box.py

Copy file name to clipboardExpand all lines: examples/text_labels_and_annotations/demo_annotation_box.py
+5-6Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
"""
22
===================
3-
Demo Annotation Box
3+
AnnotationBbox demo
44
===================
55
6-
The AnnotationBbox Artist creates an annotation using an OffsetBox. This
7-
example demonstrates three different OffsetBoxes: TextArea, DrawingArea and
8-
OffsetImage. AnnotationBbox gives more fine-grained control than using the axes
9-
method annotate.
10-
6+
`.AnnotationBbox` creates an annotation using an `.OffsetBox`, and
7+
provides more fine-grained control than `.Axes.annotate`. This example
8+
demonstrates the use of AnnotationBbox together with three different
9+
OffsetBoxes: `.TextArea`, `.DrawingArea`, and `.OffsetImage`.
1110
"""
1211

1312
import matplotlib.pyplot as plt

0 commit comments

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