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

Skip to content

Commit 3ecfda1

Browse files
committed
Redirect agg_buffer{,_to_array} examples to canvasagg.
The latter is more complete, and I don't think we should showcase `canvas.switch_backends`, which is more or less an internal API.
1 parent 40a5a75 commit 3ecfda1

File tree

3 files changed

+2
-58
lines changed

3 files changed

+2
-58
lines changed

examples/misc/agg_buffer.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

examples/misc/agg_buffer_to_array.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

examples/user_interfaces/canvasagg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
any format supported by Pillow.
2121
2222
.. _Pillow: https://pillow.readthedocs.io/
23+
.. redirect-from:: /gallery/misc/agg_buffer
24+
.. redirect-from:: /gallery/misc/agg_buffer_to_array
2325
"""
2426

2527
from matplotlib.backends.backend_agg import FigureCanvasAgg

0 commit comments

Comments
 (0)