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

Browse filesBrowse files
committed
Remove What's new fancy example
1 parent b148183 commit 3cd3a68
Copy full SHA for 3cd3a68

File tree

Expand file treeCollapse file tree

5 files changed

+29
-84
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+29
-84
lines changed

‎.flake8

Copy file name to clipboardExpand all lines: .flake8
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ per-file-ignores =
182182
examples/pyplots/text_commands.py: E231, E402
183183
examples/pyplots/text_layout.py: E231, E402
184184
examples/pyplots/whats_new_1_subplot3d.py: E402
185-
examples/pyplots/whats_new_98_4_fancy.py: E302, E402
186185
examples/pyplots/whats_new_98_4_fill_between.py: E225, E402
187186
examples/pyplots/whats_new_98_4_legend.py: E228, E402
188187
examples/pyplots/whats_new_99_axes_grid.py: E402
@@ -229,6 +228,7 @@ per-file-ignores =
229228
examples/text_labels_and_annotations/annotation_demo.py: E501
230229
examples/text_labels_and_annotations/demo_text_rotation_mode.py: E402
231230
examples/text_labels_and_annotations/custom_legends.py: E402
231+
examples/text_labels_and_annotations/fancyarrow_demo.py: E402
232232
examples/text_labels_and_annotations/font_family_rc_sgskip.py: E402
233233
examples/text_labels_and_annotations/font_file.py: E402
234234
examples/text_labels_and_annotations/legend.py: E402

‎doc/users/prev_whats_new/whats_new_0.98.4.rst

Copy file name to clipboardExpand all lines: doc/users/prev_whats_new/whats_new_0.98.4.rst
+10-3Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,19 @@ boxes and connectors in annotations. See
4949
:class:`~matplotlib.patches.ArrowStyle`, and
5050
:class:`~matplotlib.patches.ConnectionStyle`.
5151

52-
.. figure:: ../../gallery/pyplots/images/sphx_glr_whats_new_98_4_fancy_001.png
53-
:target: ../../gallery/pyplots/whats_new_98_4_fancy.html
52+
.. figure:: ../../gallery/shapes_and_collections/images/sphx_glr_fancybox_demo_001.png
53+
:target: ../../gallery/shapes_and_collections/fancybox_demo.html
5454
:align: center
5555
:scale: 50
5656

57-
Whats New 98 4 Fancy
57+
Fancybox Demo
58+
59+
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_fancyarrow_demo_001.png
60+
:target: ../../gallery/text_labels_and_annotations/fancyarrow_demo.html
61+
:align: center
62+
:scale: 50
63+
64+
Fancyarrow Demo
5865

5966
.. _psd-amplitude:
6067

‎examples/pyplots/whats_new_98_4_fancy.py

Copy file name to clipboardExpand all lines: examples/pyplots/whats_new_98_4_fancy.py
-80Lines changed: 0 additions & 80 deletions
This file was deleted.

‎examples/shapes_and_collections/fancybox_demo.py

Copy file name to clipboardExpand all lines: examples/shapes_and_collections/fancybox_demo.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,3 +210,5 @@ def test_all():
210210
matplotlib.patches.BoxStyle
211211
matplotlib.patches.BoxStyle.get_styles
212212
matplotlib.transforms.Bbox
213+
matplotlib.figure.Figure.text
214+
matplotlib.axes.Axes.text

‎examples/text_labels_and_annotations/fancyarrow_demo.py

Copy file name to clipboardExpand all lines: examples/text_labels_and_annotations/fancyarrow_demo.py
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,19 @@ def to_texstring(s):
5252
ax.yaxis.set_visible(False)
5353

5454
plt.show()
55+
56+
#############################################################################
57+
#
58+
# ------------
59+
#
60+
# References
61+
# """"""""""
62+
#
63+
# The use of the following functions, methods, classes and modules is shown
64+
# in this example:
65+
66+
import matplotlib
67+
matplotlib.patches
68+
matplotlib.patches.ArrowStyle
69+
matplotlib.patches.ArrowStyle.get_styles
70+
matplotlib.axes.Axes.annotate

0 commit comments

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