Skip to content

Commit 24085dd

Browse files
committed
Move some examples out of examples/api
Fix some doc links Put back AGG OO example Remove old example
1 parent 9b48fd8 commit 24085dd

File tree

16 files changed

+6
-5
lines changed

16 files changed

+6
-5
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

examples/api/custom_index_formatter.py renamed to examples/text_labels_and_annotations/date_index_formatter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
to leave out days on which there is no data, i.e. weekends. The example
88
below shows how to use an 'index formatter' to achieve the desired plot
99
"""
10+
from __future__ import print_function
1011
import numpy as np
1112
import matplotlib.pyplot as plt
1213
import matplotlib.cbook as cbook

examples/units/bar_unit_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Group barchart with units
44
=========================
55
6-
This is the same example as :doc:`the barchart demo<../api/barchart>`
7-
in centimeters.
6+
This is the same example as
7+
:doc:`the barchart demo<../lines_bars_and_markers/barchart>` in centimeters.
88
99
.. only:: builder_html
1010

tutorials/advanced/transforms_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,4 +467,4 @@
467467
# see how to make your own, since Matplotlib supports extensible axes
468468
# and projections. Michael Droettboom has provided a nice tutorial
469469
# example of creating a Hammer projection axes; see
470-
# :ref:`sphx_glr_gallery_api_custom_projection_example.py`.
470+
# :ref:`sphx_glr_gallery_misc_custom_projection.py`.

tutorials/introductory/sample_plots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@
279279
You can plot timeseries data with major and minor ticks and custom
280280
tick formatters for both.
281281
282-
.. figure:: ../../gallery/api/images/sphx_glr_date_001.png
283-
:target: ../../gallery/api/date.html
282+
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_date_001.png
283+
:target: ../../gallery/text_labels_and_annotations/date.html
284284
:align: center
285285
:scale: 50
286286

0 commit comments

Comments
 (0)