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

Skip to content

Commit 2ca5ed1

Browse files
authored
Merge pull request #18858 from timhoffm/remove-demo
Remove "Demo" from example titles
2 parents e69e2e6 + a94c94d commit 2ca5ed1

19 files changed

+74
-65
lines changed

examples/axes_grid1/demo_anchored_direction_arrows.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
=============================
3-
Demo Anchored Direction Arrow
4-
=============================
2+
========================
3+
Anchored Direction Arrow
4+
========================
55
66
"""
77
import matplotlib.pyplot as plt

examples/axes_grid1/demo_axes_divider.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
=================
3-
Demo Axes Divider
4-
=================
2+
============
3+
Axes Divider
4+
============
55
66
Axes divider to calculate location of axes and
77
create a divider for them using existing axes instances.

examples/axes_grid1/demo_axes_grid2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
===============
3-
Demo Axes Grid2
4-
===============
2+
==========
3+
Axes Grid2
4+
==========
55
66
Grid of images with shared xaxis and yaxis.
77
"""

examples/axes_grid1/demo_axes_rgb.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
"""
2-
=============
3-
Demo Axes RGB
4-
=============
2+
==================================
3+
Showing RGB channels using RGBAxes
4+
==================================
55
6-
RGBAxes to show RGB composite images.
6+
`~.axes_grid1.axes_rgb.RGBAxes` creates a layout of 4 Axes for displaying RGB
7+
channels: one large Axes for the RGB image and 3 smaller Axes for the R, G, B
8+
channels.
79
"""
810

911
import numpy as np

examples/images_contours_and_fields/barb_demo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"""
2-
=========
3-
Barb Demo
4-
=========
2+
==========
3+
Wind Barbs
4+
==========
55
6-
Demonstration of wind barb plots
6+
Demonstration of wind barb plots.
77
"""
88
import matplotlib.pyplot as plt
99
import numpy as np

examples/text_labels_and_annotations/demo_text_path.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""
2-
==============
3-
Demo Text Path
4-
==============
2+
======================
3+
Using a text as a Path
4+
======================
55
6-
Use a text as `.Path`. The tool that allows for such conversion is a
7-
`~matplotlib.textpath.TextPath`. The resulting path can be employed
8-
e.g. as a clip path for an image.
6+
`~matplotlib.textpath.TextPath` creates a `.Path` that is the outline of the
7+
characters of a text. The resulting path can be employed e.g. as a clip path
8+
for an image.
99
"""
1010

1111
import matplotlib.pyplot as plt

examples/text_labels_and_annotations/demo_text_rotation_mode.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
r"""
2-
=======================
3-
Demo Text Rotation Mode
4-
=======================
2+
==================
3+
Text Rotation Mode
4+
==================
55
66
This example illustrates the effect of ``rotation_mode`` on the positioning
77
of rotated text.

examples/text_labels_and_annotations/fancyarrow_demo.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""
2-
===============
3-
Fancyarrow Demo
4-
===============
2+
================================
3+
Annotation arrow style reference
4+
================================
5+
6+
Overview of the arrow styles available in `~.Axes.annotate`.
57
68
"""
79
import matplotlib.patches as mpatches

examples/text_labels_and_annotations/fancytextbox_demo.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
"""
2-
=================
3-
Fancytextbox Demo
4-
=================
2+
==================
3+
Styling text boxes
4+
==================
55
6+
This example shows how to style text boxes using *bbox* parameters.
67
"""
78
import matplotlib.pyplot as plt
89

examples/text_labels_and_annotations/mathtext_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
=============
3-
Mathtext Demo
4-
=============
2+
========
3+
Mathtext
4+
========
55
66
Use Matplotlib's internal LaTeX parser and layout engine. For true LaTeX
77
rendering, see the text.usetex option.

examples/text_labels_and_annotations/stix_fonts_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
===============
3-
STIX Fonts Demo
4-
===============
2+
==========
3+
STIX Fonts
4+
==========
55
66
Demonstration of `STIX Fonts <https://www.stixfonts.org/>`_ used in LaTeX
77
rendering.

examples/ticks_and_spines/colorbar_tick_labelling_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
============================
3-
Colorbar Tick Labelling Demo
4-
============================
2+
=======================
3+
Colorbar Tick Labelling
4+
=======================
55
66
Produce custom labelling for a colorbar.
77

examples/ticks_and_spines/date_demo_rrule.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
"""
2-
===============
3-
Date Demo Rrule
4-
===============
2+
=========================================
3+
Placing date ticks using recurrence rules
4+
=========================================
55
6-
Show how to use an rrule instance to make a custom date ticker - here
7-
we put a tick mark on every 5th easter
6+
The `iCalender RFC`_ specifies *recurrence rules* (rrules), that define
7+
date sequences. You can use rrules in Matplotlib to place date ticks.
88
9-
See https://dateutil.readthedocs.io/en/stable/ for help with rrules
9+
This example sets custom date ticks on every 5th easter.
10+
11+
See https://dateutil.readthedocs.io/en/stable/rrule.html for help with rrules.
12+
13+
.. _iCalender RFC: https://tools.ietf.org/html/rfc5545
1014
"""
1115
import matplotlib.pyplot as plt
1216
from matplotlib.dates import (YEARLY, DateFormatter,

examples/ticks_and_spines/spine_placement_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
====================
3-
Spine Placement Demo
4-
====================
2+
===============
3+
Spine Placement
4+
===============
55
66
Adjusting the location and appearance of axis spines.
77

examples/user_interfaces/wxcursor_demo_sgskip.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
=============
3-
WXcursor Demo
4-
=============
2+
=====================
3+
Adding a cursor in WX
4+
=====================
55
66
Example to draw a cursor and report the data coords in wx.
77
"""

examples/userdemo/connectionstyle_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
====================
3-
Connectionstyle Demo
4-
====================
2+
=================================
3+
Connection styles for annotations
4+
=================================
55
66
When creating an annotation using `~.Axes.annotate`, the arrow shape can be
77
controlled via the *connectionstyle* parameter of *arrowprops*. For further

examples/widgets/lasso_selector_demo_sgskip.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
===================
3-
Lasso Selector Demo
4-
===================
2+
==============
3+
Lasso Selector
4+
==============
55
66
Interactively selecting data points with the lasso tool.
77

examples/widgets/polygon_selector_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
=====================
3-
Polygon Selector Demo
4-
=====================
2+
================
3+
Polygon Selector
4+
================
55
66
Shows how one can select indices of a polygon interactively.
77
"""

examples/widgets/slider_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
===========
3-
Slider Demo
4-
===========
2+
======
3+
Slider
4+
======
55
66
Using the slider widget to control visual properties of your plot.
77

0 commit comments

Comments
 (0)