diff --git a/dev/_images/2dcollections3d_demo.png b/dev/_images/2dcollections3d_demo.png
deleted file mode 100644
index 68871b1bb3a..00000000000
Binary files a/dev/_images/2dcollections3d_demo.png and /dev/null differ
diff --git a/dev/_images/2dcollections3d_demo1.png b/dev/_images/2dcollections3d_demo1.png
deleted file mode 100644
index 68871b1bb3a..00000000000
Binary files a/dev/_images/2dcollections3d_demo1.png and /dev/null differ
diff --git a/dev/_images/accented_text.png b/dev/_images/accented_text.png
deleted file mode 100644
index 3a01508ec6a..00000000000
Binary files a/dev/_images/accented_text.png and /dev/null differ
diff --git a/dev/_images/agg_buffer_to_array_00.png b/dev/_images/agg_buffer_to_array_00.png
deleted file mode 100644
index 93f7a61d9dd..00000000000
Binary files a/dev/_images/agg_buffer_to_array_00.png and /dev/null differ
diff --git a/dev/_images/agg_buffer_to_array_01.png b/dev/_images/agg_buffer_to_array_01.png
deleted file mode 100644
index ea4d5f5aa9d..00000000000
Binary files a/dev/_images/agg_buffer_to_array_01.png and /dev/null differ
diff --git a/dev/_images/align_ylabels.png b/dev/_images/align_ylabels.png
deleted file mode 100644
index ca0b5f9805f..00000000000
Binary files a/dev/_images/align_ylabels.png and /dev/null differ
diff --git a/dev/_images/alignment_test.png b/dev/_images/alignment_test.png
deleted file mode 100644
index 7f790a32843..00000000000
Binary files a/dev/_images/alignment_test.png and /dev/null differ
diff --git a/dev/_images/anchored_artists.png b/dev/_images/anchored_artists.png
deleted file mode 100644
index 7f4a17c589b..00000000000
Binary files a/dev/_images/anchored_artists.png and /dev/null differ
diff --git a/dev/_images/anchored_box01.png b/dev/_images/anchored_box01.png
deleted file mode 100644
index ec4f38a0f85..00000000000
Binary files a/dev/_images/anchored_box01.png and /dev/null differ
diff --git a/dev/_images/anchored_box02.png b/dev/_images/anchored_box02.png
deleted file mode 100644
index a4c3981cf98..00000000000
Binary files a/dev/_images/anchored_box02.png and /dev/null differ
diff --git a/dev/_images/anchored_box03.png b/dev/_images/anchored_box03.png
deleted file mode 100644
index 586f2f3e062..00000000000
Binary files a/dev/_images/anchored_box03.png and /dev/null differ
diff --git a/dev/_images/anchored_box04.png b/dev/_images/anchored_box04.png
deleted file mode 100644
index e9633a1f913..00000000000
Binary files a/dev/_images/anchored_box04.png and /dev/null differ
diff --git a/dev/_images/animation_demo.png b/dev/_images/animation_demo.png
deleted file mode 100644
index c71e3b52345..00000000000
Binary files a/dev/_images/animation_demo.png and /dev/null differ
diff --git a/dev/_images/annotate_explain.png b/dev/_images/annotate_explain.png
deleted file mode 100644
index 62935ea3f9a..00000000000
Binary files a/dev/_images/annotate_explain.png and /dev/null differ
diff --git a/dev/_images/annotate_simple01.png b/dev/_images/annotate_simple01.png
deleted file mode 100644
index 8b7325a419b..00000000000
Binary files a/dev/_images/annotate_simple01.png and /dev/null differ
diff --git a/dev/_images/annotate_simple02.png b/dev/_images/annotate_simple02.png
deleted file mode 100644
index 5ae9cb87fba..00000000000
Binary files a/dev/_images/annotate_simple02.png and /dev/null differ
diff --git a/dev/_images/annotate_simple03.png b/dev/_images/annotate_simple03.png
deleted file mode 100644
index 8c43cf259c8..00000000000
Binary files a/dev/_images/annotate_simple03.png and /dev/null differ
diff --git a/dev/_images/annotate_simple04.png b/dev/_images/annotate_simple04.png
deleted file mode 100644
index 7c78a79d84a..00000000000
Binary files a/dev/_images/annotate_simple04.png and /dev/null differ
diff --git a/dev/_images/annotate_simple_coord01.png b/dev/_images/annotate_simple_coord01.png
deleted file mode 100644
index 1bf5b736b4b..00000000000
Binary files a/dev/_images/annotate_simple_coord01.png and /dev/null differ
diff --git a/dev/_images/annotate_simple_coord02.png b/dev/_images/annotate_simple_coord02.png
deleted file mode 100644
index 81724a82301..00000000000
Binary files a/dev/_images/annotate_simple_coord02.png and /dev/null differ
diff --git a/dev/_images/annotate_simple_coord03.png b/dev/_images/annotate_simple_coord03.png
deleted file mode 100644
index a28ff0308c2..00000000000
Binary files a/dev/_images/annotate_simple_coord03.png and /dev/null differ
diff --git a/dev/_images/annotate_text_arrow.png b/dev/_images/annotate_text_arrow.png
deleted file mode 100644
index 72dacc8cf46..00000000000
Binary files a/dev/_images/annotate_text_arrow.png and /dev/null differ
diff --git a/dev/_images/annotate_transform.png b/dev/_images/annotate_transform.png
deleted file mode 100644
index c0cf75f2102..00000000000
Binary files a/dev/_images/annotate_transform.png and /dev/null differ
diff --git a/dev/_images/annotate_with_units.png b/dev/_images/annotate_with_units.png
deleted file mode 100644
index 70d0a2fd8cb..00000000000
Binary files a/dev/_images/annotate_with_units.png and /dev/null differ
diff --git a/dev/_images/annotation_basic.png b/dev/_images/annotation_basic.png
deleted file mode 100644
index b23ed24e83e..00000000000
Binary files a/dev/_images/annotation_basic.png and /dev/null differ
diff --git a/dev/_images/annotation_demo2_00.png b/dev/_images/annotation_demo2_00.png
deleted file mode 100644
index ebfdcdc1f79..00000000000
Binary files a/dev/_images/annotation_demo2_00.png and /dev/null differ
diff --git a/dev/_images/annotation_demo2_001.png b/dev/_images/annotation_demo2_001.png
deleted file mode 100644
index ebfdcdc1f79..00000000000
Binary files a/dev/_images/annotation_demo2_001.png and /dev/null differ
diff --git a/dev/_images/annotation_demo2_01.png b/dev/_images/annotation_demo2_01.png
deleted file mode 100644
index c5585eb52ee..00000000000
Binary files a/dev/_images/annotation_demo2_01.png and /dev/null differ
diff --git a/dev/_images/annotation_demo2_011.png b/dev/_images/annotation_demo2_011.png
deleted file mode 100644
index c5585eb52ee..00000000000
Binary files a/dev/_images/annotation_demo2_011.png and /dev/null differ
diff --git a/dev/_images/annotation_demo3.png b/dev/_images/annotation_demo3.png
deleted file mode 100644
index c7d022d5775..00000000000
Binary files a/dev/_images/annotation_demo3.png and /dev/null differ
diff --git a/dev/_images/annotation_demo_00.png b/dev/_images/annotation_demo_00.png
deleted file mode 100644
index 40062b448a1..00000000000
Binary files a/dev/_images/annotation_demo_00.png and /dev/null differ
diff --git a/dev/_images/annotation_demo_01.png b/dev/_images/annotation_demo_01.png
deleted file mode 100644
index 223e704db7c..00000000000
Binary files a/dev/_images/annotation_demo_01.png and /dev/null differ
diff --git a/dev/_images/annotation_demo_02.png b/dev/_images/annotation_demo_02.png
deleted file mode 100644
index ec47513eadd..00000000000
Binary files a/dev/_images/annotation_demo_02.png and /dev/null differ
diff --git a/dev/_images/annotation_polar.png b/dev/_images/annotation_polar.png
deleted file mode 100644
index 223e704db7c..00000000000
Binary files a/dev/_images/annotation_polar.png and /dev/null differ
diff --git a/dev/_images/anscombe.png b/dev/_images/anscombe.png
deleted file mode 100644
index abdd72dc668..00000000000
Binary files a/dev/_images/anscombe.png and /dev/null differ
diff --git a/dev/_images/arctest.png b/dev/_images/arctest.png
deleted file mode 100644
index 2839b0a7d4e..00000000000
Binary files a/dev/_images/arctest.png and /dev/null differ
diff --git a/dev/_images/arrow_demo.png b/dev/_images/arrow_demo.png
deleted file mode 100644
index ec238228be8..00000000000
Binary files a/dev/_images/arrow_demo.png and /dev/null differ
diff --git a/dev/_images/arrow_demo1.png b/dev/_images/arrow_demo1.png
deleted file mode 100644
index ec238228be8..00000000000
Binary files a/dev/_images/arrow_demo1.png and /dev/null differ
diff --git a/dev/_images/arrow_simple_demo.png b/dev/_images/arrow_simple_demo.png
deleted file mode 100644
index 19b3e420191..00000000000
Binary files a/dev/_images/arrow_simple_demo.png and /dev/null differ
diff --git a/dev/_images/artist_demo.png b/dev/_images/artist_demo.png
deleted file mode 100644
index a603600d141..00000000000
Binary files a/dev/_images/artist_demo.png and /dev/null differ
diff --git a/dev/_images/artist_tests.png b/dev/_images/artist_tests.png
deleted file mode 100644
index c28fb6655c3..00000000000
Binary files a/dev/_images/artist_tests.png and /dev/null differ
diff --git a/dev/_images/aspect_loglog.png b/dev/_images/aspect_loglog.png
deleted file mode 100644
index 98739cc5c42..00000000000
Binary files a/dev/_images/aspect_loglog.png and /dev/null differ
diff --git a/dev/_images/auto_subplots_adjust.png b/dev/_images/auto_subplots_adjust.png
deleted file mode 100644
index 96fa5c0bc75..00000000000
Binary files a/dev/_images/auto_subplots_adjust.png and /dev/null differ
diff --git a/dev/_images/axes_demo.png b/dev/_images/axes_demo.png
deleted file mode 100644
index 589f673469e..00000000000
Binary files a/dev/_images/axes_demo.png and /dev/null differ
diff --git a/dev/_images/axes_props.png b/dev/_images/axes_props.png
deleted file mode 100644
index e131ba0a990..00000000000
Binary files a/dev/_images/axes_props.png and /dev/null differ
diff --git a/dev/_images/axes_zoom_effect.png b/dev/_images/axes_zoom_effect.png
deleted file mode 100644
index 0fb88526c12..00000000000
Binary files a/dev/_images/axes_zoom_effect.png and /dev/null differ
diff --git a/dev/_images/axes_zoom_effect1.png b/dev/_images/axes_zoom_effect1.png
deleted file mode 100644
index 0fb88526c12..00000000000
Binary files a/dev/_images/axes_zoom_effect1.png and /dev/null differ
diff --git a/dev/_images/axhspan_demo.png b/dev/_images/axhspan_demo.png
deleted file mode 100644
index 9beeb93ef4d..00000000000
Binary files a/dev/_images/axhspan_demo.png and /dev/null differ
diff --git a/dev/_images/axhspan_demo1.png b/dev/_images/axhspan_demo1.png
deleted file mode 100644
index 9beeb93ef4d..00000000000
Binary files a/dev/_images/axhspan_demo1.png and /dev/null differ
diff --git a/dev/_images/axis_direction_demo_step01.png b/dev/_images/axis_direction_demo_step01.png
deleted file mode 100644
index cad9c683212..00000000000
Binary files a/dev/_images/axis_direction_demo_step01.png and /dev/null differ
diff --git a/dev/_images/axis_direction_demo_step02.png b/dev/_images/axis_direction_demo_step02.png
deleted file mode 100644
index 6b7a0c29d7a..00000000000
Binary files a/dev/_images/axis_direction_demo_step02.png and /dev/null differ
diff --git a/dev/_images/axis_direction_demo_step03.png b/dev/_images/axis_direction_demo_step03.png
deleted file mode 100644
index 82f8431e46d..00000000000
Binary files a/dev/_images/axis_direction_demo_step03.png and /dev/null differ
diff --git a/dev/_images/axis_direction_demo_step04.png b/dev/_images/axis_direction_demo_step04.png
deleted file mode 100644
index 83ea62c1edf..00000000000
Binary files a/dev/_images/axis_direction_demo_step04.png and /dev/null differ
diff --git a/dev/_images/axis_equal_demo.png b/dev/_images/axis_equal_demo.png
deleted file mode 100644
index dcd0dd66690..00000000000
Binary files a/dev/_images/axis_equal_demo.png and /dev/null differ
diff --git a/dev/_images/back.png b/dev/_images/back.png
deleted file mode 100644
index c23e1b5570f..00000000000
Binary files a/dev/_images/back.png and /dev/null differ
diff --git a/dev/_images/bar_demo2.png b/dev/_images/bar_demo2.png
deleted file mode 100644
index ca2a42621ef..00000000000
Binary files a/dev/_images/bar_demo2.png and /dev/null differ
diff --git a/dev/_images/bar_stacked.png b/dev/_images/bar_stacked.png
deleted file mode 100644
index 6ff0fc52374..00000000000
Binary files a/dev/_images/bar_stacked.png and /dev/null differ
diff --git a/dev/_images/bar_stacked1.png b/dev/_images/bar_stacked1.png
deleted file mode 100644
index c997e270bbe..00000000000
Binary files a/dev/_images/bar_stacked1.png and /dev/null differ
diff --git a/dev/_images/bar_unit_demo.png b/dev/_images/bar_unit_demo.png
deleted file mode 100644
index 0a9b1701cf3..00000000000
Binary files a/dev/_images/bar_unit_demo.png and /dev/null differ
diff --git a/dev/_images/barb_demo_00.png b/dev/_images/barb_demo_00.png
deleted file mode 100644
index 68f8a269e31..00000000000
Binary files a/dev/_images/barb_demo_00.png and /dev/null differ
diff --git a/dev/_images/barb_demo_001.png b/dev/_images/barb_demo_001.png
deleted file mode 100644
index 68f8a269e31..00000000000
Binary files a/dev/_images/barb_demo_001.png and /dev/null differ
diff --git a/dev/_images/barb_demo_01.png b/dev/_images/barb_demo_01.png
deleted file mode 100644
index c91caf8f444..00000000000
Binary files a/dev/_images/barb_demo_01.png and /dev/null differ
diff --git a/dev/_images/barb_demo_011.png b/dev/_images/barb_demo_011.png
deleted file mode 100644
index c91caf8f444..00000000000
Binary files a/dev/_images/barb_demo_011.png and /dev/null differ
diff --git a/dev/_images/barchart_demo.png b/dev/_images/barchart_demo.png
deleted file mode 100644
index 16a956b6e51..00000000000
Binary files a/dev/_images/barchart_demo.png and /dev/null differ
diff --git a/dev/_images/barchart_demo1.png b/dev/_images/barchart_demo1.png
deleted file mode 100644
index a160d8aa8a2..00000000000
Binary files a/dev/_images/barchart_demo1.png and /dev/null differ
diff --git a/dev/_images/barchart_demo2.png b/dev/_images/barchart_demo2.png
deleted file mode 100644
index 87c173f6622..00000000000
Binary files a/dev/_images/barchart_demo2.png and /dev/null differ
diff --git a/dev/_images/barchart_demo3.png b/dev/_images/barchart_demo3.png
deleted file mode 100644
index a160d8aa8a2..00000000000
Binary files a/dev/_images/barchart_demo3.png and /dev/null differ
diff --git a/dev/_images/barcode_demo.png b/dev/_images/barcode_demo.png
deleted file mode 100644
index ba11e409db1..00000000000
Binary files a/dev/_images/barcode_demo.png and /dev/null differ
diff --git a/dev/_images/barh_demo_00.png b/dev/_images/barh_demo_00.png
deleted file mode 100644
index 0475157c815..00000000000
Binary files a/dev/_images/barh_demo_00.png and /dev/null differ
diff --git a/dev/_images/barh_demo_01.png b/dev/_images/barh_demo_01.png
deleted file mode 100644
index 877f5586503..00000000000
Binary files a/dev/_images/barh_demo_01.png and /dev/null differ
diff --git a/dev/_images/bars3d_demo.png b/dev/_images/bars3d_demo.png
deleted file mode 100644
index 3c74d94fbbc..00000000000
Binary files a/dev/_images/bars3d_demo.png and /dev/null differ
diff --git a/dev/_images/bars3d_demo1.png b/dev/_images/bars3d_demo1.png
deleted file mode 100644
index 3c74d94fbbc..00000000000
Binary files a/dev/_images/bars3d_demo1.png and /dev/null differ
diff --git a/dev/_images/bbox_intersect.png b/dev/_images/bbox_intersect.png
deleted file mode 100644
index 205a3a30f75..00000000000
Binary files a/dev/_images/bbox_intersect.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo2.png b/dev/_images/boxplot_demo2.png
deleted file mode 100644
index 59dc5773867..00000000000
Binary files a/dev/_images/boxplot_demo2.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo3.png b/dev/_images/boxplot_demo3.png
deleted file mode 100644
index 8617db018a4..00000000000
Binary files a/dev/_images/boxplot_demo3.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo31.png b/dev/_images/boxplot_demo31.png
deleted file mode 100644
index 8617db018a4..00000000000
Binary files a/dev/_images/boxplot_demo31.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_00.png b/dev/_images/boxplot_demo_00.png
deleted file mode 100644
index bedd286940e..00000000000
Binary files a/dev/_images/boxplot_demo_00.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_001.png b/dev/_images/boxplot_demo_001.png
deleted file mode 100644
index 1cfca29d061..00000000000
Binary files a/dev/_images/boxplot_demo_001.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_01.png b/dev/_images/boxplot_demo_01.png
deleted file mode 100644
index 1a36c9a1953..00000000000
Binary files a/dev/_images/boxplot_demo_01.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_011.png b/dev/_images/boxplot_demo_011.png
deleted file mode 100644
index ccbcdbd9f29..00000000000
Binary files a/dev/_images/boxplot_demo_011.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_02.png b/dev/_images/boxplot_demo_02.png
deleted file mode 100644
index 7aafb212af6..00000000000
Binary files a/dev/_images/boxplot_demo_02.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_021.png b/dev/_images/boxplot_demo_021.png
deleted file mode 100644
index eb3f719cff0..00000000000
Binary files a/dev/_images/boxplot_demo_021.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_03.png b/dev/_images/boxplot_demo_03.png
deleted file mode 100644
index 3bb2e949b82..00000000000
Binary files a/dev/_images/boxplot_demo_03.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_031.png b/dev/_images/boxplot_demo_031.png
deleted file mode 100644
index 209f713ffff..00000000000
Binary files a/dev/_images/boxplot_demo_031.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_04.png b/dev/_images/boxplot_demo_04.png
deleted file mode 100644
index ba4baf0bffc..00000000000
Binary files a/dev/_images/boxplot_demo_04.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_041.png b/dev/_images/boxplot_demo_041.png
deleted file mode 100644
index 30dd8832e8f..00000000000
Binary files a/dev/_images/boxplot_demo_041.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_05.png b/dev/_images/boxplot_demo_05.png
deleted file mode 100644
index e90d3bc0172..00000000000
Binary files a/dev/_images/boxplot_demo_05.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_051.png b/dev/_images/boxplot_demo_051.png
deleted file mode 100644
index 72edd5507e6..00000000000
Binary files a/dev/_images/boxplot_demo_051.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_06.png b/dev/_images/boxplot_demo_06.png
deleted file mode 100644
index 5673bce525c..00000000000
Binary files a/dev/_images/boxplot_demo_06.png and /dev/null differ
diff --git a/dev/_images/boxplot_demo_061.png b/dev/_images/boxplot_demo_061.png
deleted file mode 100644
index 45c364db183..00000000000
Binary files a/dev/_images/boxplot_demo_061.png and /dev/null differ
diff --git a/dev/_images/branch_list.png b/dev/_images/branch_list.png
deleted file mode 100644
index 1196eb754d3..00000000000
Binary files a/dev/_images/branch_list.png and /dev/null differ
diff --git a/dev/_images/branch_list_compare.png b/dev/_images/branch_list_compare.png
deleted file mode 100644
index 336afa37460..00000000000
Binary files a/dev/_images/branch_list_compare.png and /dev/null differ
diff --git a/dev/_images/break.png b/dev/_images/break.png
deleted file mode 100644
index ad7431781cc..00000000000
Binary files a/dev/_images/break.png and /dev/null differ
diff --git a/dev/_images/broken_axis.png b/dev/_images/broken_axis.png
deleted file mode 100644
index 96acb141784..00000000000
Binary files a/dev/_images/broken_axis.png and /dev/null differ
diff --git a/dev/_images/broken_barh.png b/dev/_images/broken_barh.png
deleted file mode 100644
index 50d6fa1cdaf..00000000000
Binary files a/dev/_images/broken_barh.png and /dev/null differ
diff --git a/dev/_images/broken_barh1.png b/dev/_images/broken_barh1.png
deleted file mode 100644
index 50d6fa1cdaf..00000000000
Binary files a/dev/_images/broken_barh1.png and /dev/null differ
diff --git a/dev/_images/centered_ticklabels.png b/dev/_images/centered_ticklabels.png
deleted file mode 100644
index ae05ab9acf4..00000000000
Binary files a/dev/_images/centered_ticklabels.png and /dev/null differ
diff --git a/dev/_images/clippath_demo.png b/dev/_images/clippath_demo.png
deleted file mode 100644
index c9e551fe3e3..00000000000
Binary files a/dev/_images/clippath_demo.png and /dev/null differ
diff --git a/dev/_images/clippedline.png b/dev/_images/clippedline.png
deleted file mode 100644
index b5e12533d08..00000000000
Binary files a/dev/_images/clippedline.png and /dev/null differ
diff --git a/dev/_images/cm_fontset.png b/dev/_images/cm_fontset.png
deleted file mode 100644
index 328ba1348fa..00000000000
Binary files a/dev/_images/cm_fontset.png and /dev/null differ
diff --git a/dev/_images/cohere_demo.png b/dev/_images/cohere_demo.png
deleted file mode 100644
index 7ca0d4474e0..00000000000
Binary files a/dev/_images/cohere_demo.png and /dev/null differ
diff --git a/dev/_images/cohere_demo1.png b/dev/_images/cohere_demo1.png
deleted file mode 100644
index 7ca0d4474e0..00000000000
Binary files a/dev/_images/cohere_demo1.png and /dev/null differ
diff --git a/dev/_images/collections_demo.png b/dev/_images/collections_demo.png
deleted file mode 100644
index df8395ee38f..00000000000
Binary files a/dev/_images/collections_demo.png and /dev/null differ
diff --git a/dev/_images/color_by_yvalue.png b/dev/_images/color_by_yvalue.png
deleted file mode 100644
index 5a875bc70f9..00000000000
Binary files a/dev/_images/color_by_yvalue.png and /dev/null differ
diff --git a/dev/_images/color_cycle.png b/dev/_images/color_cycle.png
deleted file mode 100644
index e85016978b3..00000000000
Binary files a/dev/_images/color_cycle.png and /dev/null differ
diff --git a/dev/_images/color_cycle_demo.png b/dev/_images/color_cycle_demo.png
deleted file mode 100644
index 3e87f9c9531..00000000000
Binary files a/dev/_images/color_cycle_demo.png and /dev/null differ
diff --git a/dev/_images/color_demo.png b/dev/_images/color_demo.png
deleted file mode 100644
index 10cf549701b..00000000000
Binary files a/dev/_images/color_demo.png and /dev/null differ
diff --git a/dev/_images/colorbar_only.png b/dev/_images/colorbar_only.png
deleted file mode 100644
index 673aa093e7f..00000000000
Binary files a/dev/_images/colorbar_only.png and /dev/null differ
diff --git a/dev/_images/colorbar_tick_labelling_demo_00.png b/dev/_images/colorbar_tick_labelling_demo_00.png
deleted file mode 100644
index 0d49e8dba9f..00000000000
Binary files a/dev/_images/colorbar_tick_labelling_demo_00.png and /dev/null differ
diff --git a/dev/_images/colorbar_tick_labelling_demo_01.png b/dev/_images/colorbar_tick_labelling_demo_01.png
deleted file mode 100644
index 10b029cc466..00000000000
Binary files a/dev/_images/colorbar_tick_labelling_demo_01.png and /dev/null differ
diff --git a/dev/_images/colormaps_reference_00.png b/dev/_images/colormaps_reference_00.png
deleted file mode 100644
index 0b6464522ee..00000000000
Binary files a/dev/_images/colormaps_reference_00.png and /dev/null differ
diff --git a/dev/_images/colormaps_reference_01.png b/dev/_images/colormaps_reference_01.png
deleted file mode 100644
index 22a8e726599..00000000000
Binary files a/dev/_images/colormaps_reference_01.png and /dev/null differ
diff --git a/dev/_images/colormaps_reference_02.png b/dev/_images/colormaps_reference_02.png
deleted file mode 100644
index 744549fcc6f..00000000000
Binary files a/dev/_images/colormaps_reference_02.png and /dev/null differ
diff --git a/dev/_images/colormaps_reference_03.png b/dev/_images/colormaps_reference_03.png
deleted file mode 100644
index 290af2cc738..00000000000
Binary files a/dev/_images/colormaps_reference_03.png and /dev/null differ
diff --git a/dev/_images/colormaps_reference_04.png b/dev/_images/colormaps_reference_04.png
deleted file mode 100644
index 40168bdc64f..00000000000
Binary files a/dev/_images/colormaps_reference_04.png and /dev/null differ
diff --git a/dev/_images/compound_path.png b/dev/_images/compound_path.png
deleted file mode 100644
index fa971e0da7e..00000000000
Binary files a/dev/_images/compound_path.png and /dev/null differ
diff --git a/dev/_images/compound_path_demo.png b/dev/_images/compound_path_demo.png
deleted file mode 100644
index 1c2e04b7b6a..00000000000
Binary files a/dev/_images/compound_path_demo.png and /dev/null differ
diff --git a/dev/_images/connect_simple01.png b/dev/_images/connect_simple01.png
deleted file mode 100644
index aeff0ef5d8a..00000000000
Binary files a/dev/_images/connect_simple01.png and /dev/null differ
diff --git a/dev/_images/connectionstyle_demo.png b/dev/_images/connectionstyle_demo.png
deleted file mode 100644
index e4cbad2d0a5..00000000000
Binary files a/dev/_images/connectionstyle_demo.png and /dev/null differ
diff --git a/dev/_images/contour3d_demo.png b/dev/_images/contour3d_demo.png
deleted file mode 100644
index 430347b1d11..00000000000
Binary files a/dev/_images/contour3d_demo.png and /dev/null differ
diff --git a/dev/_images/contour3d_demo1.png b/dev/_images/contour3d_demo1.png
deleted file mode 100644
index 430347b1d11..00000000000
Binary files a/dev/_images/contour3d_demo1.png and /dev/null differ
diff --git a/dev/_images/contour3d_demo2.png b/dev/_images/contour3d_demo2.png
deleted file mode 100644
index abddb58c5c1..00000000000
Binary files a/dev/_images/contour3d_demo2.png and /dev/null differ
diff --git a/dev/_images/contour3d_demo21.png b/dev/_images/contour3d_demo21.png
deleted file mode 100644
index f616dcf2d25..00000000000
Binary files a/dev/_images/contour3d_demo21.png and /dev/null differ
diff --git a/dev/_images/contour3d_demo3.png b/dev/_images/contour3d_demo3.png
deleted file mode 100644
index 17d4c300104..00000000000
Binary files a/dev/_images/contour3d_demo3.png and /dev/null differ
diff --git a/dev/_images/contour3d_demo31.png b/dev/_images/contour3d_demo31.png
deleted file mode 100644
index 17d4c300104..00000000000
Binary files a/dev/_images/contour3d_demo31.png and /dev/null differ
diff --git a/dev/_images/contour_demo_00.png b/dev/_images/contour_demo_00.png
deleted file mode 100644
index 67c8850aa32..00000000000
Binary files a/dev/_images/contour_demo_00.png and /dev/null differ
diff --git a/dev/_images/contour_demo_001.png b/dev/_images/contour_demo_001.png
deleted file mode 100644
index 67c8850aa32..00000000000
Binary files a/dev/_images/contour_demo_001.png and /dev/null differ
diff --git a/dev/_images/contour_demo_01.png b/dev/_images/contour_demo_01.png
deleted file mode 100644
index fd1fe8769b8..00000000000
Binary files a/dev/_images/contour_demo_01.png and /dev/null differ
diff --git a/dev/_images/contour_demo_011.png b/dev/_images/contour_demo_011.png
deleted file mode 100644
index fd1fe8769b8..00000000000
Binary files a/dev/_images/contour_demo_011.png and /dev/null differ
diff --git a/dev/_images/contour_demo_02.png b/dev/_images/contour_demo_02.png
deleted file mode 100644
index 5f0fb74c5de..00000000000
Binary files a/dev/_images/contour_demo_02.png and /dev/null differ
diff --git a/dev/_images/contour_demo_021.png b/dev/_images/contour_demo_021.png
deleted file mode 100644
index 5f0fb74c5de..00000000000
Binary files a/dev/_images/contour_demo_021.png and /dev/null differ
diff --git a/dev/_images/contour_demo_03.png b/dev/_images/contour_demo_03.png
deleted file mode 100644
index de262b5940b..00000000000
Binary files a/dev/_images/contour_demo_03.png and /dev/null differ
diff --git a/dev/_images/contour_demo_031.png b/dev/_images/contour_demo_031.png
deleted file mode 100644
index de262b5940b..00000000000
Binary files a/dev/_images/contour_demo_031.png and /dev/null differ
diff --git a/dev/_images/contour_demo_04.png b/dev/_images/contour_demo_04.png
deleted file mode 100644
index d7b30dcc310..00000000000
Binary files a/dev/_images/contour_demo_04.png and /dev/null differ
diff --git a/dev/_images/contour_demo_041.png b/dev/_images/contour_demo_041.png
deleted file mode 100644
index d7b30dcc310..00000000000
Binary files a/dev/_images/contour_demo_041.png and /dev/null differ
diff --git a/dev/_images/contour_demo_05.png b/dev/_images/contour_demo_05.png
deleted file mode 100644
index 2605daec437..00000000000
Binary files a/dev/_images/contour_demo_05.png and /dev/null differ
diff --git a/dev/_images/contour_demo_051.png b/dev/_images/contour_demo_051.png
deleted file mode 100644
index 2605daec437..00000000000
Binary files a/dev/_images/contour_demo_051.png and /dev/null differ
diff --git a/dev/_images/contour_image.png b/dev/_images/contour_image.png
deleted file mode 100644
index 6c2101fd51a..00000000000
Binary files a/dev/_images/contour_image.png and /dev/null differ
diff --git a/dev/_images/contour_label_demo_00.png b/dev/_images/contour_label_demo_00.png
deleted file mode 100644
index 9dc8916877d..00000000000
Binary files a/dev/_images/contour_label_demo_00.png and /dev/null differ
diff --git a/dev/_images/contour_label_demo_01.png b/dev/_images/contour_label_demo_01.png
deleted file mode 100644
index 37503667c6f..00000000000
Binary files a/dev/_images/contour_label_demo_01.png and /dev/null differ
diff --git a/dev/_images/contour_label_demo_02.png b/dev/_images/contour_label_demo_02.png
deleted file mode 100644
index 625a7cd8a43..00000000000
Binary files a/dev/_images/contour_label_demo_02.png and /dev/null differ
diff --git a/dev/_images/contourf3d_demo.png b/dev/_images/contourf3d_demo.png
deleted file mode 100644
index ef58900e506..00000000000
Binary files a/dev/_images/contourf3d_demo.png and /dev/null differ
diff --git a/dev/_images/contourf3d_demo1.png b/dev/_images/contourf3d_demo1.png
deleted file mode 100644
index ef58900e506..00000000000
Binary files a/dev/_images/contourf3d_demo1.png and /dev/null differ
diff --git a/dev/_images/contourf3d_demo2.png b/dev/_images/contourf3d_demo2.png
deleted file mode 100644
index c0d88f0b8c8..00000000000
Binary files a/dev/_images/contourf3d_demo2.png and /dev/null differ
diff --git a/dev/_images/contourf3d_demo21.png b/dev/_images/contourf3d_demo21.png
deleted file mode 100644
index c0d88f0b8c8..00000000000
Binary files a/dev/_images/contourf3d_demo21.png and /dev/null differ
diff --git a/dev/_images/contourf3d_demo22.png b/dev/_images/contourf3d_demo22.png
deleted file mode 100644
index c0d88f0b8c8..00000000000
Binary files a/dev/_images/contourf3d_demo22.png and /dev/null differ
diff --git a/dev/_images/contourf_demo_00.png b/dev/_images/contourf_demo_00.png
deleted file mode 100644
index 20605f13bca..00000000000
Binary files a/dev/_images/contourf_demo_00.png and /dev/null differ
diff --git a/dev/_images/contourf_demo_001.png b/dev/_images/contourf_demo_001.png
deleted file mode 100644
index 20605f13bca..00000000000
Binary files a/dev/_images/contourf_demo_001.png and /dev/null differ
diff --git a/dev/_images/contourf_demo_01.png b/dev/_images/contourf_demo_01.png
deleted file mode 100644
index 5c6ce0e2002..00000000000
Binary files a/dev/_images/contourf_demo_01.png and /dev/null differ
diff --git a/dev/_images/contourf_demo_011.png b/dev/_images/contourf_demo_011.png
deleted file mode 100644
index 5c6ce0e2002..00000000000
Binary files a/dev/_images/contourf_demo_011.png and /dev/null differ
diff --git a/dev/_images/contourf_demo_02.png b/dev/_images/contourf_demo_02.png
deleted file mode 100644
index 114db83fe43..00000000000
Binary files a/dev/_images/contourf_demo_02.png and /dev/null differ
diff --git a/dev/_images/contourf_demo_021.png b/dev/_images/contourf_demo_021.png
deleted file mode 100644
index 114db83fe43..00000000000
Binary files a/dev/_images/contourf_demo_021.png and /dev/null differ
diff --git a/dev/_images/contourf_hatching_00.png b/dev/_images/contourf_hatching_00.png
deleted file mode 100644
index 728bd3dd212..00000000000
Binary files a/dev/_images/contourf_hatching_00.png and /dev/null differ
diff --git a/dev/_images/contourf_hatching_001.png b/dev/_images/contourf_hatching_001.png
deleted file mode 100644
index 728bd3dd212..00000000000
Binary files a/dev/_images/contourf_hatching_001.png and /dev/null differ
diff --git a/dev/_images/contourf_hatching_01.png b/dev/_images/contourf_hatching_01.png
deleted file mode 100644
index 3781aa69b14..00000000000
Binary files a/dev/_images/contourf_hatching_01.png and /dev/null differ
diff --git a/dev/_images/contourf_hatching_011.png b/dev/_images/contourf_hatching_011.png
deleted file mode 100644
index 3781aa69b14..00000000000
Binary files a/dev/_images/contourf_hatching_011.png and /dev/null differ
diff --git a/dev/_images/contourf_log.png b/dev/_images/contourf_log.png
deleted file mode 100644
index dd2227461c0..00000000000
Binary files a/dev/_images/contourf_log.png and /dev/null differ
diff --git a/dev/_images/coords_demo.png b/dev/_images/coords_demo.png
deleted file mode 100644
index 482742399cc..00000000000
Binary files a/dev/_images/coords_demo.png and /dev/null differ
diff --git a/dev/_images/coords_report.png b/dev/_images/coords_report.png
deleted file mode 100644
index fa0c9518b0f..00000000000
Binary files a/dev/_images/coords_report.png and /dev/null differ
diff --git a/dev/_images/csd_demo.png b/dev/_images/csd_demo.png
deleted file mode 100644
index 08d746b61b6..00000000000
Binary files a/dev/_images/csd_demo.png and /dev/null differ
diff --git a/dev/_images/csd_demo1.png b/dev/_images/csd_demo1.png
deleted file mode 100644
index 08d746b61b6..00000000000
Binary files a/dev/_images/csd_demo1.png and /dev/null differ
diff --git a/dev/_images/cursor.png b/dev/_images/cursor.png
deleted file mode 100644
index a4fa08b0726..00000000000
Binary files a/dev/_images/cursor.png and /dev/null differ
diff --git a/dev/_images/custom_boxstyle01.png b/dev/_images/custom_boxstyle01.png
deleted file mode 100644
index 1acbf465afb..00000000000
Binary files a/dev/_images/custom_boxstyle01.png and /dev/null differ
diff --git a/dev/_images/custom_boxstyle02.png b/dev/_images/custom_boxstyle02.png
deleted file mode 100644
index 26bce6a107d..00000000000
Binary files a/dev/_images/custom_boxstyle02.png and /dev/null differ
diff --git a/dev/_images/custom_cmap.png b/dev/_images/custom_cmap.png
deleted file mode 100644
index 80b5aea934d..00000000000
Binary files a/dev/_images/custom_cmap.png and /dev/null differ
diff --git a/dev/_images/custom_figure_class.png b/dev/_images/custom_figure_class.png
deleted file mode 100644
index 2b9fccaf21d..00000000000
Binary files a/dev/_images/custom_figure_class.png and /dev/null differ
diff --git a/dev/_images/custom_projection_example.png b/dev/_images/custom_projection_example.png
deleted file mode 100644
index 8c2903d0d28..00000000000
Binary files a/dev/_images/custom_projection_example.png and /dev/null differ
diff --git a/dev/_images/custom_scale_example.png b/dev/_images/custom_scale_example.png
deleted file mode 100644
index ce37637090f..00000000000
Binary files a/dev/_images/custom_scale_example.png and /dev/null differ
diff --git a/dev/_images/custom_ticker1.png b/dev/_images/custom_ticker1.png
deleted file mode 100644
index 3599c45e540..00000000000
Binary files a/dev/_images/custom_ticker1.png and /dev/null differ
diff --git a/dev/_images/customize_rc.png b/dev/_images/customize_rc.png
deleted file mode 100644
index fcd1fc2f636..00000000000
Binary files a/dev/_images/customize_rc.png and /dev/null differ
diff --git a/dev/_images/dannys_example.png b/dev/_images/dannys_example.png
deleted file mode 100644
index 6eccb9f62e8..00000000000
Binary files a/dev/_images/dannys_example.png and /dev/null differ
diff --git a/dev/_images/dash_control.png b/dev/_images/dash_control.png
deleted file mode 100644
index ebe5876e723..00000000000
Binary files a/dev/_images/dash_control.png and /dev/null differ
diff --git a/dev/_images/dashpointlabel.png b/dev/_images/dashpointlabel.png
deleted file mode 100644
index 9bce699f936..00000000000
Binary files a/dev/_images/dashpointlabel.png and /dev/null differ
diff --git a/dev/_images/date_demo.png b/dev/_images/date_demo.png
deleted file mode 100644
index 43b58809714..00000000000
Binary files a/dev/_images/date_demo.png and /dev/null differ
diff --git a/dev/_images/date_demo1.png b/dev/_images/date_demo1.png
deleted file mode 100644
index 15db3389736..00000000000
Binary files a/dev/_images/date_demo1.png and /dev/null differ
diff --git a/dev/_images/date_demo2.png b/dev/_images/date_demo2.png
deleted file mode 100644
index b0be27d25ea..00000000000
Binary files a/dev/_images/date_demo2.png and /dev/null differ
diff --git a/dev/_images/date_demo3.png b/dev/_images/date_demo3.png
deleted file mode 100644
index 43b58809714..00000000000
Binary files a/dev/_images/date_demo3.png and /dev/null differ
diff --git a/dev/_images/date_demo_convert.png b/dev/_images/date_demo_convert.png
deleted file mode 100644
index 7e1c2626a5e..00000000000
Binary files a/dev/_images/date_demo_convert.png and /dev/null differ
diff --git a/dev/_images/date_demo_rrule.png b/dev/_images/date_demo_rrule.png
deleted file mode 100644
index 5525beeaaaa..00000000000
Binary files a/dev/_images/date_demo_rrule.png and /dev/null differ
diff --git a/dev/_images/date_index_formatter.png b/dev/_images/date_index_formatter.png
deleted file mode 100644
index 7b5bbf01dc0..00000000000
Binary files a/dev/_images/date_index_formatter.png and /dev/null differ
diff --git a/dev/_images/date_index_formatter_00.png b/dev/_images/date_index_formatter_00.png
deleted file mode 100644
index 23385f8e87f..00000000000
Binary files a/dev/_images/date_index_formatter_00.png and /dev/null differ
diff --git a/dev/_images/date_index_formatter_01.png b/dev/_images/date_index_formatter_01.png
deleted file mode 100644
index 44ce7b9ec08..00000000000
Binary files a/dev/_images/date_index_formatter_01.png and /dev/null differ
diff --git a/dev/_images/demo_affine_image_00_00.png b/dev/_images/demo_affine_image_00_00.png
deleted file mode 100644
index ade67c73caa..00000000000
Binary files a/dev/_images/demo_affine_image_00_00.png and /dev/null differ
diff --git a/dev/_images/demo_agg_filter.png b/dev/_images/demo_agg_filter.png
deleted file mode 100644
index 044b1cda6cc..00000000000
Binary files a/dev/_images/demo_agg_filter.png and /dev/null differ
diff --git a/dev/_images/demo_annotation_box.png b/dev/_images/demo_annotation_box.png
deleted file mode 100644
index 5917eec05be..00000000000
Binary files a/dev/_images/demo_annotation_box.png and /dev/null differ
diff --git a/dev/_images/demo_axes_divider_01_00.png b/dev/_images/demo_axes_divider_01_00.png
deleted file mode 100644
index 02c2071e2a0..00000000000
Binary files a/dev/_images/demo_axes_divider_01_00.png and /dev/null differ
diff --git a/dev/_images/demo_axes_grid.png b/dev/_images/demo_axes_grid.png
deleted file mode 100644
index 377fb1269ea..00000000000
Binary files a/dev/_images/demo_axes_grid.png and /dev/null differ
diff --git a/dev/_images/demo_axes_grid1.png b/dev/_images/demo_axes_grid1.png
deleted file mode 100644
index 9af9fdfe638..00000000000
Binary files a/dev/_images/demo_axes_grid1.png and /dev/null differ
diff --git a/dev/_images/demo_axes_grid2.png b/dev/_images/demo_axes_grid2.png
deleted file mode 100644
index ae8f5711897..00000000000
Binary files a/dev/_images/demo_axes_grid2.png and /dev/null differ
diff --git a/dev/_images/demo_axes_grid3.png b/dev/_images/demo_axes_grid3.png
deleted file mode 100644
index 377fb1269ea..00000000000
Binary files a/dev/_images/demo_axes_grid3.png and /dev/null differ
diff --git a/dev/_images/demo_axes_grid4.png b/dev/_images/demo_axes_grid4.png
deleted file mode 100644
index 9af9fdfe638..00000000000
Binary files a/dev/_images/demo_axes_grid4.png and /dev/null differ
diff --git a/dev/_images/demo_axes_hbox_divider.png b/dev/_images/demo_axes_hbox_divider.png
deleted file mode 100644
index 0c697e6498a..00000000000
Binary files a/dev/_images/demo_axes_hbox_divider.png and /dev/null differ
diff --git a/dev/_images/demo_axes_rgb_00.png b/dev/_images/demo_axes_rgb_00.png
deleted file mode 100644
index 4b92809001c..00000000000
Binary files a/dev/_images/demo_axes_rgb_00.png and /dev/null differ
diff --git a/dev/_images/demo_axes_rgb_01.png b/dev/_images/demo_axes_rgb_01.png
deleted file mode 100644
index 5f33f38a236..00000000000
Binary files a/dev/_images/demo_axes_rgb_01.png and /dev/null differ
diff --git a/dev/_images/demo_axis_direction.png b/dev/_images/demo_axis_direction.png
deleted file mode 100644
index c2b580dff3d..00000000000
Binary files a/dev/_images/demo_axis_direction.png and /dev/null differ
diff --git a/dev/_images/demo_axisline_style.png b/dev/_images/demo_axisline_style.png
deleted file mode 100644
index 69343b482f0..00000000000
Binary files a/dev/_images/demo_axisline_style.png and /dev/null differ
diff --git a/dev/_images/demo_bboximage.png b/dev/_images/demo_bboximage.png
deleted file mode 100644
index c68722cd171..00000000000
Binary files a/dev/_images/demo_bboximage.png and /dev/null differ
diff --git a/dev/_images/demo_colorbar_with_inset_locator.png b/dev/_images/demo_colorbar_with_inset_locator.png
deleted file mode 100644
index f23dab10f69..00000000000
Binary files a/dev/_images/demo_colorbar_with_inset_locator.png and /dev/null differ
diff --git a/dev/_images/demo_curvelinear_grid.png b/dev/_images/demo_curvelinear_grid.png
deleted file mode 100644
index 490d7849657..00000000000
Binary files a/dev/_images/demo_curvelinear_grid.png and /dev/null differ
diff --git a/dev/_images/demo_curvelinear_grid1.png b/dev/_images/demo_curvelinear_grid1.png
deleted file mode 100644
index 490d7849657..00000000000
Binary files a/dev/_images/demo_curvelinear_grid1.png and /dev/null differ
diff --git a/dev/_images/demo_curvelinear_grid2.png b/dev/_images/demo_curvelinear_grid2.png
deleted file mode 100644
index 95fc60d6676..00000000000
Binary files a/dev/_images/demo_curvelinear_grid2.png and /dev/null differ
diff --git a/dev/_images/demo_edge_colorbar.png b/dev/_images/demo_edge_colorbar.png
deleted file mode 100644
index 2b3c85ff219..00000000000
Binary files a/dev/_images/demo_edge_colorbar.png and /dev/null differ
diff --git a/dev/_images/demo_floating_axes.png b/dev/_images/demo_floating_axes.png
deleted file mode 100644
index 5ef60d9e119..00000000000
Binary files a/dev/_images/demo_floating_axes.png and /dev/null differ
diff --git a/dev/_images/demo_floating_axes1.png b/dev/_images/demo_floating_axes1.png
deleted file mode 100644
index 667457dac02..00000000000
Binary files a/dev/_images/demo_floating_axes1.png and /dev/null differ
diff --git a/dev/_images/demo_floating_axis.png b/dev/_images/demo_floating_axis.png
deleted file mode 100644
index a19c9599b92..00000000000
Binary files a/dev/_images/demo_floating_axis.png and /dev/null differ
diff --git a/dev/_images/demo_floating_axis1.png b/dev/_images/demo_floating_axis1.png
deleted file mode 100644
index a19c9599b92..00000000000
Binary files a/dev/_images/demo_floating_axis1.png and /dev/null differ
diff --git a/dev/_images/demo_gridspec01.png b/dev/_images/demo_gridspec01.png
deleted file mode 100644
index 533e719f631..00000000000
Binary files a/dev/_images/demo_gridspec01.png and /dev/null differ
diff --git a/dev/_images/demo_gridspec02.png b/dev/_images/demo_gridspec02.png
deleted file mode 100644
index e2c9b75e537..00000000000
Binary files a/dev/_images/demo_gridspec02.png and /dev/null differ
diff --git a/dev/_images/demo_gridspec03.png b/dev/_images/demo_gridspec03.png
deleted file mode 100644
index 4d3c043e1f4..00000000000
Binary files a/dev/_images/demo_gridspec03.png and /dev/null differ
diff --git a/dev/_images/demo_gridspec04.png b/dev/_images/demo_gridspec04.png
deleted file mode 100644
index c7d2c15de54..00000000000
Binary files a/dev/_images/demo_gridspec04.png and /dev/null differ
diff --git a/dev/_images/demo_gridspec05.png b/dev/_images/demo_gridspec05.png
deleted file mode 100644
index 034946a00d9..00000000000
Binary files a/dev/_images/demo_gridspec05.png and /dev/null differ
diff --git a/dev/_images/demo_gridspec06.png b/dev/_images/demo_gridspec06.png
deleted file mode 100644
index 389a75d03fa..00000000000
Binary files a/dev/_images/demo_gridspec06.png and /dev/null differ
diff --git a/dev/_images/demo_mplot3d.png b/dev/_images/demo_mplot3d.png
deleted file mode 100644
index e1d9b77240f..00000000000
Binary files a/dev/_images/demo_mplot3d.png and /dev/null differ
diff --git a/dev/_images/demo_parasite_axes2_00_00.png b/dev/_images/demo_parasite_axes2_00_00.png
deleted file mode 100644
index 1e2f2c2b4a2..00000000000
Binary files a/dev/_images/demo_parasite_axes2_00_00.png and /dev/null differ
diff --git a/dev/_images/demo_parasite_axes2_00_001.png b/dev/_images/demo_parasite_axes2_00_001.png
deleted file mode 100644
index 1e2f2c2b4a2..00000000000
Binary files a/dev/_images/demo_parasite_axes2_00_001.png and /dev/null differ
diff --git a/dev/_images/demo_ribbon_box.png b/dev/_images/demo_ribbon_box.png
deleted file mode 100644
index bd5ba7303a2..00000000000
Binary files a/dev/_images/demo_ribbon_box.png and /dev/null differ
diff --git a/dev/_images/demo_text_path.png b/dev/_images/demo_text_path.png
deleted file mode 100644
index 8684eccd575..00000000000
Binary files a/dev/_images/demo_text_path.png and /dev/null differ
diff --git a/dev/_images/demo_text_rotation_mode.png b/dev/_images/demo_text_rotation_mode.png
deleted file mode 100644
index 403d0368769..00000000000
Binary files a/dev/_images/demo_text_rotation_mode.png and /dev/null differ
diff --git a/dev/_images/demo_ticklabel_alignment.png b/dev/_images/demo_ticklabel_alignment.png
deleted file mode 100644
index 3201870550b..00000000000
Binary files a/dev/_images/demo_ticklabel_alignment.png and /dev/null differ
diff --git a/dev/_images/demo_tight_layout_00_00.png b/dev/_images/demo_tight_layout_00_00.png
deleted file mode 100644
index 66451bedb84..00000000000
Binary files a/dev/_images/demo_tight_layout_00_00.png and /dev/null differ
diff --git a/dev/_images/demo_tight_layout_00_01.png b/dev/_images/demo_tight_layout_00_01.png
deleted file mode 100644
index 191a6a06390..00000000000
Binary files a/dev/_images/demo_tight_layout_00_01.png and /dev/null differ
diff --git a/dev/_images/demo_tight_layout_00_02.png b/dev/_images/demo_tight_layout_00_02.png
deleted file mode 100644
index 63437947235..00000000000
Binary files a/dev/_images/demo_tight_layout_00_02.png and /dev/null differ
diff --git a/dev/_images/demo_tight_layout_00_03.png b/dev/_images/demo_tight_layout_00_03.png
deleted file mode 100644
index dd591f75a36..00000000000
Binary files a/dev/_images/demo_tight_layout_00_03.png and /dev/null differ
diff --git a/dev/_images/demo_tight_layout_00_04.png b/dev/_images/demo_tight_layout_00_04.png
deleted file mode 100644
index fcd34f547ec..00000000000
Binary files a/dev/_images/demo_tight_layout_00_04.png and /dev/null differ
diff --git a/dev/_images/demo_tight_layout_00_05.png b/dev/_images/demo_tight_layout_00_05.png
deleted file mode 100644
index 085c75f75cd..00000000000
Binary files a/dev/_images/demo_tight_layout_00_05.png and /dev/null differ
diff --git a/dev/_images/demo_tight_layout_00_06.png b/dev/_images/demo_tight_layout_00_06.png
deleted file mode 100644
index d85eff7ce9c..00000000000
Binary files a/dev/_images/demo_tight_layout_00_06.png and /dev/null differ
diff --git a/dev/_images/demo_tight_layout_01_00.png b/dev/_images/demo_tight_layout_01_00.png
deleted file mode 100644
index 89ca273e096..00000000000
Binary files a/dev/_images/demo_tight_layout_01_00.png and /dev/null differ
diff --git a/dev/_images/dollar_ticks.png b/dev/_images/dollar_ticks.png
deleted file mode 100644
index 899f6131efe..00000000000
Binary files a/dev/_images/dollar_ticks.png and /dev/null differ
diff --git a/dev/_images/dolphin.png b/dev/_images/dolphin.png
deleted file mode 100644
index 8eee0b398a2..00000000000
Binary files a/dev/_images/dolphin.png and /dev/null differ
diff --git a/dev/_images/donut_demo.png b/dev/_images/donut_demo.png
deleted file mode 100644
index 7fd5bb837ba..00000000000
Binary files a/dev/_images/donut_demo.png and /dev/null differ
diff --git a/dev/_images/eeg_small.png b/dev/_images/eeg_small.png
deleted file mode 100644
index fb02af5b4a3..00000000000
Binary files a/dev/_images/eeg_small.png and /dev/null differ
diff --git a/dev/_images/ellipse_collection.png b/dev/_images/ellipse_collection.png
deleted file mode 100644
index 5cf303779b1..00000000000
Binary files a/dev/_images/ellipse_collection.png and /dev/null differ
diff --git a/dev/_images/ellipse_demo.png b/dev/_images/ellipse_demo.png
deleted file mode 100644
index de067636bbe..00000000000
Binary files a/dev/_images/ellipse_demo.png and /dev/null differ
diff --git a/dev/_images/ellipse_demo1.png b/dev/_images/ellipse_demo1.png
deleted file mode 100644
index de067636bbe..00000000000
Binary files a/dev/_images/ellipse_demo1.png and /dev/null differ
diff --git a/dev/_images/ellipse_rotated.png b/dev/_images/ellipse_rotated.png
deleted file mode 100644
index 2283b57e51e..00000000000
Binary files a/dev/_images/ellipse_rotated.png and /dev/null differ
diff --git a/dev/_images/ellipse_with_units_00.png b/dev/_images/ellipse_with_units_00.png
deleted file mode 100644
index a0ecb1336f1..00000000000
Binary files a/dev/_images/ellipse_with_units_00.png and /dev/null differ
diff --git a/dev/_images/ellipse_with_units_01.png b/dev/_images/ellipse_with_units_01.png
deleted file mode 100644
index 11b59543b91..00000000000
Binary files a/dev/_images/ellipse_with_units_01.png and /dev/null differ
diff --git a/dev/_images/engineering_formatter.png b/dev/_images/engineering_formatter.png
deleted file mode 100644
index b6b5e129ccf..00000000000
Binary files a/dev/_images/engineering_formatter.png and /dev/null differ
diff --git a/dev/_images/equal_aspect_ratio.png b/dev/_images/equal_aspect_ratio.png
deleted file mode 100644
index 0dd7118767f..00000000000
Binary files a/dev/_images/equal_aspect_ratio.png and /dev/null differ
diff --git a/dev/_images/errorbar_demo.png b/dev/_images/errorbar_demo.png
deleted file mode 100644
index 0eb79e89675..00000000000
Binary files a/dev/_images/errorbar_demo.png and /dev/null differ
diff --git a/dev/_images/errorbar_demo1.png b/dev/_images/errorbar_demo1.png
deleted file mode 100644
index 0eb79e89675..00000000000
Binary files a/dev/_images/errorbar_demo1.png and /dev/null differ
diff --git a/dev/_images/errorbar_demo_00.png b/dev/_images/errorbar_demo_00.png
deleted file mode 100644
index 0001fac325c..00000000000
Binary files a/dev/_images/errorbar_demo_00.png and /dev/null differ
diff --git a/dev/_images/errorbar_demo_001.png b/dev/_images/errorbar_demo_001.png
deleted file mode 100644
index 0001fac325c..00000000000
Binary files a/dev/_images/errorbar_demo_001.png and /dev/null differ
diff --git a/dev/_images/errorbar_demo_01.png b/dev/_images/errorbar_demo_01.png
deleted file mode 100644
index 4a84e9c7c9f..00000000000
Binary files a/dev/_images/errorbar_demo_01.png and /dev/null differ
diff --git a/dev/_images/errorbar_demo_011.png b/dev/_images/errorbar_demo_011.png
deleted file mode 100644
index 4a84e9c7c9f..00000000000
Binary files a/dev/_images/errorbar_demo_011.png and /dev/null differ
diff --git a/dev/_images/errorbar_demo_features.png b/dev/_images/errorbar_demo_features.png
deleted file mode 100644
index f3f48f90bc1..00000000000
Binary files a/dev/_images/errorbar_demo_features.png and /dev/null differ
diff --git a/dev/_images/errorbar_limits_00.png b/dev/_images/errorbar_limits_00.png
deleted file mode 100644
index b6258306f44..00000000000
Binary files a/dev/_images/errorbar_limits_00.png and /dev/null differ
diff --git a/dev/_images/errorbar_limits_01.png b/dev/_images/errorbar_limits_01.png
deleted file mode 100644
index 1158e2559e7..00000000000
Binary files a/dev/_images/errorbar_limits_01.png and /dev/null differ
diff --git a/dev/_images/errorbar_subsample.png b/dev/_images/errorbar_subsample.png
deleted file mode 100644
index 7d630b19e88..00000000000
Binary files a/dev/_images/errorbar_subsample.png and /dev/null differ
diff --git a/dev/_images/evans_test.png b/dev/_images/evans_test.png
deleted file mode 100644
index a3169b4068b..00000000000
Binary files a/dev/_images/evans_test.png and /dev/null differ
diff --git a/dev/_images/eventcollection_demo.png b/dev/_images/eventcollection_demo.png
deleted file mode 100644
index 77b73eebded..00000000000
Binary files a/dev/_images/eventcollection_demo.png and /dev/null differ
diff --git a/dev/_images/eventcollection_demo1.png b/dev/_images/eventcollection_demo1.png
deleted file mode 100644
index 77b73eebded..00000000000
Binary files a/dev/_images/eventcollection_demo1.png and /dev/null differ
diff --git a/dev/_images/eventplot_demo.png b/dev/_images/eventplot_demo.png
deleted file mode 100644
index 0ef3e9dc0eb..00000000000
Binary files a/dev/_images/eventplot_demo.png and /dev/null differ
diff --git a/dev/_images/eventplot_demo1.png b/dev/_images/eventplot_demo1.png
deleted file mode 100644
index 0ef3e9dc0eb..00000000000
Binary files a/dev/_images/eventplot_demo1.png and /dev/null differ
diff --git a/dev/_images/fahrenheit_celsius_scales.png b/dev/_images/fahrenheit_celsius_scales.png
deleted file mode 100644
index d683f989430..00000000000
Binary files a/dev/_images/fahrenheit_celsius_scales.png and /dev/null differ
diff --git a/dev/_images/fancyarrow_demo.png b/dev/_images/fancyarrow_demo.png
deleted file mode 100644
index a527d92ded5..00000000000
Binary files a/dev/_images/fancyarrow_demo.png and /dev/null differ
diff --git a/dev/_images/fancyarrow_demo1.png b/dev/_images/fancyarrow_demo1.png
deleted file mode 100644
index a527d92ded5..00000000000
Binary files a/dev/_images/fancyarrow_demo1.png and /dev/null differ
diff --git a/dev/_images/fancyarrow_demo2.png b/dev/_images/fancyarrow_demo2.png
deleted file mode 100644
index a527d92ded5..00000000000
Binary files a/dev/_images/fancyarrow_demo2.png and /dev/null differ
diff --git a/dev/_images/fancybox_demo2.png b/dev/_images/fancybox_demo2.png
deleted file mode 100644
index 62d1d13cca0..00000000000
Binary files a/dev/_images/fancybox_demo2.png and /dev/null differ
diff --git a/dev/_images/fancybox_demo21.png b/dev/_images/fancybox_demo21.png
deleted file mode 100644
index 62d1d13cca0..00000000000
Binary files a/dev/_images/fancybox_demo21.png and /dev/null differ
diff --git a/dev/_images/fancybox_demo22.png b/dev/_images/fancybox_demo22.png
deleted file mode 100644
index 62d1d13cca0..00000000000
Binary files a/dev/_images/fancybox_demo22.png and /dev/null differ
diff --git a/dev/_images/fancybox_demo_01_00.png b/dev/_images/fancybox_demo_01_00.png
deleted file mode 100644
index d4e3c051b30..00000000000
Binary files a/dev/_images/fancybox_demo_01_00.png and /dev/null differ
diff --git a/dev/_images/fancytextbox_demo.png b/dev/_images/fancytextbox_demo.png
deleted file mode 100644
index c6186ee37c6..00000000000
Binary files a/dev/_images/fancytextbox_demo.png and /dev/null differ
diff --git a/dev/_images/fig_axes_customize_simple.png b/dev/_images/fig_axes_customize_simple.png
deleted file mode 100644
index b135a8086ad..00000000000
Binary files a/dev/_images/fig_axes_customize_simple.png and /dev/null differ
diff --git a/dev/_images/fig_axes_labels_simple.png b/dev/_images/fig_axes_labels_simple.png
deleted file mode 100644
index 505caa8494f..00000000000
Binary files a/dev/_images/fig_axes_labels_simple.png and /dev/null differ
diff --git a/dev/_images/fig_x.png b/dev/_images/fig_x.png
deleted file mode 100644
index 5f47bfe9099..00000000000
Binary files a/dev/_images/fig_x.png and /dev/null differ
diff --git a/dev/_images/figimage_demo.png b/dev/_images/figimage_demo.png
deleted file mode 100644
index e3de2815c3c..00000000000
Binary files a/dev/_images/figimage_demo.png and /dev/null differ
diff --git a/dev/_images/figimage_demo1.png b/dev/_images/figimage_demo1.png
deleted file mode 100644
index e3de2815c3c..00000000000
Binary files a/dev/_images/figimage_demo1.png and /dev/null differ
diff --git a/dev/_images/figlegend_demo.png b/dev/_images/figlegend_demo.png
deleted file mode 100644
index 2b8e82f19e6..00000000000
Binary files a/dev/_images/figlegend_demo.png and /dev/null differ
diff --git a/dev/_images/figlegend_demo1.png b/dev/_images/figlegend_demo1.png
deleted file mode 100644
index 2b8e82f19e6..00000000000
Binary files a/dev/_images/figlegend_demo1.png and /dev/null differ
diff --git a/dev/_images/figure_title.png b/dev/_images/figure_title.png
deleted file mode 100644
index 54b688e2efb..00000000000
Binary files a/dev/_images/figure_title.png and /dev/null differ
diff --git a/dev/_images/filesave.png b/dev/_images/filesave.png
deleted file mode 100644
index 79018219423..00000000000
Binary files a/dev/_images/filesave.png and /dev/null differ
diff --git a/dev/_images/fill_between_demo_00.png b/dev/_images/fill_between_demo_00.png
deleted file mode 100644
index 5e514a06d8b..00000000000
Binary files a/dev/_images/fill_between_demo_00.png and /dev/null differ
diff --git a/dev/_images/fill_between_demo_001.png b/dev/_images/fill_between_demo_001.png
deleted file mode 100644
index 5e514a06d8b..00000000000
Binary files a/dev/_images/fill_between_demo_001.png and /dev/null differ
diff --git a/dev/_images/fill_between_demo_01.png b/dev/_images/fill_between_demo_01.png
deleted file mode 100644
index 270c1a539a4..00000000000
Binary files a/dev/_images/fill_between_demo_01.png and /dev/null differ
diff --git a/dev/_images/fill_between_demo_011.png b/dev/_images/fill_between_demo_011.png
deleted file mode 100644
index 270c1a539a4..00000000000
Binary files a/dev/_images/fill_between_demo_011.png and /dev/null differ
diff --git a/dev/_images/fill_between_demo_02.png b/dev/_images/fill_between_demo_02.png
deleted file mode 100644
index 449ad4c5d57..00000000000
Binary files a/dev/_images/fill_between_demo_02.png and /dev/null differ
diff --git a/dev/_images/fill_between_demo_021.png b/dev/_images/fill_between_demo_021.png
deleted file mode 100644
index 449ad4c5d57..00000000000
Binary files a/dev/_images/fill_between_demo_021.png and /dev/null differ
diff --git a/dev/_images/fill_betweenx_demo_00.png b/dev/_images/fill_betweenx_demo_00.png
deleted file mode 100644
index 2463af08077..00000000000
Binary files a/dev/_images/fill_betweenx_demo_00.png and /dev/null differ
diff --git a/dev/_images/fill_betweenx_demo_001.png b/dev/_images/fill_betweenx_demo_001.png
deleted file mode 100644
index 2463af08077..00000000000
Binary files a/dev/_images/fill_betweenx_demo_001.png and /dev/null differ
diff --git a/dev/_images/fill_betweenx_demo_01.png b/dev/_images/fill_betweenx_demo_01.png
deleted file mode 100644
index 2ef00064334..00000000000
Binary files a/dev/_images/fill_betweenx_demo_01.png and /dev/null differ
diff --git a/dev/_images/fill_betweenx_demo_011.png b/dev/_images/fill_betweenx_demo_011.png
deleted file mode 100644
index 2ef00064334..00000000000
Binary files a/dev/_images/fill_betweenx_demo_011.png and /dev/null differ
diff --git a/dev/_images/fill_demo.png b/dev/_images/fill_demo.png
deleted file mode 100644
index 8ff5c490456..00000000000
Binary files a/dev/_images/fill_demo.png and /dev/null differ
diff --git a/dev/_images/fill_demo1.png b/dev/_images/fill_demo1.png
deleted file mode 100644
index 8ff5c490456..00000000000
Binary files a/dev/_images/fill_demo1.png and /dev/null differ
diff --git a/dev/_images/fill_demo2.png b/dev/_images/fill_demo2.png
deleted file mode 100644
index 8ff5c490456..00000000000
Binary files a/dev/_images/fill_demo2.png and /dev/null differ
diff --git a/dev/_images/fill_demo3.png b/dev/_images/fill_demo3.png
deleted file mode 100644
index ecac2972ed1..00000000000
Binary files a/dev/_images/fill_demo3.png and /dev/null differ
diff --git a/dev/_images/fill_demo_features.png b/dev/_images/fill_demo_features.png
deleted file mode 100644
index e0d574d3707..00000000000
Binary files a/dev/_images/fill_demo_features.png and /dev/null differ
diff --git a/dev/_images/fill_spiral.png b/dev/_images/fill_spiral.png
deleted file mode 100644
index c1ae62b4e5d..00000000000
Binary files a/dev/_images/fill_spiral.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_00.png b/dev/_images/filledmarker_demo_00.png
deleted file mode 100644
index 6c039629b83..00000000000
Binary files a/dev/_images/filledmarker_demo_00.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_01.png b/dev/_images/filledmarker_demo_01.png
deleted file mode 100644
index 1236b1eb9fb..00000000000
Binary files a/dev/_images/filledmarker_demo_01.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_02.png b/dev/_images/filledmarker_demo_02.png
deleted file mode 100644
index dad8d249f86..00000000000
Binary files a/dev/_images/filledmarker_demo_02.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_03.png b/dev/_images/filledmarker_demo_03.png
deleted file mode 100644
index b1ae2202929..00000000000
Binary files a/dev/_images/filledmarker_demo_03.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_04.png b/dev/_images/filledmarker_demo_04.png
deleted file mode 100644
index c96e48eed85..00000000000
Binary files a/dev/_images/filledmarker_demo_04.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_05.png b/dev/_images/filledmarker_demo_05.png
deleted file mode 100644
index ec1384f9122..00000000000
Binary files a/dev/_images/filledmarker_demo_05.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_06.png b/dev/_images/filledmarker_demo_06.png
deleted file mode 100644
index 97d8dc631b6..00000000000
Binary files a/dev/_images/filledmarker_demo_06.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_07.png b/dev/_images/filledmarker_demo_07.png
deleted file mode 100644
index 1fdf767a7f2..00000000000
Binary files a/dev/_images/filledmarker_demo_07.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_08.png b/dev/_images/filledmarker_demo_08.png
deleted file mode 100644
index 010c4759dc4..00000000000
Binary files a/dev/_images/filledmarker_demo_08.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_09.png b/dev/_images/filledmarker_demo_09.png
deleted file mode 100644
index 9cd08778abe..00000000000
Binary files a/dev/_images/filledmarker_demo_09.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_10.png b/dev/_images/filledmarker_demo_10.png
deleted file mode 100644
index 7f4c9f1ff12..00000000000
Binary files a/dev/_images/filledmarker_demo_10.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_11.png b/dev/_images/filledmarker_demo_11.png
deleted file mode 100644
index 3a2b2e5c5b4..00000000000
Binary files a/dev/_images/filledmarker_demo_11.png and /dev/null differ
diff --git a/dev/_images/filledmarker_demo_12.png b/dev/_images/filledmarker_demo_12.png
deleted file mode 100644
index b2455b463bd..00000000000
Binary files a/dev/_images/filledmarker_demo_12.png and /dev/null differ
diff --git a/dev/_images/finance_demo.png b/dev/_images/finance_demo.png
deleted file mode 100644
index 0e6e8cb8023..00000000000
Binary files a/dev/_images/finance_demo.png and /dev/null differ
diff --git a/dev/_images/finance_work2.png b/dev/_images/finance_work2.png
deleted file mode 100644
index acfca347367..00000000000
Binary files a/dev/_images/finance_work2.png and /dev/null differ
diff --git a/dev/_images/finance_work21.png b/dev/_images/finance_work21.png
deleted file mode 100644
index acfca347367..00000000000
Binary files a/dev/_images/finance_work21.png and /dev/null differ
diff --git a/dev/_images/findobj_demo.png b/dev/_images/findobj_demo.png
deleted file mode 100644
index d51de397375..00000000000
Binary files a/dev/_images/findobj_demo.png and /dev/null differ
diff --git a/dev/_images/findobj_demo1.png b/dev/_images/findobj_demo1.png
deleted file mode 100644
index ba0da254db9..00000000000
Binary files a/dev/_images/findobj_demo1.png and /dev/null differ
diff --git a/dev/_images/fonts_demo.png b/dev/_images/fonts_demo.png
deleted file mode 100644
index c08bde145c7..00000000000
Binary files a/dev/_images/fonts_demo.png and /dev/null differ
diff --git a/dev/_images/fonts_demo_kw.png b/dev/_images/fonts_demo_kw.png
deleted file mode 100644
index fc8f0238afc..00000000000
Binary files a/dev/_images/fonts_demo_kw.png and /dev/null differ
diff --git a/dev/_images/forking_button.png b/dev/_images/forking_button.png
deleted file mode 100644
index d0e04134d4d..00000000000
Binary files a/dev/_images/forking_button.png and /dev/null differ
diff --git a/dev/_images/forward.png b/dev/_images/forward.png
deleted file mode 100644
index 9d712c5e35b..00000000000
Binary files a/dev/_images/forward.png and /dev/null differ
diff --git a/dev/_images/ganged_plots.png b/dev/_images/ganged_plots.png
deleted file mode 100644
index 43f61840e7b..00000000000
Binary files a/dev/_images/ganged_plots.png and /dev/null differ
diff --git a/dev/_images/geo_demo.png b/dev/_images/geo_demo.png
deleted file mode 100644
index 91918381500..00000000000
Binary files a/dev/_images/geo_demo.png and /dev/null differ
diff --git a/dev/_images/gradient_bar.png b/dev/_images/gradient_bar.png
deleted file mode 100644
index f2a119b9607..00000000000
Binary files a/dev/_images/gradient_bar.png and /dev/null differ
diff --git a/dev/_images/griddata_demo_00_00.png b/dev/_images/griddata_demo_00_00.png
deleted file mode 100644
index 093eb94091c..00000000000
Binary files a/dev/_images/griddata_demo_00_00.png and /dev/null differ
diff --git a/dev/_images/hatch_demo.png b/dev/_images/hatch_demo.png
deleted file mode 100644
index 83c9bb3d38d..00000000000
Binary files a/dev/_images/hatch_demo.png and /dev/null differ
diff --git a/dev/_images/hexbin_demo.png b/dev/_images/hexbin_demo.png
deleted file mode 100644
index 4c8fedac21a..00000000000
Binary files a/dev/_images/hexbin_demo.png and /dev/null differ
diff --git a/dev/_images/hexbin_demo1.png b/dev/_images/hexbin_demo1.png
deleted file mode 100644
index 4c8fedac21a..00000000000
Binary files a/dev/_images/hexbin_demo1.png and /dev/null differ
diff --git a/dev/_images/hexbin_demo2.png b/dev/_images/hexbin_demo2.png
deleted file mode 100644
index c272c84c90b..00000000000
Binary files a/dev/_images/hexbin_demo2.png and /dev/null differ
diff --git a/dev/_images/hinton_demo.png b/dev/_images/hinton_demo.png
deleted file mode 100644
index 5c07fb1b5e4..00000000000
Binary files a/dev/_images/hinton_demo.png and /dev/null differ
diff --git a/dev/_images/hist2d_demo.png b/dev/_images/hist2d_demo.png
deleted file mode 100644
index 7a3a772462b..00000000000
Binary files a/dev/_images/hist2d_demo.png and /dev/null differ
diff --git a/dev/_images/hist2d_demo1.png b/dev/_images/hist2d_demo1.png
deleted file mode 100644
index 7a3a772462b..00000000000
Binary files a/dev/_images/hist2d_demo1.png and /dev/null differ
diff --git a/dev/_images/hist2d_log_demo.png b/dev/_images/hist2d_log_demo.png
deleted file mode 100644
index 8f1835adc92..00000000000
Binary files a/dev/_images/hist2d_log_demo.png and /dev/null differ
diff --git a/dev/_images/hist3d_demo.png b/dev/_images/hist3d_demo.png
deleted file mode 100644
index 8d772df0067..00000000000
Binary files a/dev/_images/hist3d_demo.png and /dev/null differ
diff --git a/dev/_images/hist_colormapped.png b/dev/_images/hist_colormapped.png
deleted file mode 100644
index 641bf302e5a..00000000000
Binary files a/dev/_images/hist_colormapped.png and /dev/null differ
diff --git a/dev/_images/histogram_demo.png b/dev/_images/histogram_demo.png
deleted file mode 100644
index 2037cd58bac..00000000000
Binary files a/dev/_images/histogram_demo.png and /dev/null differ
diff --git a/dev/_images/histogram_demo1.png b/dev/_images/histogram_demo1.png
deleted file mode 100644
index f8a1481e0e8..00000000000
Binary files a/dev/_images/histogram_demo1.png and /dev/null differ
diff --git a/dev/_images/histogram_demo2.png b/dev/_images/histogram_demo2.png
deleted file mode 100644
index 2037cd58bac..00000000000
Binary files a/dev/_images/histogram_demo2.png and /dev/null differ
diff --git a/dev/_images/histogram_demo3.png b/dev/_images/histogram_demo3.png
deleted file mode 100644
index 2037cd58bac..00000000000
Binary files a/dev/_images/histogram_demo3.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_extended_00.png b/dev/_images/histogram_demo_extended_00.png
deleted file mode 100644
index aa8fa51d1c6..00000000000
Binary files a/dev/_images/histogram_demo_extended_00.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_extended_01.png b/dev/_images/histogram_demo_extended_01.png
deleted file mode 100644
index 49a1c2a475f..00000000000
Binary files a/dev/_images/histogram_demo_extended_01.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_extended_02.png b/dev/_images/histogram_demo_extended_02.png
deleted file mode 100644
index e486b1c56c0..00000000000
Binary files a/dev/_images/histogram_demo_extended_02.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_extended_03.png b/dev/_images/histogram_demo_extended_03.png
deleted file mode 100644
index 5a432ea88c2..00000000000
Binary files a/dev/_images/histogram_demo_extended_03.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_extended_04.png b/dev/_images/histogram_demo_extended_04.png
deleted file mode 100644
index 8a1657493aa..00000000000
Binary files a/dev/_images/histogram_demo_extended_04.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_extended_05.png b/dev/_images/histogram_demo_extended_05.png
deleted file mode 100644
index 04dd094ac5a..00000000000
Binary files a/dev/_images/histogram_demo_extended_05.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_extended_06.png b/dev/_images/histogram_demo_extended_06.png
deleted file mode 100644
index fd8e1c94c0d..00000000000
Binary files a/dev/_images/histogram_demo_extended_06.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_features.png b/dev/_images/histogram_demo_features.png
deleted file mode 100644
index 25f12bab274..00000000000
Binary files a/dev/_images/histogram_demo_features.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_features1.png b/dev/_images/histogram_demo_features1.png
deleted file mode 100644
index 25f12bab274..00000000000
Binary files a/dev/_images/histogram_demo_features1.png and /dev/null differ
diff --git a/dev/_images/histogram_demo_features2.png b/dev/_images/histogram_demo_features2.png
deleted file mode 100644
index 25f12bab274..00000000000
Binary files a/dev/_images/histogram_demo_features2.png and /dev/null differ
diff --git a/dev/_images/histogram_path_demo.png b/dev/_images/histogram_path_demo.png
deleted file mode 100644
index 7879fa6147a..00000000000
Binary files a/dev/_images/histogram_path_demo.png and /dev/null differ
diff --git a/dev/_images/histogram_path_demo1.png b/dev/_images/histogram_path_demo1.png
deleted file mode 100644
index 7879fa6147a..00000000000
Binary files a/dev/_images/histogram_path_demo1.png and /dev/null differ
diff --git a/dev/_images/histogram_percent_demo.png b/dev/_images/histogram_percent_demo.png
deleted file mode 100644
index 9d49bb4c051..00000000000
Binary files a/dev/_images/histogram_percent_demo.png and /dev/null differ
diff --git a/dev/_images/hline_demo.png b/dev/_images/hline_demo.png
deleted file mode 100644
index 87856f4485e..00000000000
Binary files a/dev/_images/hline_demo.png and /dev/null differ
diff --git a/dev/_images/hline_demo1.png b/dev/_images/hline_demo1.png
deleted file mode 100644
index 87856f4485e..00000000000
Binary files a/dev/_images/hline_demo1.png and /dev/null differ
diff --git a/dev/_images/home.png b/dev/_images/home.png
deleted file mode 100644
index bed4ffda4a1..00000000000
Binary files a/dev/_images/home.png and /dev/null differ
diff --git a/dev/_images/howto_faq-1.png b/dev/_images/howto_faq-1.png
deleted file mode 100644
index 1698c613c05..00000000000
Binary files a/dev/_images/howto_faq-1.png and /dev/null differ
diff --git a/dev/_images/image_clip_path.png b/dev/_images/image_clip_path.png
deleted file mode 100644
index cd493f488ae..00000000000
Binary files a/dev/_images/image_clip_path.png and /dev/null differ
diff --git a/dev/_images/image_demo.png b/dev/_images/image_demo.png
deleted file mode 100644
index d0f0dcce77c..00000000000
Binary files a/dev/_images/image_demo.png and /dev/null differ
diff --git a/dev/_images/image_demo1.png b/dev/_images/image_demo1.png
deleted file mode 100644
index 39b56edf5de..00000000000
Binary files a/dev/_images/image_demo1.png and /dev/null differ
diff --git a/dev/_images/image_demo2.png b/dev/_images/image_demo2.png
deleted file mode 100644
index d0f0dcce77c..00000000000
Binary files a/dev/_images/image_demo2.png and /dev/null differ
diff --git a/dev/_images/image_demo21.png b/dev/_images/image_demo21.png
deleted file mode 100644
index d52d6bd0186..00000000000
Binary files a/dev/_images/image_demo21.png and /dev/null differ
diff --git a/dev/_images/image_demo3.png b/dev/_images/image_demo3.png
deleted file mode 100644
index b333140df48..00000000000
Binary files a/dev/_images/image_demo3.png and /dev/null differ
diff --git a/dev/_images/image_demo_clip_path.png b/dev/_images/image_demo_clip_path.png
deleted file mode 100644
index 8af5f87ad91..00000000000
Binary files a/dev/_images/image_demo_clip_path.png and /dev/null differ
diff --git a/dev/_images/image_interp_00.png b/dev/_images/image_interp_00.png
deleted file mode 100644
index 8264188e785..00000000000
Binary files a/dev/_images/image_interp_00.png and /dev/null differ
diff --git a/dev/_images/image_interp_01.png b/dev/_images/image_interp_01.png
deleted file mode 100644
index 7ac008c253f..00000000000
Binary files a/dev/_images/image_interp_01.png and /dev/null differ
diff --git a/dev/_images/image_interp_02.png b/dev/_images/image_interp_02.png
deleted file mode 100644
index 70469368b1d..00000000000
Binary files a/dev/_images/image_interp_02.png and /dev/null differ
diff --git a/dev/_images/image_masked.png b/dev/_images/image_masked.png
deleted file mode 100644
index f1e60a3fa57..00000000000
Binary files a/dev/_images/image_masked.png and /dev/null differ
diff --git a/dev/_images/image_nonuniform.png b/dev/_images/image_nonuniform.png
deleted file mode 100644
index 6018efaccb0..00000000000
Binary files a/dev/_images/image_nonuniform.png and /dev/null differ
diff --git a/dev/_images/image_origin.png b/dev/_images/image_origin.png
deleted file mode 100644
index d72b49c752e..00000000000
Binary files a/dev/_images/image_origin.png and /dev/null differ
diff --git a/dev/_images/image_slices_viewer.png b/dev/_images/image_slices_viewer.png
deleted file mode 100644
index 92922e70792..00000000000
Binary files a/dev/_images/image_slices_viewer.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-1.png b/dev/_images/image_tutorial-1.png
deleted file mode 100644
index 66f813867f5..00000000000
Binary files a/dev/_images/image_tutorial-1.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-10.png b/dev/_images/image_tutorial-10.png
deleted file mode 100644
index 9f4ed51232f..00000000000
Binary files a/dev/_images/image_tutorial-10.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-2.png b/dev/_images/image_tutorial-2.png
deleted file mode 100644
index 032f37b2841..00000000000
Binary files a/dev/_images/image_tutorial-2.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-3.png b/dev/_images/image_tutorial-3.png
deleted file mode 100644
index bd9dc57d611..00000000000
Binary files a/dev/_images/image_tutorial-3.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-4.png b/dev/_images/image_tutorial-4.png
deleted file mode 100644
index 78604f68f71..00000000000
Binary files a/dev/_images/image_tutorial-4.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-5.png b/dev/_images/image_tutorial-5.png
deleted file mode 100644
index 1cfd9f12aee..00000000000
Binary files a/dev/_images/image_tutorial-5.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-6.png b/dev/_images/image_tutorial-6.png
deleted file mode 100644
index 2436078611f..00000000000
Binary files a/dev/_images/image_tutorial-6.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-7.png b/dev/_images/image_tutorial-7.png
deleted file mode 100644
index 22645797d79..00000000000
Binary files a/dev/_images/image_tutorial-7.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-8.png b/dev/_images/image_tutorial-8.png
deleted file mode 100644
index 89933cd0c53..00000000000
Binary files a/dev/_images/image_tutorial-8.png and /dev/null differ
diff --git a/dev/_images/image_tutorial-9.png b/dev/_images/image_tutorial-9.png
deleted file mode 100644
index ab9e490c3e5..00000000000
Binary files a/dev/_images/image_tutorial-9.png and /dev/null differ
diff --git a/dev/_images/image_zcoord.png b/dev/_images/image_zcoord.png
deleted file mode 100644
index a12fd38ff0c..00000000000
Binary files a/dev/_images/image_zcoord.png and /dev/null differ
diff --git a/dev/_images/inheritance-06fd09a59d6033b361214dcb1c39d0f2e9185a64.png b/dev/_images/inheritance-06fd09a59d6033b361214dcb1c39d0f2e9185a64.png
deleted file mode 100644
index 4aeaef0ef66..00000000000
Binary files a/dev/_images/inheritance-06fd09a59d6033b361214dcb1c39d0f2e9185a64.png and /dev/null differ
diff --git a/dev/_images/inheritance-06fd09a59d6033b361214dcb1c39d0f2e9185a64.png.map b/dev/_images/inheritance-06fd09a59d6033b361214dcb1c39d0f2e9185a64.png.map
deleted file mode 100644
index 6b0dd715220..00000000000
--- a/dev/_images/inheritance-06fd09a59d6033b361214dcb1c39d0f2e9185a64.png.map
+++ /dev/null
@@ -1,48 +0,0 @@
-
diff --git a/dev/_images/inheritance-09cf3ad817dc5ffc982305277ade29181d35162d.png b/dev/_images/inheritance-09cf3ad817dc5ffc982305277ade29181d35162d.png
deleted file mode 100644
index 0580b8d3c5e..00000000000
Binary files a/dev/_images/inheritance-09cf3ad817dc5ffc982305277ade29181d35162d.png and /dev/null differ
diff --git a/dev/_images/inheritance-09cf3ad817dc5ffc982305277ade29181d35162d.png.map b/dev/_images/inheritance-09cf3ad817dc5ffc982305277ade29181d35162d.png.map
deleted file mode 100644
index 5a9d84687fd..00000000000
--- a/dev/_images/inheritance-09cf3ad817dc5ffc982305277ade29181d35162d.png.map
+++ /dev/null
@@ -1,29 +0,0 @@
-
diff --git a/dev/_images/inheritance-2997e522a830214590bfc2ba755459b3a40ab3e8.png b/dev/_images/inheritance-2997e522a830214590bfc2ba755459b3a40ab3e8.png
deleted file mode 100644
index f2cf348d58a..00000000000
Binary files a/dev/_images/inheritance-2997e522a830214590bfc2ba755459b3a40ab3e8.png and /dev/null differ
diff --git a/dev/_images/inheritance-2997e522a830214590bfc2ba755459b3a40ab3e8.png.map b/dev/_images/inheritance-2997e522a830214590bfc2ba755459b3a40ab3e8.png.map
deleted file mode 100644
index a552d6626f7..00000000000
--- a/dev/_images/inheritance-2997e522a830214590bfc2ba755459b3a40ab3e8.png.map
+++ /dev/null
@@ -1,23 +0,0 @@
-
diff --git a/dev/_images/inheritance-360099b1e4caf0ba452d9cc17a0420db48e663d4.png b/dev/_images/inheritance-360099b1e4caf0ba452d9cc17a0420db48e663d4.png
deleted file mode 100644
index f33c02db8bd..00000000000
Binary files a/dev/_images/inheritance-360099b1e4caf0ba452d9cc17a0420db48e663d4.png and /dev/null differ
diff --git a/dev/_images/inheritance-360099b1e4caf0ba452d9cc17a0420db48e663d4.png.map b/dev/_images/inheritance-360099b1e4caf0ba452d9cc17a0420db48e663d4.png.map
deleted file mode 100644
index 021eb99963d..00000000000
--- a/dev/_images/inheritance-360099b1e4caf0ba452d9cc17a0420db48e663d4.png.map
+++ /dev/null
@@ -1,21 +0,0 @@
-
diff --git a/dev/_images/inheritance-659651cc5a5d4164e9746be9755dba5dfd6a866d.png b/dev/_images/inheritance-659651cc5a5d4164e9746be9755dba5dfd6a866d.png
deleted file mode 100644
index 7c7dbaee4fc..00000000000
Binary files a/dev/_images/inheritance-659651cc5a5d4164e9746be9755dba5dfd6a866d.png and /dev/null differ
diff --git a/dev/_images/inheritance-659651cc5a5d4164e9746be9755dba5dfd6a866d.png.map b/dev/_images/inheritance-659651cc5a5d4164e9746be9755dba5dfd6a866d.png.map
deleted file mode 100644
index 0c5f1f8461d..00000000000
--- a/dev/_images/inheritance-659651cc5a5d4164e9746be9755dba5dfd6a866d.png.map
+++ /dev/null
@@ -1,19 +0,0 @@
-
diff --git a/dev/_images/inheritance-79b1dad41d805732d897393f02005a9125bae25c.png b/dev/_images/inheritance-79b1dad41d805732d897393f02005a9125bae25c.png
deleted file mode 100644
index 0580b8d3c5e..00000000000
Binary files a/dev/_images/inheritance-79b1dad41d805732d897393f02005a9125bae25c.png and /dev/null differ
diff --git a/dev/_images/inheritance-79b1dad41d805732d897393f02005a9125bae25c.png.map b/dev/_images/inheritance-79b1dad41d805732d897393f02005a9125bae25c.png.map
deleted file mode 100644
index 49e8c729928..00000000000
--- a/dev/_images/inheritance-79b1dad41d805732d897393f02005a9125bae25c.png.map
+++ /dev/null
@@ -1,29 +0,0 @@
-
diff --git a/dev/_images/inheritance-8eb22f47734f756c0f957e7f0854bd1cbbb8a882.png b/dev/_images/inheritance-8eb22f47734f756c0f957e7f0854bd1cbbb8a882.png
deleted file mode 100644
index 17b2be39fc7..00000000000
Binary files a/dev/_images/inheritance-8eb22f47734f756c0f957e7f0854bd1cbbb8a882.png and /dev/null differ
diff --git a/dev/_images/inheritance-8eb22f47734f756c0f957e7f0854bd1cbbb8a882.png.map b/dev/_images/inheritance-8eb22f47734f756c0f957e7f0854bd1cbbb8a882.png.map
deleted file mode 100644
index df82622ad50..00000000000
--- a/dev/_images/inheritance-8eb22f47734f756c0f957e7f0854bd1cbbb8a882.png.map
+++ /dev/null
@@ -1,48 +0,0 @@
-
diff --git a/dev/_images/inheritance-94d14d5b714c1ff5914cf06fe346dfb002c60a32.png b/dev/_images/inheritance-94d14d5b714c1ff5914cf06fe346dfb002c60a32.png
deleted file mode 100644
index f58c09b10f2..00000000000
Binary files a/dev/_images/inheritance-94d14d5b714c1ff5914cf06fe346dfb002c60a32.png and /dev/null differ
diff --git a/dev/_images/inheritance-94d14d5b714c1ff5914cf06fe346dfb002c60a32.png.map b/dev/_images/inheritance-94d14d5b714c1ff5914cf06fe346dfb002c60a32.png.map
deleted file mode 100644
index d9aa3ab0120..00000000000
--- a/dev/_images/inheritance-94d14d5b714c1ff5914cf06fe346dfb002c60a32.png.map
+++ /dev/null
@@ -1,29 +0,0 @@
-
diff --git a/dev/_images/inheritance-a0e8a20f0b1424be74c3b11543b83bcbcb35382c.png b/dev/_images/inheritance-a0e8a20f0b1424be74c3b11543b83bcbcb35382c.png
deleted file mode 100644
index 62d856648a8..00000000000
Binary files a/dev/_images/inheritance-a0e8a20f0b1424be74c3b11543b83bcbcb35382c.png and /dev/null differ
diff --git a/dev/_images/inheritance-a0e8a20f0b1424be74c3b11543b83bcbcb35382c.png.map b/dev/_images/inheritance-a0e8a20f0b1424be74c3b11543b83bcbcb35382c.png.map
deleted file mode 100644
index bf0ef6b0631..00000000000
--- a/dev/_images/inheritance-a0e8a20f0b1424be74c3b11543b83bcbcb35382c.png.map
+++ /dev/null
@@ -1,22 +0,0 @@
-
diff --git a/dev/_images/inheritance-c4761b8614423fb1f9629f6bfc7ec29b9d8f3a4f.png b/dev/_images/inheritance-c4761b8614423fb1f9629f6bfc7ec29b9d8f3a4f.png
deleted file mode 100644
index 8d259d73e20..00000000000
Binary files a/dev/_images/inheritance-c4761b8614423fb1f9629f6bfc7ec29b9d8f3a4f.png and /dev/null differ
diff --git a/dev/_images/inheritance-c4761b8614423fb1f9629f6bfc7ec29b9d8f3a4f.png.map b/dev/_images/inheritance-c4761b8614423fb1f9629f6bfc7ec29b9d8f3a4f.png.map
deleted file mode 100644
index 5e5249f5b01..00000000000
--- a/dev/_images/inheritance-c4761b8614423fb1f9629f6bfc7ec29b9d8f3a4f.png.map
+++ /dev/null
@@ -1,18 +0,0 @@
-
diff --git a/dev/_images/inheritance-d275ae2751f9295eddc221fab6db91ebd9ab6ff6.png b/dev/_images/inheritance-d275ae2751f9295eddc221fab6db91ebd9ab6ff6.png
deleted file mode 100644
index f58c09b10f2..00000000000
Binary files a/dev/_images/inheritance-d275ae2751f9295eddc221fab6db91ebd9ab6ff6.png and /dev/null differ
diff --git a/dev/_images/inheritance-d275ae2751f9295eddc221fab6db91ebd9ab6ff6.png.map b/dev/_images/inheritance-d275ae2751f9295eddc221fab6db91ebd9ab6ff6.png.map
deleted file mode 100644
index ea478d2ed98..00000000000
--- a/dev/_images/inheritance-d275ae2751f9295eddc221fab6db91ebd9ab6ff6.png.map
+++ /dev/null
@@ -1,29 +0,0 @@
-
diff --git a/dev/_images/inheritance-d30cf54e093b46bde62705b3698a4528dc379bef.png b/dev/_images/inheritance-d30cf54e093b46bde62705b3698a4528dc379bef.png
deleted file mode 100644
index 29f36fa5410..00000000000
Binary files a/dev/_images/inheritance-d30cf54e093b46bde62705b3698a4528dc379bef.png and /dev/null differ
diff --git a/dev/_images/inheritance-d30cf54e093b46bde62705b3698a4528dc379bef.png.map b/dev/_images/inheritance-d30cf54e093b46bde62705b3698a4528dc379bef.png.map
deleted file mode 100644
index dabf641523c..00000000000
--- a/dev/_images/inheritance-d30cf54e093b46bde62705b3698a4528dc379bef.png.map
+++ /dev/null
@@ -1,17 +0,0 @@
-
diff --git a/dev/_images/inset_locator_demo.png b/dev/_images/inset_locator_demo.png
deleted file mode 100644
index 9f13f2e4a31..00000000000
Binary files a/dev/_images/inset_locator_demo.png and /dev/null differ
diff --git a/dev/_images/inset_locator_demo1.png b/dev/_images/inset_locator_demo1.png
deleted file mode 100644
index 9f13f2e4a31..00000000000
Binary files a/dev/_images/inset_locator_demo1.png and /dev/null differ
diff --git a/dev/_images/inset_locator_demo2.png b/dev/_images/inset_locator_demo2.png
deleted file mode 100644
index 53739e339bb..00000000000
Binary files a/dev/_images/inset_locator_demo2.png and /dev/null differ
diff --git a/dev/_images/inset_locator_demo21.png b/dev/_images/inset_locator_demo21.png
deleted file mode 100644
index 53739e339bb..00000000000
Binary files a/dev/_images/inset_locator_demo21.png and /dev/null differ
diff --git a/dev/_images/integral_demo.png b/dev/_images/integral_demo.png
deleted file mode 100644
index 9500bf9bc42..00000000000
Binary files a/dev/_images/integral_demo.png and /dev/null differ
diff --git a/dev/_images/interp_demo.png b/dev/_images/interp_demo.png
deleted file mode 100644
index 1bb87a7af71..00000000000
Binary files a/dev/_images/interp_demo.png and /dev/null differ
diff --git a/dev/_images/invert_axes.png b/dev/_images/invert_axes.png
deleted file mode 100644
index 9abe69c0bf1..00000000000
Binary files a/dev/_images/invert_axes.png and /dev/null differ
diff --git a/dev/_images/joinstyle.png b/dev/_images/joinstyle.png
deleted file mode 100644
index e24133001c1..00000000000
Binary files a/dev/_images/joinstyle.png and /dev/null differ
diff --git a/dev/_images/layer_images.png b/dev/_images/layer_images.png
deleted file mode 100644
index 9b0c99dfe36..00000000000
Binary files a/dev/_images/layer_images.png and /dev/null differ
diff --git a/dev/_images/legend_auto_00.png b/dev/_images/legend_auto_00.png
deleted file mode 100644
index f7d4580df20..00000000000
Binary files a/dev/_images/legend_auto_00.png and /dev/null differ
diff --git a/dev/_images/legend_auto_01.png b/dev/_images/legend_auto_01.png
deleted file mode 100644
index 7890531fee4..00000000000
Binary files a/dev/_images/legend_auto_01.png and /dev/null differ
diff --git a/dev/_images/legend_auto_02.png b/dev/_images/legend_auto_02.png
deleted file mode 100644
index 353c76e4904..00000000000
Binary files a/dev/_images/legend_auto_02.png and /dev/null differ
diff --git a/dev/_images/legend_auto_03.png b/dev/_images/legend_auto_03.png
deleted file mode 100644
index a18074a9555..00000000000
Binary files a/dev/_images/legend_auto_03.png and /dev/null differ
diff --git a/dev/_images/legend_auto_04.png b/dev/_images/legend_auto_04.png
deleted file mode 100644
index b4cb8351b86..00000000000
Binary files a/dev/_images/legend_auto_04.png and /dev/null differ
diff --git a/dev/_images/legend_auto_05.png b/dev/_images/legend_auto_05.png
deleted file mode 100644
index 120673b1b44..00000000000
Binary files a/dev/_images/legend_auto_05.png and /dev/null differ
diff --git a/dev/_images/legend_auto_06.png b/dev/_images/legend_auto_06.png
deleted file mode 100644
index 9a44daf92ab..00000000000
Binary files a/dev/_images/legend_auto_06.png and /dev/null differ
diff --git a/dev/_images/legend_auto_07.png b/dev/_images/legend_auto_07.png
deleted file mode 100644
index aafd247ca88..00000000000
Binary files a/dev/_images/legend_auto_07.png and /dev/null differ
diff --git a/dev/_images/legend_auto_08.png b/dev/_images/legend_auto_08.png
deleted file mode 100644
index 61b0d11fce4..00000000000
Binary files a/dev/_images/legend_auto_08.png and /dev/null differ
diff --git a/dev/_images/legend_auto_09.png b/dev/_images/legend_auto_09.png
deleted file mode 100644
index 89036808e98..00000000000
Binary files a/dev/_images/legend_auto_09.png and /dev/null differ
diff --git a/dev/_images/legend_demo.png b/dev/_images/legend_demo.png
deleted file mode 100644
index ca9540f4027..00000000000
Binary files a/dev/_images/legend_demo.png and /dev/null differ
diff --git a/dev/_images/legend_demo1.png b/dev/_images/legend_demo1.png
deleted file mode 100644
index ca9540f4027..00000000000
Binary files a/dev/_images/legend_demo1.png and /dev/null differ
diff --git a/dev/_images/legend_demo2.png b/dev/_images/legend_demo2.png
deleted file mode 100644
index ca9540f4027..00000000000
Binary files a/dev/_images/legend_demo2.png and /dev/null differ
diff --git a/dev/_images/legend_demo21.png b/dev/_images/legend_demo21.png
deleted file mode 100644
index cd74fe1a84a..00000000000
Binary files a/dev/_images/legend_demo21.png and /dev/null differ
diff --git a/dev/_images/legend_demo3.png b/dev/_images/legend_demo3.png
deleted file mode 100644
index e8fd3019395..00000000000
Binary files a/dev/_images/legend_demo3.png and /dev/null differ
diff --git a/dev/_images/legend_demo4.png b/dev/_images/legend_demo4.png
deleted file mode 100644
index 852845ca7b3..00000000000
Binary files a/dev/_images/legend_demo4.png and /dev/null differ
diff --git a/dev/_images/legend_demo41.png b/dev/_images/legend_demo41.png
deleted file mode 100644
index 852845ca7b3..00000000000
Binary files a/dev/_images/legend_demo41.png and /dev/null differ
diff --git a/dev/_images/legend_demo5.png b/dev/_images/legend_demo5.png
deleted file mode 100644
index ca9540f4027..00000000000
Binary files a/dev/_images/legend_demo5.png and /dev/null differ
diff --git a/dev/_images/legend_demo_custom_handler.png b/dev/_images/legend_demo_custom_handler.png
deleted file mode 100644
index c6e89c1d6e8..00000000000
Binary files a/dev/_images/legend_demo_custom_handler.png and /dev/null differ
diff --git a/dev/_images/legend_guide-1.png b/dev/_images/legend_guide-1.png
deleted file mode 100644
index 13a22d3d657..00000000000
Binary files a/dev/_images/legend_guide-1.png and /dev/null differ
diff --git a/dev/_images/legend_scatter.png b/dev/_images/legend_scatter.png
deleted file mode 100644
index 3220b041c41..00000000000
Binary files a/dev/_images/legend_scatter.png and /dev/null differ
diff --git a/dev/_images/legend_translucent.png b/dev/_images/legend_translucent.png
deleted file mode 100644
index 1118c5bf0f2..00000000000
Binary files a/dev/_images/legend_translucent.png and /dev/null differ
diff --git a/dev/_images/line_collection.png b/dev/_images/line_collection.png
deleted file mode 100644
index 415f82c22e7..00000000000
Binary files a/dev/_images/line_collection.png and /dev/null differ
diff --git a/dev/_images/line_collection2.png b/dev/_images/line_collection2.png
deleted file mode 100644
index 9f16e9709b3..00000000000
Binary files a/dev/_images/line_collection2.png and /dev/null differ
diff --git a/dev/_images/line_demo_dash_control.png b/dev/_images/line_demo_dash_control.png
deleted file mode 100644
index 85545a36512..00000000000
Binary files a/dev/_images/line_demo_dash_control.png and /dev/null differ
diff --git a/dev/_images/line_styles.png b/dev/_images/line_styles.png
deleted file mode 100644
index 68e21c9ee11..00000000000
Binary files a/dev/_images/line_styles.png and /dev/null differ
diff --git a/dev/_images/line_with_text.png b/dev/_images/line_with_text.png
deleted file mode 100644
index 1ae21323383..00000000000
Binary files a/dev/_images/line_with_text.png and /dev/null differ
diff --git a/dev/_images/lines3d_demo.png b/dev/_images/lines3d_demo.png
deleted file mode 100644
index 0c8398bfe71..00000000000
Binary files a/dev/_images/lines3d_demo.png and /dev/null differ
diff --git a/dev/_images/lines3d_demo1.png b/dev/_images/lines3d_demo1.png
deleted file mode 100644
index 0c8398bfe71..00000000000
Binary files a/dev/_images/lines3d_demo1.png and /dev/null differ
diff --git a/dev/_images/load_converter.png b/dev/_images/load_converter.png
deleted file mode 100644
index c97e91867be..00000000000
Binary files a/dev/_images/load_converter.png and /dev/null differ
diff --git a/dev/_images/loadrec.png b/dev/_images/loadrec.png
deleted file mode 100644
index 93e819edd2e..00000000000
Binary files a/dev/_images/loadrec.png and /dev/null differ
diff --git a/dev/_images/log_bar.png b/dev/_images/log_bar.png
deleted file mode 100644
index c88e863774b..00000000000
Binary files a/dev/_images/log_bar.png and /dev/null differ
diff --git a/dev/_images/log_demo.png b/dev/_images/log_demo.png
deleted file mode 100644
index e89ab3af938..00000000000
Binary files a/dev/_images/log_demo.png and /dev/null differ
diff --git a/dev/_images/log_demo1.png b/dev/_images/log_demo1.png
deleted file mode 100644
index e89ab3af938..00000000000
Binary files a/dev/_images/log_demo1.png and /dev/null differ
diff --git a/dev/_images/log_demo2.png b/dev/_images/log_demo2.png
deleted file mode 100644
index e89ab3af938..00000000000
Binary files a/dev/_images/log_demo2.png and /dev/null differ
diff --git a/dev/_images/log_test.png b/dev/_images/log_test.png
deleted file mode 100644
index 46522348d27..00000000000
Binary files a/dev/_images/log_test.png and /dev/null differ
diff --git a/dev/_images/logo.png b/dev/_images/logo.png
deleted file mode 100644
index 39b81db3e49..00000000000
Binary files a/dev/_images/logo.png and /dev/null differ
diff --git a/dev/_images/logo2.png b/dev/_images/logo2.png
deleted file mode 100644
index 411409a3faa..00000000000
Binary files a/dev/_images/logo2.png and /dev/null differ
diff --git a/dev/_images/lorenz_attractor.png b/dev/_images/lorenz_attractor.png
deleted file mode 100644
index edc3fe938a7..00000000000
Binary files a/dev/_images/lorenz_attractor.png and /dev/null differ
diff --git a/dev/_images/major_minor_demo1.png b/dev/_images/major_minor_demo1.png
deleted file mode 100644
index 8baf1f53e73..00000000000
Binary files a/dev/_images/major_minor_demo1.png and /dev/null differ
diff --git a/dev/_images/major_minor_demo2.png b/dev/_images/major_minor_demo2.png
deleted file mode 100644
index 064890cc83d..00000000000
Binary files a/dev/_images/major_minor_demo2.png and /dev/null differ
diff --git a/dev/_images/make_room_for_ylabel_using_axesgrid_00.png b/dev/_images/make_room_for_ylabel_using_axesgrid_00.png
deleted file mode 100644
index e88953c4bf0..00000000000
Binary files a/dev/_images/make_room_for_ylabel_using_axesgrid_00.png and /dev/null differ
diff --git a/dev/_images/make_room_for_ylabel_using_axesgrid_01.png b/dev/_images/make_room_for_ylabel_using_axesgrid_01.png
deleted file mode 100644
index 7fe8b745212..00000000000
Binary files a/dev/_images/make_room_for_ylabel_using_axesgrid_01.png and /dev/null differ
diff --git a/dev/_images/make_room_for_ylabel_using_axesgrid_02.png b/dev/_images/make_room_for_ylabel_using_axesgrid_02.png
deleted file mode 100644
index b7566f883f4..00000000000
Binary files a/dev/_images/make_room_for_ylabel_using_axesgrid_02.png and /dev/null differ
diff --git a/dev/_images/manual_axis.png b/dev/_images/manual_axis.png
deleted file mode 100644
index 57ededbd10d..00000000000
Binary files a/dev/_images/manual_axis.png and /dev/null differ
diff --git a/dev/_images/marker_path.png b/dev/_images/marker_path.png
deleted file mode 100644
index 77d5c96870e..00000000000
Binary files a/dev/_images/marker_path.png and /dev/null differ
diff --git a/dev/_images/masked_demo.png b/dev/_images/masked_demo.png
deleted file mode 100644
index c5229cc31b8..00000000000
Binary files a/dev/_images/masked_demo.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0005c3a5e5.png b/dev/_images/mathmpl/math-0005c3a5e5.png
deleted file mode 100644
index b26335cb256..00000000000
Binary files a/dev/_images/mathmpl/math-0005c3a5e5.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-011efae7a0.png b/dev/_images/mathmpl/math-011efae7a0.png
deleted file mode 100644
index 29991162f47..00000000000
Binary files a/dev/_images/mathmpl/math-011efae7a0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-014e74dc81.png b/dev/_images/mathmpl/math-014e74dc81.png
deleted file mode 100644
index baa30655358..00000000000
Binary files a/dev/_images/mathmpl/math-014e74dc81.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-02ce986a2e.png b/dev/_images/mathmpl/math-02ce986a2e.png
deleted file mode 100644
index e72c5495d93..00000000000
Binary files a/dev/_images/mathmpl/math-02ce986a2e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-03cbb97a54.png b/dev/_images/mathmpl/math-03cbb97a54.png
deleted file mode 100644
index 3b91e2f600c..00000000000
Binary files a/dev/_images/mathmpl/math-03cbb97a54.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-04c47dcb6e.png b/dev/_images/mathmpl/math-04c47dcb6e.png
deleted file mode 100644
index 566770211df..00000000000
Binary files a/dev/_images/mathmpl/math-04c47dcb6e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0525bc07de.png b/dev/_images/mathmpl/math-0525bc07de.png
deleted file mode 100644
index 7d485cb0ff2..00000000000
Binary files a/dev/_images/mathmpl/math-0525bc07de.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-057e1a984d.png b/dev/_images/mathmpl/math-057e1a984d.png
deleted file mode 100644
index 770a8d30b8f..00000000000
Binary files a/dev/_images/mathmpl/math-057e1a984d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-06c793e494.png b/dev/_images/mathmpl/math-06c793e494.png
deleted file mode 100644
index 04beefc9f12..00000000000
Binary files a/dev/_images/mathmpl/math-06c793e494.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0716fbd542.png b/dev/_images/mathmpl/math-0716fbd542.png
deleted file mode 100644
index eeeebcd2604..00000000000
Binary files a/dev/_images/mathmpl/math-0716fbd542.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-076bf05243.png b/dev/_images/mathmpl/math-076bf05243.png
deleted file mode 100644
index 0710b05f11d..00000000000
Binary files a/dev/_images/mathmpl/math-076bf05243.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-07933b21e0.png b/dev/_images/mathmpl/math-07933b21e0.png
deleted file mode 100644
index f6edbc0cea0..00000000000
Binary files a/dev/_images/mathmpl/math-07933b21e0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-07b17ba8f6.png b/dev/_images/mathmpl/math-07b17ba8f6.png
deleted file mode 100644
index 03cdccbdbde..00000000000
Binary files a/dev/_images/mathmpl/math-07b17ba8f6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-07c03ece9c.png b/dev/_images/mathmpl/math-07c03ece9c.png
deleted file mode 100644
index e09192d6cc5..00000000000
Binary files a/dev/_images/mathmpl/math-07c03ece9c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0938c51d1a.png b/dev/_images/mathmpl/math-0938c51d1a.png
deleted file mode 100644
index 1c638fc30af..00000000000
Binary files a/dev/_images/mathmpl/math-0938c51d1a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-097464d1cd.png b/dev/_images/mathmpl/math-097464d1cd.png
deleted file mode 100644
index cf39b3bf3a1..00000000000
Binary files a/dev/_images/mathmpl/math-097464d1cd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-09e354a93e.png b/dev/_images/mathmpl/math-09e354a93e.png
deleted file mode 100644
index b7151342acb..00000000000
Binary files a/dev/_images/mathmpl/math-09e354a93e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0a36be904f.png b/dev/_images/mathmpl/math-0a36be904f.png
deleted file mode 100644
index 654dad31bc5..00000000000
Binary files a/dev/_images/mathmpl/math-0a36be904f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0bf42a25bb.png b/dev/_images/mathmpl/math-0bf42a25bb.png
deleted file mode 100644
index 0e6fc874a26..00000000000
Binary files a/dev/_images/mathmpl/math-0bf42a25bb.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0c0d015405.png b/dev/_images/mathmpl/math-0c0d015405.png
deleted file mode 100644
index 3748d46f9f1..00000000000
Binary files a/dev/_images/mathmpl/math-0c0d015405.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0c8ba18b43.png b/dev/_images/mathmpl/math-0c8ba18b43.png
deleted file mode 100644
index adf85182918..00000000000
Binary files a/dev/_images/mathmpl/math-0c8ba18b43.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0ca72c02e5.png b/dev/_images/mathmpl/math-0ca72c02e5.png
deleted file mode 100644
index 2360abe335c..00000000000
Binary files a/dev/_images/mathmpl/math-0ca72c02e5.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0cc3cb6c41.png b/dev/_images/mathmpl/math-0cc3cb6c41.png
deleted file mode 100644
index d0791f32f0c..00000000000
Binary files a/dev/_images/mathmpl/math-0cc3cb6c41.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0d1363d575.png b/dev/_images/mathmpl/math-0d1363d575.png
deleted file mode 100644
index 81cdd6834de..00000000000
Binary files a/dev/_images/mathmpl/math-0d1363d575.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0dc1c96f16.png b/dev/_images/mathmpl/math-0dc1c96f16.png
deleted file mode 100644
index 75138b6812e..00000000000
Binary files a/dev/_images/mathmpl/math-0dc1c96f16.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0e049fe80b.png b/dev/_images/mathmpl/math-0e049fe80b.png
deleted file mode 100644
index 0b090cbac3a..00000000000
Binary files a/dev/_images/mathmpl/math-0e049fe80b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0ebac5d490.png b/dev/_images/mathmpl/math-0ebac5d490.png
deleted file mode 100644
index c86de958fc4..00000000000
Binary files a/dev/_images/mathmpl/math-0ebac5d490.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0f08e28a07.png b/dev/_images/mathmpl/math-0f08e28a07.png
deleted file mode 100644
index 884b87e00f2..00000000000
Binary files a/dev/_images/mathmpl/math-0f08e28a07.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0fa258552e.png b/dev/_images/mathmpl/math-0fa258552e.png
deleted file mode 100644
index 1644b7acf1f..00000000000
Binary files a/dev/_images/mathmpl/math-0fa258552e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-0fbbe481d0.png b/dev/_images/mathmpl/math-0fbbe481d0.png
deleted file mode 100644
index 62cebc13c00..00000000000
Binary files a/dev/_images/mathmpl/math-0fbbe481d0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-102fd18c41.png b/dev/_images/mathmpl/math-102fd18c41.png
deleted file mode 100644
index cf91b5a61c5..00000000000
Binary files a/dev/_images/mathmpl/math-102fd18c41.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-10ab63f88f.png b/dev/_images/mathmpl/math-10ab63f88f.png
deleted file mode 100644
index 8c79c326c82..00000000000
Binary files a/dev/_images/mathmpl/math-10ab63f88f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-11c6bdf228.png b/dev/_images/mathmpl/math-11c6bdf228.png
deleted file mode 100644
index 3c25a0603e3..00000000000
Binary files a/dev/_images/mathmpl/math-11c6bdf228.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-12713adf78.png b/dev/_images/mathmpl/math-12713adf78.png
deleted file mode 100644
index 71b0acca602..00000000000
Binary files a/dev/_images/mathmpl/math-12713adf78.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1278a024c8.png b/dev/_images/mathmpl/math-1278a024c8.png
deleted file mode 100644
index 5841b847c0c..00000000000
Binary files a/dev/_images/mathmpl/math-1278a024c8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-12e9272240.png b/dev/_images/mathmpl/math-12e9272240.png
deleted file mode 100644
index 566770211df..00000000000
Binary files a/dev/_images/mathmpl/math-12e9272240.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-145ca7a5e7.png b/dev/_images/mathmpl/math-145ca7a5e7.png
deleted file mode 100644
index 088e6660d37..00000000000
Binary files a/dev/_images/mathmpl/math-145ca7a5e7.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-14a5baf1f1.png b/dev/_images/mathmpl/math-14a5baf1f1.png
deleted file mode 100644
index 743622a1ebf..00000000000
Binary files a/dev/_images/mathmpl/math-14a5baf1f1.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1610e87ea8.png b/dev/_images/mathmpl/math-1610e87ea8.png
deleted file mode 100644
index 1fe4e981b71..00000000000
Binary files a/dev/_images/mathmpl/math-1610e87ea8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1632a38331.png b/dev/_images/mathmpl/math-1632a38331.png
deleted file mode 100644
index e6104599f24..00000000000
Binary files a/dev/_images/mathmpl/math-1632a38331.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-16b15cdedd.png b/dev/_images/mathmpl/math-16b15cdedd.png
deleted file mode 100644
index 2d3e7178e5b..00000000000
Binary files a/dev/_images/mathmpl/math-16b15cdedd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-16da2c10a1.png b/dev/_images/mathmpl/math-16da2c10a1.png
deleted file mode 100644
index 1c985b229b9..00000000000
Binary files a/dev/_images/mathmpl/math-16da2c10a1.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-17826fcd24.png b/dev/_images/mathmpl/math-17826fcd24.png
deleted file mode 100644
index 2e966cea90a..00000000000
Binary files a/dev/_images/mathmpl/math-17826fcd24.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1859062b14.png b/dev/_images/mathmpl/math-1859062b14.png
deleted file mode 100644
index d7af0c57693..00000000000
Binary files a/dev/_images/mathmpl/math-1859062b14.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-18a0084a2d.png b/dev/_images/mathmpl/math-18a0084a2d.png
deleted file mode 100644
index df4163a2026..00000000000
Binary files a/dev/_images/mathmpl/math-18a0084a2d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-19097cff83.png b/dev/_images/mathmpl/math-19097cff83.png
deleted file mode 100644
index 7ae14dbe659..00000000000
Binary files a/dev/_images/mathmpl/math-19097cff83.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-191c6ba7fa.png b/dev/_images/mathmpl/math-191c6ba7fa.png
deleted file mode 100644
index 7dc9d2bd78d..00000000000
Binary files a/dev/_images/mathmpl/math-191c6ba7fa.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1922d1ceaa.png b/dev/_images/mathmpl/math-1922d1ceaa.png
deleted file mode 100644
index 233c049aea8..00000000000
Binary files a/dev/_images/mathmpl/math-1922d1ceaa.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-19f957fc71.png b/dev/_images/mathmpl/math-19f957fc71.png
deleted file mode 100644
index 4f09519c22e..00000000000
Binary files a/dev/_images/mathmpl/math-19f957fc71.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1a503a50f2.png b/dev/_images/mathmpl/math-1a503a50f2.png
deleted file mode 100644
index 431ce6f2bdc..00000000000
Binary files a/dev/_images/mathmpl/math-1a503a50f2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1a6ec6d88f.png b/dev/_images/mathmpl/math-1a6ec6d88f.png
deleted file mode 100644
index 14fc1c874bd..00000000000
Binary files a/dev/_images/mathmpl/math-1a6ec6d88f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1afd9d2af0.png b/dev/_images/mathmpl/math-1afd9d2af0.png
deleted file mode 100644
index 54b75e5c5f5..00000000000
Binary files a/dev/_images/mathmpl/math-1afd9d2af0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1bb3130224.png b/dev/_images/mathmpl/math-1bb3130224.png
deleted file mode 100644
index 630984536bf..00000000000
Binary files a/dev/_images/mathmpl/math-1bb3130224.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1c2ed5670a.png b/dev/_images/mathmpl/math-1c2ed5670a.png
deleted file mode 100644
index 376d3f6d03b..00000000000
Binary files a/dev/_images/mathmpl/math-1c2ed5670a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1d11ce50b2.png b/dev/_images/mathmpl/math-1d11ce50b2.png
deleted file mode 100644
index b2521e4a07b..00000000000
Binary files a/dev/_images/mathmpl/math-1d11ce50b2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1de8afe642.png b/dev/_images/mathmpl/math-1de8afe642.png
deleted file mode 100644
index 4c682e15ed3..00000000000
Binary files a/dev/_images/mathmpl/math-1de8afe642.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1f62587cf2.png b/dev/_images/mathmpl/math-1f62587cf2.png
deleted file mode 100644
index 2898454a21c..00000000000
Binary files a/dev/_images/mathmpl/math-1f62587cf2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1f9db75fdb.png b/dev/_images/mathmpl/math-1f9db75fdb.png
deleted file mode 100644
index 06c8d5ebeda..00000000000
Binary files a/dev/_images/mathmpl/math-1f9db75fdb.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-1fca7a951f.png b/dev/_images/mathmpl/math-1fca7a951f.png
deleted file mode 100644
index 8e6fec421f1..00000000000
Binary files a/dev/_images/mathmpl/math-1fca7a951f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-201b65e42c.png b/dev/_images/mathmpl/math-201b65e42c.png
deleted file mode 100644
index 6447fcd5540..00000000000
Binary files a/dev/_images/mathmpl/math-201b65e42c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-207852189a.png b/dev/_images/mathmpl/math-207852189a.png
deleted file mode 100644
index 00a8f64a4c9..00000000000
Binary files a/dev/_images/mathmpl/math-207852189a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-20b287ac85.png b/dev/_images/mathmpl/math-20b287ac85.png
deleted file mode 100644
index 4868d7f4819..00000000000
Binary files a/dev/_images/mathmpl/math-20b287ac85.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-219444d8f5.png b/dev/_images/mathmpl/math-219444d8f5.png
deleted file mode 100644
index ec76f110431..00000000000
Binary files a/dev/_images/mathmpl/math-219444d8f5.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-21b6ff3aa7.png b/dev/_images/mathmpl/math-21b6ff3aa7.png
deleted file mode 100644
index ca45f97cb5e..00000000000
Binary files a/dev/_images/mathmpl/math-21b6ff3aa7.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-21d4b9ec5e.png b/dev/_images/mathmpl/math-21d4b9ec5e.png
deleted file mode 100644
index ad8e5831646..00000000000
Binary files a/dev/_images/mathmpl/math-21d4b9ec5e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-21e977e4ec.png b/dev/_images/mathmpl/math-21e977e4ec.png
deleted file mode 100644
index 5e0ecee5d96..00000000000
Binary files a/dev/_images/mathmpl/math-21e977e4ec.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-229058201e.png b/dev/_images/mathmpl/math-229058201e.png
deleted file mode 100644
index fcda1c12162..00000000000
Binary files a/dev/_images/mathmpl/math-229058201e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-22a812f02e.png b/dev/_images/mathmpl/math-22a812f02e.png
deleted file mode 100644
index 6e06bb636b5..00000000000
Binary files a/dev/_images/mathmpl/math-22a812f02e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2303518311.png b/dev/_images/mathmpl/math-2303518311.png
deleted file mode 100644
index 8c80ef64e88..00000000000
Binary files a/dev/_images/mathmpl/math-2303518311.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2303577dee.png b/dev/_images/mathmpl/math-2303577dee.png
deleted file mode 100644
index 0c0c1936612..00000000000
Binary files a/dev/_images/mathmpl/math-2303577dee.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-23c4970a1a.png b/dev/_images/mathmpl/math-23c4970a1a.png
deleted file mode 100644
index 069edda1c71..00000000000
Binary files a/dev/_images/mathmpl/math-23c4970a1a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2480720752.png b/dev/_images/mathmpl/math-2480720752.png
deleted file mode 100644
index 3b98e8a2677..00000000000
Binary files a/dev/_images/mathmpl/math-2480720752.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2525d5d71d.png b/dev/_images/mathmpl/math-2525d5d71d.png
deleted file mode 100644
index bd587c8a1a6..00000000000
Binary files a/dev/_images/mathmpl/math-2525d5d71d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2617106b1e.png b/dev/_images/mathmpl/math-2617106b1e.png
deleted file mode 100644
index 581c38b7c53..00000000000
Binary files a/dev/_images/mathmpl/math-2617106b1e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-268c486057.png b/dev/_images/mathmpl/math-268c486057.png
deleted file mode 100644
index ef734b7d3ce..00000000000
Binary files a/dev/_images/mathmpl/math-268c486057.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-26f9e5316b.png b/dev/_images/mathmpl/math-26f9e5316b.png
deleted file mode 100644
index b50cd0b8ea9..00000000000
Binary files a/dev/_images/mathmpl/math-26f9e5316b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-26fab8f44f.png b/dev/_images/mathmpl/math-26fab8f44f.png
deleted file mode 100644
index 9e26fc83616..00000000000
Binary files a/dev/_images/mathmpl/math-26fab8f44f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-28d3e90e31.png b/dev/_images/mathmpl/math-28d3e90e31.png
deleted file mode 100644
index 430910a9788..00000000000
Binary files a/dev/_images/mathmpl/math-28d3e90e31.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-293c147d21.png b/dev/_images/mathmpl/math-293c147d21.png
deleted file mode 100644
index df014f9d779..00000000000
Binary files a/dev/_images/mathmpl/math-293c147d21.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-29a7c6603c.png b/dev/_images/mathmpl/math-29a7c6603c.png
deleted file mode 100644
index a164c83c29c..00000000000
Binary files a/dev/_images/mathmpl/math-29a7c6603c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2a327a85e8.png b/dev/_images/mathmpl/math-2a327a85e8.png
deleted file mode 100644
index 7683d2165ce..00000000000
Binary files a/dev/_images/mathmpl/math-2a327a85e8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2a54002803.png b/dev/_images/mathmpl/math-2a54002803.png
deleted file mode 100644
index d6ba197cda8..00000000000
Binary files a/dev/_images/mathmpl/math-2a54002803.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2aff52a07e.png b/dev/_images/mathmpl/math-2aff52a07e.png
deleted file mode 100644
index 9c08cbf54bf..00000000000
Binary files a/dev/_images/mathmpl/math-2aff52a07e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2b42f15859.png b/dev/_images/mathmpl/math-2b42f15859.png
deleted file mode 100644
index b2863d32ffe..00000000000
Binary files a/dev/_images/mathmpl/math-2b42f15859.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2c7a9dac6d.png b/dev/_images/mathmpl/math-2c7a9dac6d.png
deleted file mode 100644
index ae8f3e25eee..00000000000
Binary files a/dev/_images/mathmpl/math-2c7a9dac6d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2cdbf2db88.png b/dev/_images/mathmpl/math-2cdbf2db88.png
deleted file mode 100644
index 43f617a3f8c..00000000000
Binary files a/dev/_images/mathmpl/math-2cdbf2db88.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2e03b9e387.png b/dev/_images/mathmpl/math-2e03b9e387.png
deleted file mode 100644
index 61bc04ff4de..00000000000
Binary files a/dev/_images/mathmpl/math-2e03b9e387.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2e885fe67f.png b/dev/_images/mathmpl/math-2e885fe67f.png
deleted file mode 100644
index 9434edec1c0..00000000000
Binary files a/dev/_images/mathmpl/math-2e885fe67f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2eaa265b46.png b/dev/_images/mathmpl/math-2eaa265b46.png
deleted file mode 100644
index 9cdc3625687..00000000000
Binary files a/dev/_images/mathmpl/math-2eaa265b46.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2f010c89dd.png b/dev/_images/mathmpl/math-2f010c89dd.png
deleted file mode 100644
index f8cc6409181..00000000000
Binary files a/dev/_images/mathmpl/math-2f010c89dd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2fc0f7c957.png b/dev/_images/mathmpl/math-2fc0f7c957.png
deleted file mode 100644
index c0646de0f96..00000000000
Binary files a/dev/_images/mathmpl/math-2fc0f7c957.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2fcd70072d.png b/dev/_images/mathmpl/math-2fcd70072d.png
deleted file mode 100644
index 2ac5417e47a..00000000000
Binary files a/dev/_images/mathmpl/math-2fcd70072d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-2ff97d8581.png b/dev/_images/mathmpl/math-2ff97d8581.png
deleted file mode 100644
index c352d9cbb01..00000000000
Binary files a/dev/_images/mathmpl/math-2ff97d8581.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-301349a96f.png b/dev/_images/mathmpl/math-301349a96f.png
deleted file mode 100644
index 7080c65e001..00000000000
Binary files a/dev/_images/mathmpl/math-301349a96f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3025afbc71.png b/dev/_images/mathmpl/math-3025afbc71.png
deleted file mode 100644
index 89d8a1a19ad..00000000000
Binary files a/dev/_images/mathmpl/math-3025afbc71.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-305e05a6ab.png b/dev/_images/mathmpl/math-305e05a6ab.png
deleted file mode 100644
index f2ae9ac59a5..00000000000
Binary files a/dev/_images/mathmpl/math-305e05a6ab.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-306ea70acd.png b/dev/_images/mathmpl/math-306ea70acd.png
deleted file mode 100644
index 9cce794ff96..00000000000
Binary files a/dev/_images/mathmpl/math-306ea70acd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-311d2647c5.png b/dev/_images/mathmpl/math-311d2647c5.png
deleted file mode 100644
index f38a2819978..00000000000
Binary files a/dev/_images/mathmpl/math-311d2647c5.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-317920b703.png b/dev/_images/mathmpl/math-317920b703.png
deleted file mode 100644
index 2c816cc23f0..00000000000
Binary files a/dev/_images/mathmpl/math-317920b703.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3207fff524.png b/dev/_images/mathmpl/math-3207fff524.png
deleted file mode 100644
index 0c96cb9024f..00000000000
Binary files a/dev/_images/mathmpl/math-3207fff524.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3223454152.png b/dev/_images/mathmpl/math-3223454152.png
deleted file mode 100644
index acb0b96dd30..00000000000
Binary files a/dev/_images/mathmpl/math-3223454152.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3234da3142.png b/dev/_images/mathmpl/math-3234da3142.png
deleted file mode 100644
index 375fabe4274..00000000000
Binary files a/dev/_images/mathmpl/math-3234da3142.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-32710445c4.png b/dev/_images/mathmpl/math-32710445c4.png
deleted file mode 100644
index aae64db8cb2..00000000000
Binary files a/dev/_images/mathmpl/math-32710445c4.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-329584d288.png b/dev/_images/mathmpl/math-329584d288.png
deleted file mode 100644
index ae070f7c2ba..00000000000
Binary files a/dev/_images/mathmpl/math-329584d288.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-343170b287.png b/dev/_images/mathmpl/math-343170b287.png
deleted file mode 100644
index a5daaba5cfd..00000000000
Binary files a/dev/_images/mathmpl/math-343170b287.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3488de1d0a.png b/dev/_images/mathmpl/math-3488de1d0a.png
deleted file mode 100644
index 7d820dd2062..00000000000
Binary files a/dev/_images/mathmpl/math-3488de1d0a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-358f2a2131.png b/dev/_images/mathmpl/math-358f2a2131.png
deleted file mode 100644
index 0d9efed784f..00000000000
Binary files a/dev/_images/mathmpl/math-358f2a2131.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3642ca147d.png b/dev/_images/mathmpl/math-3642ca147d.png
deleted file mode 100644
index b6489089d81..00000000000
Binary files a/dev/_images/mathmpl/math-3642ca147d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-37454f1e25.png b/dev/_images/mathmpl/math-37454f1e25.png
deleted file mode 100644
index 28f348bee9d..00000000000
Binary files a/dev/_images/mathmpl/math-37454f1e25.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-376450e92a.png b/dev/_images/mathmpl/math-376450e92a.png
deleted file mode 100644
index f8c75c2d72f..00000000000
Binary files a/dev/_images/mathmpl/math-376450e92a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-38501d21c9.png b/dev/_images/mathmpl/math-38501d21c9.png
deleted file mode 100644
index 435fa6ac59a..00000000000
Binary files a/dev/_images/mathmpl/math-38501d21c9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-387c1a8741.png b/dev/_images/mathmpl/math-387c1a8741.png
deleted file mode 100644
index 645fdfe7073..00000000000
Binary files a/dev/_images/mathmpl/math-387c1a8741.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-38bf4cf10d.png b/dev/_images/mathmpl/math-38bf4cf10d.png
deleted file mode 100644
index 456c6638b5c..00000000000
Binary files a/dev/_images/mathmpl/math-38bf4cf10d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-390d3dc75c.png b/dev/_images/mathmpl/math-390d3dc75c.png
deleted file mode 100644
index d4073e94104..00000000000
Binary files a/dev/_images/mathmpl/math-390d3dc75c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-397b5fc155.png b/dev/_images/mathmpl/math-397b5fc155.png
deleted file mode 100644
index 4c2c78b1ad2..00000000000
Binary files a/dev/_images/mathmpl/math-397b5fc155.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3a8b2e99d6.png b/dev/_images/mathmpl/math-3a8b2e99d6.png
deleted file mode 100644
index 14b7c65ffd8..00000000000
Binary files a/dev/_images/mathmpl/math-3a8b2e99d6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3b5db3b36b.png b/dev/_images/mathmpl/math-3b5db3b36b.png
deleted file mode 100644
index 9a4b54d03f8..00000000000
Binary files a/dev/_images/mathmpl/math-3b5db3b36b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3b72c12de0.png b/dev/_images/mathmpl/math-3b72c12de0.png
deleted file mode 100644
index 364defea865..00000000000
Binary files a/dev/_images/mathmpl/math-3b72c12de0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3b938a5601.png b/dev/_images/mathmpl/math-3b938a5601.png
deleted file mode 100644
index 52b5c9a9a37..00000000000
Binary files a/dev/_images/mathmpl/math-3b938a5601.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3ba37e0517.png b/dev/_images/mathmpl/math-3ba37e0517.png
deleted file mode 100644
index b8be79f85b4..00000000000
Binary files a/dev/_images/mathmpl/math-3ba37e0517.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3bfe8e8950.png b/dev/_images/mathmpl/math-3bfe8e8950.png
deleted file mode 100644
index 6b20f054184..00000000000
Binary files a/dev/_images/mathmpl/math-3bfe8e8950.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3c072a15c0.png b/dev/_images/mathmpl/math-3c072a15c0.png
deleted file mode 100644
index 8222445a5c6..00000000000
Binary files a/dev/_images/mathmpl/math-3c072a15c0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3ce6141dea.png b/dev/_images/mathmpl/math-3ce6141dea.png
deleted file mode 100644
index ea702dfac00..00000000000
Binary files a/dev/_images/mathmpl/math-3ce6141dea.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3d7ac4bb5c.png b/dev/_images/mathmpl/math-3d7ac4bb5c.png
deleted file mode 100644
index 68c466e0dcb..00000000000
Binary files a/dev/_images/mathmpl/math-3d7ac4bb5c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3d85215bfa.png b/dev/_images/mathmpl/math-3d85215bfa.png
deleted file mode 100644
index 769ce78b8cb..00000000000
Binary files a/dev/_images/mathmpl/math-3d85215bfa.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3db5c70042.png b/dev/_images/mathmpl/math-3db5c70042.png
deleted file mode 100644
index e3922b054b7..00000000000
Binary files a/dev/_images/mathmpl/math-3db5c70042.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3df678db55.png b/dev/_images/mathmpl/math-3df678db55.png
deleted file mode 100644
index 9004660e0ee..00000000000
Binary files a/dev/_images/mathmpl/math-3df678db55.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3e25be9041.png b/dev/_images/mathmpl/math-3e25be9041.png
deleted file mode 100644
index 5dd94563b3c..00000000000
Binary files a/dev/_images/mathmpl/math-3e25be9041.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3ea081f1d9.png b/dev/_images/mathmpl/math-3ea081f1d9.png
deleted file mode 100644
index 83ac1dad227..00000000000
Binary files a/dev/_images/mathmpl/math-3ea081f1d9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-3fc9142b1d.png b/dev/_images/mathmpl/math-3fc9142b1d.png
deleted file mode 100644
index 6eff3c82fc7..00000000000
Binary files a/dev/_images/mathmpl/math-3fc9142b1d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-41188a0c1b.png b/dev/_images/mathmpl/math-41188a0c1b.png
deleted file mode 100644
index 1b8ee4ec3bc..00000000000
Binary files a/dev/_images/mathmpl/math-41188a0c1b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-41f636a823.png b/dev/_images/mathmpl/math-41f636a823.png
deleted file mode 100644
index b95591f8b60..00000000000
Binary files a/dev/_images/mathmpl/math-41f636a823.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4225d47da8.png b/dev/_images/mathmpl/math-4225d47da8.png
deleted file mode 100644
index 09c1c39ee93..00000000000
Binary files a/dev/_images/mathmpl/math-4225d47da8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-433174617c.png b/dev/_images/mathmpl/math-433174617c.png
deleted file mode 100644
index ebf63e6cb10..00000000000
Binary files a/dev/_images/mathmpl/math-433174617c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-43575c473c.png b/dev/_images/mathmpl/math-43575c473c.png
deleted file mode 100644
index a52fdb656c6..00000000000
Binary files a/dev/_images/mathmpl/math-43575c473c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-436efe52d1.png b/dev/_images/mathmpl/math-436efe52d1.png
deleted file mode 100644
index 21351953080..00000000000
Binary files a/dev/_images/mathmpl/math-436efe52d1.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-43a44ec8e4.png b/dev/_images/mathmpl/math-43a44ec8e4.png
deleted file mode 100644
index bc7bcfd8023..00000000000
Binary files a/dev/_images/mathmpl/math-43a44ec8e4.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-441aa359eb.png b/dev/_images/mathmpl/math-441aa359eb.png
deleted file mode 100644
index 2e65b07d0b6..00000000000
Binary files a/dev/_images/mathmpl/math-441aa359eb.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-449680794f.png b/dev/_images/mathmpl/math-449680794f.png
deleted file mode 100644
index c6d28091437..00000000000
Binary files a/dev/_images/mathmpl/math-449680794f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-44f45b7160.png b/dev/_images/mathmpl/math-44f45b7160.png
deleted file mode 100644
index 52311dcd2e9..00000000000
Binary files a/dev/_images/mathmpl/math-44f45b7160.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-459d7c5693.png b/dev/_images/mathmpl/math-459d7c5693.png
deleted file mode 100644
index 47d5ac165be..00000000000
Binary files a/dev/_images/mathmpl/math-459d7c5693.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-45eaae26d2.png b/dev/_images/mathmpl/math-45eaae26d2.png
deleted file mode 100644
index d7524fccee7..00000000000
Binary files a/dev/_images/mathmpl/math-45eaae26d2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-46c392f788.png b/dev/_images/mathmpl/math-46c392f788.png
deleted file mode 100644
index 0582966896b..00000000000
Binary files a/dev/_images/mathmpl/math-46c392f788.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-46d99aa165.png b/dev/_images/mathmpl/math-46d99aa165.png
deleted file mode 100644
index 89243ef900c..00000000000
Binary files a/dev/_images/mathmpl/math-46d99aa165.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-482297a060.png b/dev/_images/mathmpl/math-482297a060.png
deleted file mode 100644
index 3f5f16534dd..00000000000
Binary files a/dev/_images/mathmpl/math-482297a060.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-497b831b05.png b/dev/_images/mathmpl/math-497b831b05.png
deleted file mode 100644
index 414756e3c4c..00000000000
Binary files a/dev/_images/mathmpl/math-497b831b05.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4a68c72624.png b/dev/_images/mathmpl/math-4a68c72624.png
deleted file mode 100644
index ddc3ce325d9..00000000000
Binary files a/dev/_images/mathmpl/math-4a68c72624.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4b07b72122.png b/dev/_images/mathmpl/math-4b07b72122.png
deleted file mode 100644
index 7f2a0432c94..00000000000
Binary files a/dev/_images/mathmpl/math-4b07b72122.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4c229f580d.png b/dev/_images/mathmpl/math-4c229f580d.png
deleted file mode 100644
index 305603cdac8..00000000000
Binary files a/dev/_images/mathmpl/math-4c229f580d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4c5d76f523.png b/dev/_images/mathmpl/math-4c5d76f523.png
deleted file mode 100644
index 2b2c5e7af21..00000000000
Binary files a/dev/_images/mathmpl/math-4c5d76f523.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4cd21f8ba6.png b/dev/_images/mathmpl/math-4cd21f8ba6.png
deleted file mode 100644
index e99f8671beb..00000000000
Binary files a/dev/_images/mathmpl/math-4cd21f8ba6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4cd9a23707.png b/dev/_images/mathmpl/math-4cd9a23707.png
deleted file mode 100644
index d72a15c9399..00000000000
Binary files a/dev/_images/mathmpl/math-4cd9a23707.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4ceaca4089.png b/dev/_images/mathmpl/math-4ceaca4089.png
deleted file mode 100644
index 5b9e33b6344..00000000000
Binary files a/dev/_images/mathmpl/math-4ceaca4089.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4d24dff6f8.png b/dev/_images/mathmpl/math-4d24dff6f8.png
deleted file mode 100644
index aee14929fdb..00000000000
Binary files a/dev/_images/mathmpl/math-4d24dff6f8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4d5d5f4ffb.png b/dev/_images/mathmpl/math-4d5d5f4ffb.png
deleted file mode 100644
index e4daaeabae9..00000000000
Binary files a/dev/_images/mathmpl/math-4d5d5f4ffb.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4d96f7ca18.png b/dev/_images/mathmpl/math-4d96f7ca18.png
deleted file mode 100644
index ef7c5f18c97..00000000000
Binary files a/dev/_images/mathmpl/math-4d96f7ca18.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4ea8b1e13e.png b/dev/_images/mathmpl/math-4ea8b1e13e.png
deleted file mode 100644
index 0db008382bc..00000000000
Binary files a/dev/_images/mathmpl/math-4ea8b1e13e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4eacc6ba71.png b/dev/_images/mathmpl/math-4eacc6ba71.png
deleted file mode 100644
index a5eec370509..00000000000
Binary files a/dev/_images/mathmpl/math-4eacc6ba71.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4f55ade322.png b/dev/_images/mathmpl/math-4f55ade322.png
deleted file mode 100644
index aa449e0d662..00000000000
Binary files a/dev/_images/mathmpl/math-4f55ade322.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-4f8107394b.png b/dev/_images/mathmpl/math-4f8107394b.png
deleted file mode 100644
index ff1417529b8..00000000000
Binary files a/dev/_images/mathmpl/math-4f8107394b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-510e2aecba.png b/dev/_images/mathmpl/math-510e2aecba.png
deleted file mode 100644
index 4a41835e21f..00000000000
Binary files a/dev/_images/mathmpl/math-510e2aecba.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5149852f08.png b/dev/_images/mathmpl/math-5149852f08.png
deleted file mode 100644
index ede9be26283..00000000000
Binary files a/dev/_images/mathmpl/math-5149852f08.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-518af824c6.png b/dev/_images/mathmpl/math-518af824c6.png
deleted file mode 100644
index db688ca4ee6..00000000000
Binary files a/dev/_images/mathmpl/math-518af824c6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-51ae43b24b.png b/dev/_images/mathmpl/math-51ae43b24b.png
deleted file mode 100644
index bc16280d56e..00000000000
Binary files a/dev/_images/mathmpl/math-51ae43b24b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-51cd44e108.png b/dev/_images/mathmpl/math-51cd44e108.png
deleted file mode 100644
index caba04d846f..00000000000
Binary files a/dev/_images/mathmpl/math-51cd44e108.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-52ddd6655e.png b/dev/_images/mathmpl/math-52ddd6655e.png
deleted file mode 100644
index 27df42b9dc3..00000000000
Binary files a/dev/_images/mathmpl/math-52ddd6655e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-52eae78384.png b/dev/_images/mathmpl/math-52eae78384.png
deleted file mode 100644
index 7f6aa401a3e..00000000000
Binary files a/dev/_images/mathmpl/math-52eae78384.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-52ee117ecd.png b/dev/_images/mathmpl/math-52ee117ecd.png
deleted file mode 100644
index d61d68976e9..00000000000
Binary files a/dev/_images/mathmpl/math-52ee117ecd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5325d825f0.png b/dev/_images/mathmpl/math-5325d825f0.png
deleted file mode 100644
index 98ac6e2e8f7..00000000000
Binary files a/dev/_images/mathmpl/math-5325d825f0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-53e4edd44d.png b/dev/_images/mathmpl/math-53e4edd44d.png
deleted file mode 100644
index a4186e07f55..00000000000
Binary files a/dev/_images/mathmpl/math-53e4edd44d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-54cbc28bce.png b/dev/_images/mathmpl/math-54cbc28bce.png
deleted file mode 100644
index 818c2a759fe..00000000000
Binary files a/dev/_images/mathmpl/math-54cbc28bce.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-554199c05b.png b/dev/_images/mathmpl/math-554199c05b.png
deleted file mode 100644
index 6deaee48205..00000000000
Binary files a/dev/_images/mathmpl/math-554199c05b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5686c5a93f.png b/dev/_images/mathmpl/math-5686c5a93f.png
deleted file mode 100644
index 3c4ef4a8ce2..00000000000
Binary files a/dev/_images/mathmpl/math-5686c5a93f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-56b7078922.png b/dev/_images/mathmpl/math-56b7078922.png
deleted file mode 100644
index 5c7d9ca04a6..00000000000
Binary files a/dev/_images/mathmpl/math-56b7078922.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-56f328ad77.png b/dev/_images/mathmpl/math-56f328ad77.png
deleted file mode 100644
index 82923b40cc7..00000000000
Binary files a/dev/_images/mathmpl/math-56f328ad77.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-580fac9571.png b/dev/_images/mathmpl/math-580fac9571.png
deleted file mode 100644
index c8d80b3b98c..00000000000
Binary files a/dev/_images/mathmpl/math-580fac9571.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-58162c32f0.png b/dev/_images/mathmpl/math-58162c32f0.png
deleted file mode 100644
index 6520bf8b740..00000000000
Binary files a/dev/_images/mathmpl/math-58162c32f0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-58775d54bf.png b/dev/_images/mathmpl/math-58775d54bf.png
deleted file mode 100644
index 8a2e8b0e70b..00000000000
Binary files a/dev/_images/mathmpl/math-58775d54bf.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-58e3fcf6fd.png b/dev/_images/mathmpl/math-58e3fcf6fd.png
deleted file mode 100644
index 628d0b90c9a..00000000000
Binary files a/dev/_images/mathmpl/math-58e3fcf6fd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-58f182e47e.png b/dev/_images/mathmpl/math-58f182e47e.png
deleted file mode 100644
index 1c189bd9dbc..00000000000
Binary files a/dev/_images/mathmpl/math-58f182e47e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-59ed813421.png b/dev/_images/mathmpl/math-59ed813421.png
deleted file mode 100644
index b0cc70bec93..00000000000
Binary files a/dev/_images/mathmpl/math-59ed813421.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5a90bc5099.png b/dev/_images/mathmpl/math-5a90bc5099.png
deleted file mode 100644
index cd61e2f17ae..00000000000
Binary files a/dev/_images/mathmpl/math-5a90bc5099.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5af1fa6042.png b/dev/_images/mathmpl/math-5af1fa6042.png
deleted file mode 100644
index 06d2f00b174..00000000000
Binary files a/dev/_images/mathmpl/math-5af1fa6042.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5af298e692.png b/dev/_images/mathmpl/math-5af298e692.png
deleted file mode 100644
index 368d13d0387..00000000000
Binary files a/dev/_images/mathmpl/math-5af298e692.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5b4e20db62.png b/dev/_images/mathmpl/math-5b4e20db62.png
deleted file mode 100644
index 9d19edb6a3a..00000000000
Binary files a/dev/_images/mathmpl/math-5b4e20db62.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5c77f15b40.png b/dev/_images/mathmpl/math-5c77f15b40.png
deleted file mode 100644
index f35f7210399..00000000000
Binary files a/dev/_images/mathmpl/math-5c77f15b40.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5dc8912759.png b/dev/_images/mathmpl/math-5dc8912759.png
deleted file mode 100644
index b04dcc15aa2..00000000000
Binary files a/dev/_images/mathmpl/math-5dc8912759.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5e42a40994.png b/dev/_images/mathmpl/math-5e42a40994.png
deleted file mode 100644
index 2f5ff7ed485..00000000000
Binary files a/dev/_images/mathmpl/math-5e42a40994.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5e94f6d1ef.png b/dev/_images/mathmpl/math-5e94f6d1ef.png
deleted file mode 100644
index f9fb1c8535d..00000000000
Binary files a/dev/_images/mathmpl/math-5e94f6d1ef.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-5fea7c5657.png b/dev/_images/mathmpl/math-5fea7c5657.png
deleted file mode 100644
index 9b720945d06..00000000000
Binary files a/dev/_images/mathmpl/math-5fea7c5657.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-608c4a02ea.png b/dev/_images/mathmpl/math-608c4a02ea.png
deleted file mode 100644
index f7983c04057..00000000000
Binary files a/dev/_images/mathmpl/math-608c4a02ea.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-61187783ee.png b/dev/_images/mathmpl/math-61187783ee.png
deleted file mode 100644
index ae3b1ef7a43..00000000000
Binary files a/dev/_images/mathmpl/math-61187783ee.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-615de138a6.png b/dev/_images/mathmpl/math-615de138a6.png
deleted file mode 100644
index 3c88f9c1ded..00000000000
Binary files a/dev/_images/mathmpl/math-615de138a6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-61a5f3fde0.png b/dev/_images/mathmpl/math-61a5f3fde0.png
deleted file mode 100644
index 028051681ed..00000000000
Binary files a/dev/_images/mathmpl/math-61a5f3fde0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-62d5e1ef75.png b/dev/_images/mathmpl/math-62d5e1ef75.png
deleted file mode 100644
index 425fb80f3ed..00000000000
Binary files a/dev/_images/mathmpl/math-62d5e1ef75.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-62e1ea5660.png b/dev/_images/mathmpl/math-62e1ea5660.png
deleted file mode 100644
index 49560f35ae5..00000000000
Binary files a/dev/_images/mathmpl/math-62e1ea5660.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-640fa94ebe.png b/dev/_images/mathmpl/math-640fa94ebe.png
deleted file mode 100644
index b1354772d1f..00000000000
Binary files a/dev/_images/mathmpl/math-640fa94ebe.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6462f633f1.png b/dev/_images/mathmpl/math-6462f633f1.png
deleted file mode 100644
index 5447ac875a4..00000000000
Binary files a/dev/_images/mathmpl/math-6462f633f1.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-64aa42214e.png b/dev/_images/mathmpl/math-64aa42214e.png
deleted file mode 100644
index 24decaeca72..00000000000
Binary files a/dev/_images/mathmpl/math-64aa42214e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6700e99fd3.png b/dev/_images/mathmpl/math-6700e99fd3.png
deleted file mode 100644
index 0f5e22189a5..00000000000
Binary files a/dev/_images/mathmpl/math-6700e99fd3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6722d13e60.png b/dev/_images/mathmpl/math-6722d13e60.png
deleted file mode 100644
index 33fc0063bd9..00000000000
Binary files a/dev/_images/mathmpl/math-6722d13e60.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-679967c920.png b/dev/_images/mathmpl/math-679967c920.png
deleted file mode 100644
index 465dfa6aca4..00000000000
Binary files a/dev/_images/mathmpl/math-679967c920.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-67a8f5ca79.png b/dev/_images/mathmpl/math-67a8f5ca79.png
deleted file mode 100644
index dfbdc684de3..00000000000
Binary files a/dev/_images/mathmpl/math-67a8f5ca79.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-682a5688ef.png b/dev/_images/mathmpl/math-682a5688ef.png
deleted file mode 100644
index 5c7b7bd9d88..00000000000
Binary files a/dev/_images/mathmpl/math-682a5688ef.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-68b96a49a5.png b/dev/_images/mathmpl/math-68b96a49a5.png
deleted file mode 100644
index c1874a002b3..00000000000
Binary files a/dev/_images/mathmpl/math-68b96a49a5.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6a5f1c0ebd.png b/dev/_images/mathmpl/math-6a5f1c0ebd.png
deleted file mode 100644
index 457120988b9..00000000000
Binary files a/dev/_images/mathmpl/math-6a5f1c0ebd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6b6cc30aef.png b/dev/_images/mathmpl/math-6b6cc30aef.png
deleted file mode 100644
index 1a06d432648..00000000000
Binary files a/dev/_images/mathmpl/math-6b6cc30aef.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6c35839641.png b/dev/_images/mathmpl/math-6c35839641.png
deleted file mode 100644
index 11307c8ec51..00000000000
Binary files a/dev/_images/mathmpl/math-6c35839641.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6cb5c3c310.png b/dev/_images/mathmpl/math-6cb5c3c310.png
deleted file mode 100644
index 7e0e61a0380..00000000000
Binary files a/dev/_images/mathmpl/math-6cb5c3c310.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6e6c5971ad.png b/dev/_images/mathmpl/math-6e6c5971ad.png
deleted file mode 100644
index 81de51781ad..00000000000
Binary files a/dev/_images/mathmpl/math-6e6c5971ad.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6ea3150bfd.png b/dev/_images/mathmpl/math-6ea3150bfd.png
deleted file mode 100644
index 9f1666d5c37..00000000000
Binary files a/dev/_images/mathmpl/math-6ea3150bfd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6eca465169.png b/dev/_images/mathmpl/math-6eca465169.png
deleted file mode 100644
index a762e3ab992..00000000000
Binary files a/dev/_images/mathmpl/math-6eca465169.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6f127405a3.png b/dev/_images/mathmpl/math-6f127405a3.png
deleted file mode 100644
index 9fadc98766d..00000000000
Binary files a/dev/_images/mathmpl/math-6f127405a3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-6fd5eead33.png b/dev/_images/mathmpl/math-6fd5eead33.png
deleted file mode 100644
index 80b3995c574..00000000000
Binary files a/dev/_images/mathmpl/math-6fd5eead33.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-705a921d5a.png b/dev/_images/mathmpl/math-705a921d5a.png
deleted file mode 100644
index 3a74a3c0892..00000000000
Binary files a/dev/_images/mathmpl/math-705a921d5a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-70e89758da.png b/dev/_images/mathmpl/math-70e89758da.png
deleted file mode 100644
index c3b8e01e9a8..00000000000
Binary files a/dev/_images/mathmpl/math-70e89758da.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-71771b9385.png b/dev/_images/mathmpl/math-71771b9385.png
deleted file mode 100644
index ee6d87e435f..00000000000
Binary files a/dev/_images/mathmpl/math-71771b9385.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7450111856.png b/dev/_images/mathmpl/math-7450111856.png
deleted file mode 100644
index 596552350bd..00000000000
Binary files a/dev/_images/mathmpl/math-7450111856.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-74b9b263f9.png b/dev/_images/mathmpl/math-74b9b263f9.png
deleted file mode 100644
index 2513c2f8c93..00000000000
Binary files a/dev/_images/mathmpl/math-74b9b263f9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-75e95f3f2b.png b/dev/_images/mathmpl/math-75e95f3f2b.png
deleted file mode 100644
index 596a17f9cb6..00000000000
Binary files a/dev/_images/mathmpl/math-75e95f3f2b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-762c3b5e9e.png b/dev/_images/mathmpl/math-762c3b5e9e.png
deleted file mode 100644
index 0357af750ec..00000000000
Binary files a/dev/_images/mathmpl/math-762c3b5e9e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-764751dad5.png b/dev/_images/mathmpl/math-764751dad5.png
deleted file mode 100644
index 76b57a8bf3a..00000000000
Binary files a/dev/_images/mathmpl/math-764751dad5.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-764af5d0f7.png b/dev/_images/mathmpl/math-764af5d0f7.png
deleted file mode 100644
index 459cbc00209..00000000000
Binary files a/dev/_images/mathmpl/math-764af5d0f7.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-765d4eae57.png b/dev/_images/mathmpl/math-765d4eae57.png
deleted file mode 100644
index 3a2f127ccc5..00000000000
Binary files a/dev/_images/mathmpl/math-765d4eae57.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-77926a09ec.png b/dev/_images/mathmpl/math-77926a09ec.png
deleted file mode 100644
index 828b2abf094..00000000000
Binary files a/dev/_images/mathmpl/math-77926a09ec.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-792b216977.png b/dev/_images/mathmpl/math-792b216977.png
deleted file mode 100644
index c88525d46ed..00000000000
Binary files a/dev/_images/mathmpl/math-792b216977.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-793d9cedd0.png b/dev/_images/mathmpl/math-793d9cedd0.png
deleted file mode 100644
index b31ecc933a5..00000000000
Binary files a/dev/_images/mathmpl/math-793d9cedd0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7965c0c1af.png b/dev/_images/mathmpl/math-7965c0c1af.png
deleted file mode 100644
index dc0b05675b2..00000000000
Binary files a/dev/_images/mathmpl/math-7965c0c1af.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-799e766e98.png b/dev/_images/mathmpl/math-799e766e98.png
deleted file mode 100644
index a1b7dd37386..00000000000
Binary files a/dev/_images/mathmpl/math-799e766e98.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-79a0df421c.png b/dev/_images/mathmpl/math-79a0df421c.png
deleted file mode 100644
index 69d847fc273..00000000000
Binary files a/dev/_images/mathmpl/math-79a0df421c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7a5bdaf004.png b/dev/_images/mathmpl/math-7a5bdaf004.png
deleted file mode 100644
index 283418843f5..00000000000
Binary files a/dev/_images/mathmpl/math-7a5bdaf004.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7a88315c05.png b/dev/_images/mathmpl/math-7a88315c05.png
deleted file mode 100644
index d8935cb382b..00000000000
Binary files a/dev/_images/mathmpl/math-7a88315c05.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7cafbba6d3.png b/dev/_images/mathmpl/math-7cafbba6d3.png
deleted file mode 100644
index e5defe9743b..00000000000
Binary files a/dev/_images/mathmpl/math-7cafbba6d3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7d54d13fc9.png b/dev/_images/mathmpl/math-7d54d13fc9.png
deleted file mode 100644
index 7a674159ed3..00000000000
Binary files a/dev/_images/mathmpl/math-7d54d13fc9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7d9222c03b.png b/dev/_images/mathmpl/math-7d9222c03b.png
deleted file mode 100644
index add1ee1289b..00000000000
Binary files a/dev/_images/mathmpl/math-7d9222c03b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7da885dcbf.png b/dev/_images/mathmpl/math-7da885dcbf.png
deleted file mode 100644
index bb309b84190..00000000000
Binary files a/dev/_images/mathmpl/math-7da885dcbf.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7db176731c.png b/dev/_images/mathmpl/math-7db176731c.png
deleted file mode 100644
index 614c9e84f76..00000000000
Binary files a/dev/_images/mathmpl/math-7db176731c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7e90b124a8.png b/dev/_images/mathmpl/math-7e90b124a8.png
deleted file mode 100644
index d1b18636793..00000000000
Binary files a/dev/_images/mathmpl/math-7e90b124a8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-7ffb7d798c.png b/dev/_images/mathmpl/math-7ffb7d798c.png
deleted file mode 100644
index f44ca157960..00000000000
Binary files a/dev/_images/mathmpl/math-7ffb7d798c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-800bb70468.png b/dev/_images/mathmpl/math-800bb70468.png
deleted file mode 100644
index 5e299047216..00000000000
Binary files a/dev/_images/mathmpl/math-800bb70468.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-80117b16d3.png b/dev/_images/mathmpl/math-80117b16d3.png
deleted file mode 100644
index 20e9b887bdb..00000000000
Binary files a/dev/_images/mathmpl/math-80117b16d3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8082fb34e8.png b/dev/_images/mathmpl/math-8082fb34e8.png
deleted file mode 100644
index 01673b6b4c9..00000000000
Binary files a/dev/_images/mathmpl/math-8082fb34e8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-80a13771b7.png b/dev/_images/mathmpl/math-80a13771b7.png
deleted file mode 100644
index 241acaa79c6..00000000000
Binary files a/dev/_images/mathmpl/math-80a13771b7.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-813255d42d.png b/dev/_images/mathmpl/math-813255d42d.png
deleted file mode 100644
index 014e9bf0eac..00000000000
Binary files a/dev/_images/mathmpl/math-813255d42d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-813dcf0a93.png b/dev/_images/mathmpl/math-813dcf0a93.png
deleted file mode 100644
index 0898fe8358a..00000000000
Binary files a/dev/_images/mathmpl/math-813dcf0a93.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-83ff203e39.png b/dev/_images/mathmpl/math-83ff203e39.png
deleted file mode 100644
index c653a56c097..00000000000
Binary files a/dev/_images/mathmpl/math-83ff203e39.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-86ea2beb93.png b/dev/_images/mathmpl/math-86ea2beb93.png
deleted file mode 100644
index 5d337a90e39..00000000000
Binary files a/dev/_images/mathmpl/math-86ea2beb93.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-88814f8d66.png b/dev/_images/mathmpl/math-88814f8d66.png
deleted file mode 100644
index dc6df0742da..00000000000
Binary files a/dev/_images/mathmpl/math-88814f8d66.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-888740ee66.png b/dev/_images/mathmpl/math-888740ee66.png
deleted file mode 100644
index 48b142b0a90..00000000000
Binary files a/dev/_images/mathmpl/math-888740ee66.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-88c0703f35.png b/dev/_images/mathmpl/math-88c0703f35.png
deleted file mode 100644
index 661979de74c..00000000000
Binary files a/dev/_images/mathmpl/math-88c0703f35.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8963eae853.png b/dev/_images/mathmpl/math-8963eae853.png
deleted file mode 100644
index 6db46f16269..00000000000
Binary files a/dev/_images/mathmpl/math-8963eae853.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-89f87a2f0c.png b/dev/_images/mathmpl/math-89f87a2f0c.png
deleted file mode 100644
index 0c5680b6446..00000000000
Binary files a/dev/_images/mathmpl/math-89f87a2f0c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8aa32761da.png b/dev/_images/mathmpl/math-8aa32761da.png
deleted file mode 100644
index 7077bbb93ae..00000000000
Binary files a/dev/_images/mathmpl/math-8aa32761da.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8bc070eada.png b/dev/_images/mathmpl/math-8bc070eada.png
deleted file mode 100644
index a6d39781a97..00000000000
Binary files a/dev/_images/mathmpl/math-8bc070eada.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8c68333295.png b/dev/_images/mathmpl/math-8c68333295.png
deleted file mode 100644
index 0e0ead072b6..00000000000
Binary files a/dev/_images/mathmpl/math-8c68333295.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8c6a0f04b9.png b/dev/_images/mathmpl/math-8c6a0f04b9.png
deleted file mode 100644
index 1ecc0e9bb01..00000000000
Binary files a/dev/_images/mathmpl/math-8c6a0f04b9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8d37bd9196.png b/dev/_images/mathmpl/math-8d37bd9196.png
deleted file mode 100644
index 74b0e64b946..00000000000
Binary files a/dev/_images/mathmpl/math-8d37bd9196.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8da9245788.png b/dev/_images/mathmpl/math-8da9245788.png
deleted file mode 100644
index 6c336375b15..00000000000
Binary files a/dev/_images/mathmpl/math-8da9245788.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8e388594ad.png b/dev/_images/mathmpl/math-8e388594ad.png
deleted file mode 100644
index d4fc46cf9ca..00000000000
Binary files a/dev/_images/mathmpl/math-8e388594ad.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8e4b9eb82b.png b/dev/_images/mathmpl/math-8e4b9eb82b.png
deleted file mode 100644
index 6d1e01c4945..00000000000
Binary files a/dev/_images/mathmpl/math-8e4b9eb82b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8e6cdc7038.png b/dev/_images/mathmpl/math-8e6cdc7038.png
deleted file mode 100644
index b096e403b69..00000000000
Binary files a/dev/_images/mathmpl/math-8e6cdc7038.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8e6df07c24.png b/dev/_images/mathmpl/math-8e6df07c24.png
deleted file mode 100644
index d78c1a49343..00000000000
Binary files a/dev/_images/mathmpl/math-8e6df07c24.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8f454df900.png b/dev/_images/mathmpl/math-8f454df900.png
deleted file mode 100644
index 724dba1926c..00000000000
Binary files a/dev/_images/mathmpl/math-8f454df900.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8f609835cb.png b/dev/_images/mathmpl/math-8f609835cb.png
deleted file mode 100644
index b48167b01a2..00000000000
Binary files a/dev/_images/mathmpl/math-8f609835cb.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8f896d9410.png b/dev/_images/mathmpl/math-8f896d9410.png
deleted file mode 100644
index 8133a9763ef..00000000000
Binary files a/dev/_images/mathmpl/math-8f896d9410.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-8f8c0c020c.png b/dev/_images/mathmpl/math-8f8c0c020c.png
deleted file mode 100644
index 8031f8840cb..00000000000
Binary files a/dev/_images/mathmpl/math-8f8c0c020c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9119a30630.png b/dev/_images/mathmpl/math-9119a30630.png
deleted file mode 100644
index 651169bc677..00000000000
Binary files a/dev/_images/mathmpl/math-9119a30630.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-91a36bab96.png b/dev/_images/mathmpl/math-91a36bab96.png
deleted file mode 100644
index 80ebf5558bf..00000000000
Binary files a/dev/_images/mathmpl/math-91a36bab96.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-91b94c6be9.png b/dev/_images/mathmpl/math-91b94c6be9.png
deleted file mode 100644
index 8c82b0f3541..00000000000
Binary files a/dev/_images/mathmpl/math-91b94c6be9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-92306485fb.png b/dev/_images/mathmpl/math-92306485fb.png
deleted file mode 100644
index 0a2e1672f0e..00000000000
Binary files a/dev/_images/mathmpl/math-92306485fb.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-923c665edb.png b/dev/_images/mathmpl/math-923c665edb.png
deleted file mode 100644
index 8987a9a2f67..00000000000
Binary files a/dev/_images/mathmpl/math-923c665edb.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-92a896986d.png b/dev/_images/mathmpl/math-92a896986d.png
deleted file mode 100644
index e7c83813ed3..00000000000
Binary files a/dev/_images/mathmpl/math-92a896986d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-92fc1ff85f.png b/dev/_images/mathmpl/math-92fc1ff85f.png
deleted file mode 100644
index 2c7e9b1d323..00000000000
Binary files a/dev/_images/mathmpl/math-92fc1ff85f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9336896bb3.png b/dev/_images/mathmpl/math-9336896bb3.png
deleted file mode 100644
index aa4ef3f70d7..00000000000
Binary files a/dev/_images/mathmpl/math-9336896bb3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-937e2c148d.png b/dev/_images/mathmpl/math-937e2c148d.png
deleted file mode 100644
index dc06fcf04a6..00000000000
Binary files a/dev/_images/mathmpl/math-937e2c148d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-93a935b705.png b/dev/_images/mathmpl/math-93a935b705.png
deleted file mode 100644
index 7b91e4714a0..00000000000
Binary files a/dev/_images/mathmpl/math-93a935b705.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-94ff64057f.png b/dev/_images/mathmpl/math-94ff64057f.png
deleted file mode 100644
index 7dfbcd5500c..00000000000
Binary files a/dev/_images/mathmpl/math-94ff64057f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-953993beed.png b/dev/_images/mathmpl/math-953993beed.png
deleted file mode 100644
index f5b2807966d..00000000000
Binary files a/dev/_images/mathmpl/math-953993beed.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9544659959.png b/dev/_images/mathmpl/math-9544659959.png
deleted file mode 100644
index 27fdb03fc9d..00000000000
Binary files a/dev/_images/mathmpl/math-9544659959.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-968de0e26b.png b/dev/_images/mathmpl/math-968de0e26b.png
deleted file mode 100644
index 59d590227b8..00000000000
Binary files a/dev/_images/mathmpl/math-968de0e26b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-96aad37e82.png b/dev/_images/mathmpl/math-96aad37e82.png
deleted file mode 100644
index 1c6a26f6a90..00000000000
Binary files a/dev/_images/mathmpl/math-96aad37e82.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-96c9a8ca95.png b/dev/_images/mathmpl/math-96c9a8ca95.png
deleted file mode 100644
index ae4531ce673..00000000000
Binary files a/dev/_images/mathmpl/math-96c9a8ca95.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-989088989a.png b/dev/_images/mathmpl/math-989088989a.png
deleted file mode 100644
index c68abeba29d..00000000000
Binary files a/dev/_images/mathmpl/math-989088989a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-98c28d2d1b.png b/dev/_images/mathmpl/math-98c28d2d1b.png
deleted file mode 100644
index 6fe7ad77fc9..00000000000
Binary files a/dev/_images/mathmpl/math-98c28d2d1b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-98c8089378.png b/dev/_images/mathmpl/math-98c8089378.png
deleted file mode 100644
index e97b6ea4baf..00000000000
Binary files a/dev/_images/mathmpl/math-98c8089378.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-993151c5de.png b/dev/_images/mathmpl/math-993151c5de.png
deleted file mode 100644
index 2fd546e201f..00000000000
Binary files a/dev/_images/mathmpl/math-993151c5de.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-995f666935.png b/dev/_images/mathmpl/math-995f666935.png
deleted file mode 100644
index 425c4f9ceaa..00000000000
Binary files a/dev/_images/mathmpl/math-995f666935.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-99abe4d704.png b/dev/_images/mathmpl/math-99abe4d704.png
deleted file mode 100644
index a520ad79d06..00000000000
Binary files a/dev/_images/mathmpl/math-99abe4d704.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9a483a288a.png b/dev/_images/mathmpl/math-9a483a288a.png
deleted file mode 100644
index 5da9a6f520d..00000000000
Binary files a/dev/_images/mathmpl/math-9a483a288a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9afe2d20f8.png b/dev/_images/mathmpl/math-9afe2d20f8.png
deleted file mode 100644
index 0307e3e44b3..00000000000
Binary files a/dev/_images/mathmpl/math-9afe2d20f8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9b12241d0c.png b/dev/_images/mathmpl/math-9b12241d0c.png
deleted file mode 100644
index 17ff7260f27..00000000000
Binary files a/dev/_images/mathmpl/math-9b12241d0c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9b14251f65.png b/dev/_images/mathmpl/math-9b14251f65.png
deleted file mode 100644
index 3ef7afc698e..00000000000
Binary files a/dev/_images/mathmpl/math-9b14251f65.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9b8a721035.png b/dev/_images/mathmpl/math-9b8a721035.png
deleted file mode 100644
index bab91c4232b..00000000000
Binary files a/dev/_images/mathmpl/math-9b8a721035.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9c3c23a23d.png b/dev/_images/mathmpl/math-9c3c23a23d.png
deleted file mode 100644
index c81c3ec189a..00000000000
Binary files a/dev/_images/mathmpl/math-9c3c23a23d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9d267a8c3c.png b/dev/_images/mathmpl/math-9d267a8c3c.png
deleted file mode 100644
index 4e4a21855a0..00000000000
Binary files a/dev/_images/mathmpl/math-9d267a8c3c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9d5e427aeb.png b/dev/_images/mathmpl/math-9d5e427aeb.png
deleted file mode 100644
index 4a8710c8bff..00000000000
Binary files a/dev/_images/mathmpl/math-9d5e427aeb.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9d750cc7d9.png b/dev/_images/mathmpl/math-9d750cc7d9.png
deleted file mode 100644
index 8417bda5b67..00000000000
Binary files a/dev/_images/mathmpl/math-9d750cc7d9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9db5c962c8.png b/dev/_images/mathmpl/math-9db5c962c8.png
deleted file mode 100644
index a2b360bf22a..00000000000
Binary files a/dev/_images/mathmpl/math-9db5c962c8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-9e1beabce9.png b/dev/_images/mathmpl/math-9e1beabce9.png
deleted file mode 100644
index f82a247edcb..00000000000
Binary files a/dev/_images/mathmpl/math-9e1beabce9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a01094061c.png b/dev/_images/mathmpl/math-a01094061c.png
deleted file mode 100644
index e48629fe0db..00000000000
Binary files a/dev/_images/mathmpl/math-a01094061c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a019dc17a7.png b/dev/_images/mathmpl/math-a019dc17a7.png
deleted file mode 100644
index d1b9fd84163..00000000000
Binary files a/dev/_images/mathmpl/math-a019dc17a7.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a0b5414d31.png b/dev/_images/mathmpl/math-a0b5414d31.png
deleted file mode 100644
index 44cee8bdde8..00000000000
Binary files a/dev/_images/mathmpl/math-a0b5414d31.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a12676f03f.png b/dev/_images/mathmpl/math-a12676f03f.png
deleted file mode 100644
index 94ed84c1960..00000000000
Binary files a/dev/_images/mathmpl/math-a12676f03f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a174a79fa7.png b/dev/_images/mathmpl/math-a174a79fa7.png
deleted file mode 100644
index 80a44baecfe..00000000000
Binary files a/dev/_images/mathmpl/math-a174a79fa7.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a1903b29fd.png b/dev/_images/mathmpl/math-a1903b29fd.png
deleted file mode 100644
index 53243dd1b02..00000000000
Binary files a/dev/_images/mathmpl/math-a1903b29fd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a2e07eb2ff.png b/dev/_images/mathmpl/math-a2e07eb2ff.png
deleted file mode 100644
index d367f8b60c3..00000000000
Binary files a/dev/_images/mathmpl/math-a2e07eb2ff.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a2eb9bae76.png b/dev/_images/mathmpl/math-a2eb9bae76.png
deleted file mode 100644
index ede2629d4bb..00000000000
Binary files a/dev/_images/mathmpl/math-a2eb9bae76.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a31bc74ee2.png b/dev/_images/mathmpl/math-a31bc74ee2.png
deleted file mode 100644
index 419ef8897de..00000000000
Binary files a/dev/_images/mathmpl/math-a31bc74ee2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a3ca6be911.png b/dev/_images/mathmpl/math-a3ca6be911.png
deleted file mode 100644
index f7081b9125d..00000000000
Binary files a/dev/_images/mathmpl/math-a3ca6be911.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a3de1e5b51.png b/dev/_images/mathmpl/math-a3de1e5b51.png
deleted file mode 100644
index 667cfce621f..00000000000
Binary files a/dev/_images/mathmpl/math-a3de1e5b51.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a3f9f1f014.png b/dev/_images/mathmpl/math-a3f9f1f014.png
deleted file mode 100644
index eab422ff0b8..00000000000
Binary files a/dev/_images/mathmpl/math-a3f9f1f014.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a41c184ca6.png b/dev/_images/mathmpl/math-a41c184ca6.png
deleted file mode 100644
index 670e58931bc..00000000000
Binary files a/dev/_images/mathmpl/math-a41c184ca6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a4f1a69c76.png b/dev/_images/mathmpl/math-a4f1a69c76.png
deleted file mode 100644
index adbbca727da..00000000000
Binary files a/dev/_images/mathmpl/math-a4f1a69c76.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a4f974e6ac.png b/dev/_images/mathmpl/math-a4f974e6ac.png
deleted file mode 100644
index 5d8b75cbe61..00000000000
Binary files a/dev/_images/mathmpl/math-a4f974e6ac.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a539c63e58.png b/dev/_images/mathmpl/math-a539c63e58.png
deleted file mode 100644
index b1981095f5d..00000000000
Binary files a/dev/_images/mathmpl/math-a539c63e58.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a55f718abe.png b/dev/_images/mathmpl/math-a55f718abe.png
deleted file mode 100644
index ce72ae22963..00000000000
Binary files a/dev/_images/mathmpl/math-a55f718abe.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a57791e0e2.png b/dev/_images/mathmpl/math-a57791e0e2.png
deleted file mode 100644
index 0de7c60ccec..00000000000
Binary files a/dev/_images/mathmpl/math-a57791e0e2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a59e0fa5ee.png b/dev/_images/mathmpl/math-a59e0fa5ee.png
deleted file mode 100644
index e8502299517..00000000000
Binary files a/dev/_images/mathmpl/math-a59e0fa5ee.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a5b22dbdac.png b/dev/_images/mathmpl/math-a5b22dbdac.png
deleted file mode 100644
index 36b149a3efa..00000000000
Binary files a/dev/_images/mathmpl/math-a5b22dbdac.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a5edc7016a.png b/dev/_images/mathmpl/math-a5edc7016a.png
deleted file mode 100644
index f291aa2289b..00000000000
Binary files a/dev/_images/mathmpl/math-a5edc7016a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a608a7ae83.png b/dev/_images/mathmpl/math-a608a7ae83.png
deleted file mode 100644
index 9dfdd6f27b9..00000000000
Binary files a/dev/_images/mathmpl/math-a608a7ae83.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a79325da6f.png b/dev/_images/mathmpl/math-a79325da6f.png
deleted file mode 100644
index 6de26ff9640..00000000000
Binary files a/dev/_images/mathmpl/math-a79325da6f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a88976d8dd.png b/dev/_images/mathmpl/math-a88976d8dd.png
deleted file mode 100644
index 4a5b2a41cb2..00000000000
Binary files a/dev/_images/mathmpl/math-a88976d8dd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a99c89f6e1.png b/dev/_images/mathmpl/math-a99c89f6e1.png
deleted file mode 100644
index e038eb21917..00000000000
Binary files a/dev/_images/mathmpl/math-a99c89f6e1.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-a9a0109ea9.png b/dev/_images/mathmpl/math-a9a0109ea9.png
deleted file mode 100644
index c1963e803e3..00000000000
Binary files a/dev/_images/mathmpl/math-a9a0109ea9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ab04245089.png b/dev/_images/mathmpl/math-ab04245089.png
deleted file mode 100644
index 8c6b547fb52..00000000000
Binary files a/dev/_images/mathmpl/math-ab04245089.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ab35a80a37.png b/dev/_images/mathmpl/math-ab35a80a37.png
deleted file mode 100644
index 800fb7dff81..00000000000
Binary files a/dev/_images/mathmpl/math-ab35a80a37.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ac7cfff3a1.png b/dev/_images/mathmpl/math-ac7cfff3a1.png
deleted file mode 100644
index 76821a90250..00000000000
Binary files a/dev/_images/mathmpl/math-ac7cfff3a1.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-aca311c641.png b/dev/_images/mathmpl/math-aca311c641.png
deleted file mode 100644
index 69bea7d9444..00000000000
Binary files a/dev/_images/mathmpl/math-aca311c641.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ad0c7d5fd3.png b/dev/_images/mathmpl/math-ad0c7d5fd3.png
deleted file mode 100644
index d510f77f53c..00000000000
Binary files a/dev/_images/mathmpl/math-ad0c7d5fd3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ad67ff4a6f.png b/dev/_images/mathmpl/math-ad67ff4a6f.png
deleted file mode 100644
index 441e64b432e..00000000000
Binary files a/dev/_images/mathmpl/math-ad67ff4a6f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-adb99bedc4.png b/dev/_images/mathmpl/math-adb99bedc4.png
deleted file mode 100644
index 661ab307c33..00000000000
Binary files a/dev/_images/mathmpl/math-adb99bedc4.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ae2fa40b25.png b/dev/_images/mathmpl/math-ae2fa40b25.png
deleted file mode 100644
index 50bd9c5c3ce..00000000000
Binary files a/dev/_images/mathmpl/math-ae2fa40b25.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ae65c1de79.png b/dev/_images/mathmpl/math-ae65c1de79.png
deleted file mode 100644
index fbb165c2887..00000000000
Binary files a/dev/_images/mathmpl/math-ae65c1de79.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ae7023d9db.png b/dev/_images/mathmpl/math-ae7023d9db.png
deleted file mode 100644
index 578b3e30347..00000000000
Binary files a/dev/_images/mathmpl/math-ae7023d9db.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-af3bc8ac21.png b/dev/_images/mathmpl/math-af3bc8ac21.png
deleted file mode 100644
index b89fbacb99c..00000000000
Binary files a/dev/_images/mathmpl/math-af3bc8ac21.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b045970090.png b/dev/_images/mathmpl/math-b045970090.png
deleted file mode 100644
index 88b979ca816..00000000000
Binary files a/dev/_images/mathmpl/math-b045970090.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b15f9f29ec.png b/dev/_images/mathmpl/math-b15f9f29ec.png
deleted file mode 100644
index 1a8b831e609..00000000000
Binary files a/dev/_images/mathmpl/math-b15f9f29ec.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b1d46891d0.png b/dev/_images/mathmpl/math-b1d46891d0.png
deleted file mode 100644
index d2b9f91e058..00000000000
Binary files a/dev/_images/mathmpl/math-b1d46891d0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b1d77626bb.png b/dev/_images/mathmpl/math-b1d77626bb.png
deleted file mode 100644
index d2c30087a27..00000000000
Binary files a/dev/_images/mathmpl/math-b1d77626bb.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b225b29af4.png b/dev/_images/mathmpl/math-b225b29af4.png
deleted file mode 100644
index 987930cc2c9..00000000000
Binary files a/dev/_images/mathmpl/math-b225b29af4.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b373234f3b.png b/dev/_images/mathmpl/math-b373234f3b.png
deleted file mode 100644
index 9e0bef60498..00000000000
Binary files a/dev/_images/mathmpl/math-b373234f3b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b43c061111.png b/dev/_images/mathmpl/math-b43c061111.png
deleted file mode 100644
index 1ab6bca77ca..00000000000
Binary files a/dev/_images/mathmpl/math-b43c061111.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b53ab799d1.png b/dev/_images/mathmpl/math-b53ab799d1.png
deleted file mode 100644
index bc6d8f8b83f..00000000000
Binary files a/dev/_images/mathmpl/math-b53ab799d1.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b5496f6786.png b/dev/_images/mathmpl/math-b5496f6786.png
deleted file mode 100644
index 924d2362574..00000000000
Binary files a/dev/_images/mathmpl/math-b5496f6786.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b555ccd28d.png b/dev/_images/mathmpl/math-b555ccd28d.png
deleted file mode 100644
index 0cfd1a48da6..00000000000
Binary files a/dev/_images/mathmpl/math-b555ccd28d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b5a379f4e8.png b/dev/_images/mathmpl/math-b5a379f4e8.png
deleted file mode 100644
index 9e1b2601ef4..00000000000
Binary files a/dev/_images/mathmpl/math-b5a379f4e8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b5ae8c62a3.png b/dev/_images/mathmpl/math-b5ae8c62a3.png
deleted file mode 100644
index 242d8218825..00000000000
Binary files a/dev/_images/mathmpl/math-b5ae8c62a3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b6a35dc0d4.png b/dev/_images/mathmpl/math-b6a35dc0d4.png
deleted file mode 100644
index 3c90bd962b9..00000000000
Binary files a/dev/_images/mathmpl/math-b6a35dc0d4.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b7c281dd54.png b/dev/_images/mathmpl/math-b7c281dd54.png
deleted file mode 100644
index 456f7613257..00000000000
Binary files a/dev/_images/mathmpl/math-b7c281dd54.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b7c546c13f.png b/dev/_images/mathmpl/math-b7c546c13f.png
deleted file mode 100644
index 049f02c6791..00000000000
Binary files a/dev/_images/mathmpl/math-b7c546c13f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b8348856ea.png b/dev/_images/mathmpl/math-b8348856ea.png
deleted file mode 100644
index 0f7030ef0fc..00000000000
Binary files a/dev/_images/mathmpl/math-b8348856ea.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-b8571a3cc2.png b/dev/_images/mathmpl/math-b8571a3cc2.png
deleted file mode 100644
index 50bd68e8504..00000000000
Binary files a/dev/_images/mathmpl/math-b8571a3cc2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ba64c5e997.png b/dev/_images/mathmpl/math-ba64c5e997.png
deleted file mode 100644
index a9043137371..00000000000
Binary files a/dev/_images/mathmpl/math-ba64c5e997.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-bab33d6e68.png b/dev/_images/mathmpl/math-bab33d6e68.png
deleted file mode 100644
index 2e6f4989522..00000000000
Binary files a/dev/_images/mathmpl/math-bab33d6e68.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-bbdf3d8983.png b/dev/_images/mathmpl/math-bbdf3d8983.png
deleted file mode 100644
index 0625846f885..00000000000
Binary files a/dev/_images/mathmpl/math-bbdf3d8983.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-bc54d541fc.png b/dev/_images/mathmpl/math-bc54d541fc.png
deleted file mode 100644
index f23d17b34e4..00000000000
Binary files a/dev/_images/mathmpl/math-bc54d541fc.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-bce42da457.png b/dev/_images/mathmpl/math-bce42da457.png
deleted file mode 100644
index 83e8fa0f26f..00000000000
Binary files a/dev/_images/mathmpl/math-bce42da457.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-be2ea18bef.png b/dev/_images/mathmpl/math-be2ea18bef.png
deleted file mode 100644
index aa02ed08206..00000000000
Binary files a/dev/_images/mathmpl/math-be2ea18bef.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-be84d4168e.png b/dev/_images/mathmpl/math-be84d4168e.png
deleted file mode 100644
index 31314291a8d..00000000000
Binary files a/dev/_images/mathmpl/math-be84d4168e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-bf67fbdaae.png b/dev/_images/mathmpl/math-bf67fbdaae.png
deleted file mode 100644
index 5fc983be13f..00000000000
Binary files a/dev/_images/mathmpl/math-bf67fbdaae.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-bf7d25e347.png b/dev/_images/mathmpl/math-bf7d25e347.png
deleted file mode 100644
index 84dc33a0fd9..00000000000
Binary files a/dev/_images/mathmpl/math-bf7d25e347.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c05929fd30.png b/dev/_images/mathmpl/math-c05929fd30.png
deleted file mode 100644
index e3056672a43..00000000000
Binary files a/dev/_images/mathmpl/math-c05929fd30.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c0df1e9b19.png b/dev/_images/mathmpl/math-c0df1e9b19.png
deleted file mode 100644
index 8191d0a081c..00000000000
Binary files a/dev/_images/mathmpl/math-c0df1e9b19.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c104febab3.png b/dev/_images/mathmpl/math-c104febab3.png
deleted file mode 100644
index 629636f4ec5..00000000000
Binary files a/dev/_images/mathmpl/math-c104febab3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c2c43a5762.png b/dev/_images/mathmpl/math-c2c43a5762.png
deleted file mode 100644
index 15a9c6d3d5d..00000000000
Binary files a/dev/_images/mathmpl/math-c2c43a5762.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c3a13bbc63.png b/dev/_images/mathmpl/math-c3a13bbc63.png
deleted file mode 100644
index 00c6b67ffff..00000000000
Binary files a/dev/_images/mathmpl/math-c3a13bbc63.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c3fea548da.png b/dev/_images/mathmpl/math-c3fea548da.png
deleted file mode 100644
index a78f63ce931..00000000000
Binary files a/dev/_images/mathmpl/math-c3fea548da.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c408639f33.png b/dev/_images/mathmpl/math-c408639f33.png
deleted file mode 100644
index a4186e07f55..00000000000
Binary files a/dev/_images/mathmpl/math-c408639f33.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c40f3bc7dc.png b/dev/_images/mathmpl/math-c40f3bc7dc.png
deleted file mode 100644
index aa16b4c95ee..00000000000
Binary files a/dev/_images/mathmpl/math-c40f3bc7dc.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c53255ce25.png b/dev/_images/mathmpl/math-c53255ce25.png
deleted file mode 100644
index 552a265f94f..00000000000
Binary files a/dev/_images/mathmpl/math-c53255ce25.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c5baac4e57.png b/dev/_images/mathmpl/math-c5baac4e57.png
deleted file mode 100644
index b7b9be684fb..00000000000
Binary files a/dev/_images/mathmpl/math-c5baac4e57.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c6975aea0e.png b/dev/_images/mathmpl/math-c6975aea0e.png
deleted file mode 100644
index 36fef762cc6..00000000000
Binary files a/dev/_images/mathmpl/math-c6975aea0e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c72f36312c.png b/dev/_images/mathmpl/math-c72f36312c.png
deleted file mode 100644
index 8f062b0bdab..00000000000
Binary files a/dev/_images/mathmpl/math-c72f36312c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c7d2b9a8fd.png b/dev/_images/mathmpl/math-c7d2b9a8fd.png
deleted file mode 100644
index b36736943bf..00000000000
Binary files a/dev/_images/mathmpl/math-c7d2b9a8fd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c8056d47b3.png b/dev/_images/mathmpl/math-c8056d47b3.png
deleted file mode 100644
index 828b2abf094..00000000000
Binary files a/dev/_images/mathmpl/math-c8056d47b3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c899412e92.png b/dev/_images/mathmpl/math-c899412e92.png
deleted file mode 100644
index 200d281089d..00000000000
Binary files a/dev/_images/mathmpl/math-c899412e92.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c8d83de344.png b/dev/_images/mathmpl/math-c8d83de344.png
deleted file mode 100644
index b904537c186..00000000000
Binary files a/dev/_images/mathmpl/math-c8d83de344.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c8fe9fb96c.png b/dev/_images/mathmpl/math-c8fe9fb96c.png
deleted file mode 100644
index c358463ff6b..00000000000
Binary files a/dev/_images/mathmpl/math-c8fe9fb96c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c9136df47e.png b/dev/_images/mathmpl/math-c9136df47e.png
deleted file mode 100644
index 0d49b4214f7..00000000000
Binary files a/dev/_images/mathmpl/math-c9136df47e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c957a5ae9f.png b/dev/_images/mathmpl/math-c957a5ae9f.png
deleted file mode 100644
index 8a3502f36b5..00000000000
Binary files a/dev/_images/mathmpl/math-c957a5ae9f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-c985be990e.png b/dev/_images/mathmpl/math-c985be990e.png
deleted file mode 100644
index 186c840ad8e..00000000000
Binary files a/dev/_images/mathmpl/math-c985be990e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ca3f612baa.png b/dev/_images/mathmpl/math-ca3f612baa.png
deleted file mode 100644
index 3e87d6b1068..00000000000
Binary files a/dev/_images/mathmpl/math-ca3f612baa.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-cac5abe8bf.png b/dev/_images/mathmpl/math-cac5abe8bf.png
deleted file mode 100644
index a8e0e374276..00000000000
Binary files a/dev/_images/mathmpl/math-cac5abe8bf.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-cbd4824a55.png b/dev/_images/mathmpl/math-cbd4824a55.png
deleted file mode 100644
index a22841d12b0..00000000000
Binary files a/dev/_images/mathmpl/math-cbd4824a55.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-cc1340c453.png b/dev/_images/mathmpl/math-cc1340c453.png
deleted file mode 100644
index 3ed3e1ec836..00000000000
Binary files a/dev/_images/mathmpl/math-cc1340c453.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-cca8605565.png b/dev/_images/mathmpl/math-cca8605565.png
deleted file mode 100644
index 796fa00bf58..00000000000
Binary files a/dev/_images/mathmpl/math-cca8605565.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ccea9f4e30.png b/dev/_images/mathmpl/math-ccea9f4e30.png
deleted file mode 100644
index 07109276d6f..00000000000
Binary files a/dev/_images/mathmpl/math-ccea9f4e30.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-cd5adea2d9.png b/dev/_images/mathmpl/math-cd5adea2d9.png
deleted file mode 100644
index 8ff55157fb0..00000000000
Binary files a/dev/_images/mathmpl/math-cd5adea2d9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ce75170225.png b/dev/_images/mathmpl/math-ce75170225.png
deleted file mode 100644
index 4c03e98944e..00000000000
Binary files a/dev/_images/mathmpl/math-ce75170225.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-cebfe4186d.png b/dev/_images/mathmpl/math-cebfe4186d.png
deleted file mode 100644
index d8c036ff211..00000000000
Binary files a/dev/_images/mathmpl/math-cebfe4186d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-cf8f5e2275.png b/dev/_images/mathmpl/math-cf8f5e2275.png
deleted file mode 100644
index 837f68ff33d..00000000000
Binary files a/dev/_images/mathmpl/math-cf8f5e2275.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-cfcebc2ef8.png b/dev/_images/mathmpl/math-cfcebc2ef8.png
deleted file mode 100644
index a0a6c261483..00000000000
Binary files a/dev/_images/mathmpl/math-cfcebc2ef8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d00ab41d80.png b/dev/_images/mathmpl/math-d00ab41d80.png
deleted file mode 100644
index b083df4e224..00000000000
Binary files a/dev/_images/mathmpl/math-d00ab41d80.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d115134b0c.png b/dev/_images/mathmpl/math-d115134b0c.png
deleted file mode 100644
index 0fa79b2a961..00000000000
Binary files a/dev/_images/mathmpl/math-d115134b0c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d11bf19a50.png b/dev/_images/mathmpl/math-d11bf19a50.png
deleted file mode 100644
index 9cfa4433308..00000000000
Binary files a/dev/_images/mathmpl/math-d11bf19a50.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d2bc160257.png b/dev/_images/mathmpl/math-d2bc160257.png
deleted file mode 100644
index b249543ec23..00000000000
Binary files a/dev/_images/mathmpl/math-d2bc160257.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d3219d7443.png b/dev/_images/mathmpl/math-d3219d7443.png
deleted file mode 100644
index 8603b02757d..00000000000
Binary files a/dev/_images/mathmpl/math-d3219d7443.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d35c7fd4db.png b/dev/_images/mathmpl/math-d35c7fd4db.png
deleted file mode 100644
index 8af0d2caef1..00000000000
Binary files a/dev/_images/mathmpl/math-d35c7fd4db.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d367d088c6.png b/dev/_images/mathmpl/math-d367d088c6.png
deleted file mode 100644
index a3cd56ea2e2..00000000000
Binary files a/dev/_images/mathmpl/math-d367d088c6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d44376b8c3.png b/dev/_images/mathmpl/math-d44376b8c3.png
deleted file mode 100644
index fd8bf70635b..00000000000
Binary files a/dev/_images/mathmpl/math-d44376b8c3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d4d8611cbc.png b/dev/_images/mathmpl/math-d4d8611cbc.png
deleted file mode 100644
index b26b20196eb..00000000000
Binary files a/dev/_images/mathmpl/math-d4d8611cbc.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d51bb4d6d4.png b/dev/_images/mathmpl/math-d51bb4d6d4.png
deleted file mode 100644
index cdbbf9e235d..00000000000
Binary files a/dev/_images/mathmpl/math-d51bb4d6d4.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d5242ce585.png b/dev/_images/mathmpl/math-d5242ce585.png
deleted file mode 100644
index bb8fd9c4cd5..00000000000
Binary files a/dev/_images/mathmpl/math-d5242ce585.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d6c1d2bb14.png b/dev/_images/mathmpl/math-d6c1d2bb14.png
deleted file mode 100644
index 624c0cf1cf3..00000000000
Binary files a/dev/_images/mathmpl/math-d6c1d2bb14.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d6c1dc73f3.png b/dev/_images/mathmpl/math-d6c1dc73f3.png
deleted file mode 100644
index 5fa6781e307..00000000000
Binary files a/dev/_images/mathmpl/math-d6c1dc73f3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d78cd804a4.png b/dev/_images/mathmpl/math-d78cd804a4.png
deleted file mode 100644
index 73f4dae2d7f..00000000000
Binary files a/dev/_images/mathmpl/math-d78cd804a4.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d78d7b5c1b.png b/dev/_images/mathmpl/math-d78d7b5c1b.png
deleted file mode 100644
index e12f7950fff..00000000000
Binary files a/dev/_images/mathmpl/math-d78d7b5c1b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d7ee7c1348.png b/dev/_images/mathmpl/math-d7ee7c1348.png
deleted file mode 100644
index be40c67c770..00000000000
Binary files a/dev/_images/mathmpl/math-d7ee7c1348.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d831d8aa62.png b/dev/_images/mathmpl/math-d831d8aa62.png
deleted file mode 100644
index 4aebcc819b3..00000000000
Binary files a/dev/_images/mathmpl/math-d831d8aa62.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d87b34b699.png b/dev/_images/mathmpl/math-d87b34b699.png
deleted file mode 100644
index 091083b2397..00000000000
Binary files a/dev/_images/mathmpl/math-d87b34b699.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d8ad6ecbe6.png b/dev/_images/mathmpl/math-d8ad6ecbe6.png
deleted file mode 100644
index 5aa6b6951e3..00000000000
Binary files a/dev/_images/mathmpl/math-d8ad6ecbe6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-d8d19f17ef.png b/dev/_images/mathmpl/math-d8d19f17ef.png
deleted file mode 100644
index 2c0c32d2a7b..00000000000
Binary files a/dev/_images/mathmpl/math-d8d19f17ef.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-da1122f776.png b/dev/_images/mathmpl/math-da1122f776.png
deleted file mode 100644
index 47ebd62f5f0..00000000000
Binary files a/dev/_images/mathmpl/math-da1122f776.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-db9b9e0126.png b/dev/_images/mathmpl/math-db9b9e0126.png
deleted file mode 100644
index 59adb3c4946..00000000000
Binary files a/dev/_images/mathmpl/math-db9b9e0126.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-dbcc77f1d2.png b/dev/_images/mathmpl/math-dbcc77f1d2.png
deleted file mode 100644
index 6595da509f2..00000000000
Binary files a/dev/_images/mathmpl/math-dbcc77f1d2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-dcb2243778.png b/dev/_images/mathmpl/math-dcb2243778.png
deleted file mode 100644
index 5dd01c27334..00000000000
Binary files a/dev/_images/mathmpl/math-dcb2243778.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-de64de5819.png b/dev/_images/mathmpl/math-de64de5819.png
deleted file mode 100644
index 24610c3a48e..00000000000
Binary files a/dev/_images/mathmpl/math-de64de5819.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-dec391be07.png b/dev/_images/mathmpl/math-dec391be07.png
deleted file mode 100644
index 360d62f3e42..00000000000
Binary files a/dev/_images/mathmpl/math-dec391be07.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-df6899ad3e.png b/dev/_images/mathmpl/math-df6899ad3e.png
deleted file mode 100644
index 08958a636cc..00000000000
Binary files a/dev/_images/mathmpl/math-df6899ad3e.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-dfa04fb947.png b/dev/_images/mathmpl/math-dfa04fb947.png
deleted file mode 100644
index 97b77a58da2..00000000000
Binary files a/dev/_images/mathmpl/math-dfa04fb947.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e0ca686f62.png b/dev/_images/mathmpl/math-e0ca686f62.png
deleted file mode 100644
index 9ca1b883e5a..00000000000
Binary files a/dev/_images/mathmpl/math-e0ca686f62.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e12e277d39.png b/dev/_images/mathmpl/math-e12e277d39.png
deleted file mode 100644
index 97b77a58da2..00000000000
Binary files a/dev/_images/mathmpl/math-e12e277d39.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e15357ad29.png b/dev/_images/mathmpl/math-e15357ad29.png
deleted file mode 100644
index 8bd293ec300..00000000000
Binary files a/dev/_images/mathmpl/math-e15357ad29.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e22cc525ec.png b/dev/_images/mathmpl/math-e22cc525ec.png
deleted file mode 100644
index 88554de67c7..00000000000
Binary files a/dev/_images/mathmpl/math-e22cc525ec.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e29eb6062a.png b/dev/_images/mathmpl/math-e29eb6062a.png
deleted file mode 100644
index 9b1e68f852e..00000000000
Binary files a/dev/_images/mathmpl/math-e29eb6062a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e2adf498a2.png b/dev/_images/mathmpl/math-e2adf498a2.png
deleted file mode 100644
index 1d36dfc690c..00000000000
Binary files a/dev/_images/mathmpl/math-e2adf498a2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e2db32b4d0.png b/dev/_images/mathmpl/math-e2db32b4d0.png
deleted file mode 100644
index 37b9d826a4a..00000000000
Binary files a/dev/_images/mathmpl/math-e2db32b4d0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e2dcef116c.png b/dev/_images/mathmpl/math-e2dcef116c.png
deleted file mode 100644
index 50963ba7aa4..00000000000
Binary files a/dev/_images/mathmpl/math-e2dcef116c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e3168b0fff.png b/dev/_images/mathmpl/math-e3168b0fff.png
deleted file mode 100644
index a929c42aa3c..00000000000
Binary files a/dev/_images/mathmpl/math-e3168b0fff.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e3d8965f58.png b/dev/_images/mathmpl/math-e3d8965f58.png
deleted file mode 100644
index a53f9b2ce11..00000000000
Binary files a/dev/_images/mathmpl/math-e3d8965f58.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e4d9d4c64b.png b/dev/_images/mathmpl/math-e4d9d4c64b.png
deleted file mode 100644
index 0df05a57c77..00000000000
Binary files a/dev/_images/mathmpl/math-e4d9d4c64b.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e51ac520e2.png b/dev/_images/mathmpl/math-e51ac520e2.png
deleted file mode 100644
index 388c152db39..00000000000
Binary files a/dev/_images/mathmpl/math-e51ac520e2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e5cdb1d314.png b/dev/_images/mathmpl/math-e5cdb1d314.png
deleted file mode 100644
index 87dc2aba2f7..00000000000
Binary files a/dev/_images/mathmpl/math-e5cdb1d314.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e63a2108d5.png b/dev/_images/mathmpl/math-e63a2108d5.png
deleted file mode 100644
index 1408b512903..00000000000
Binary files a/dev/_images/mathmpl/math-e63a2108d5.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e661b1289d.png b/dev/_images/mathmpl/math-e661b1289d.png
deleted file mode 100644
index 6ea5f32a5ba..00000000000
Binary files a/dev/_images/mathmpl/math-e661b1289d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e82daa3fb7.png b/dev/_images/mathmpl/math-e82daa3fb7.png
deleted file mode 100644
index abdf9a2d6e4..00000000000
Binary files a/dev/_images/mathmpl/math-e82daa3fb7.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e8cf7f5844.png b/dev/_images/mathmpl/math-e8cf7f5844.png
deleted file mode 100644
index cf478cee171..00000000000
Binary files a/dev/_images/mathmpl/math-e8cf7f5844.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e90d63d41d.png b/dev/_images/mathmpl/math-e90d63d41d.png
deleted file mode 100644
index 2428162227c..00000000000
Binary files a/dev/_images/mathmpl/math-e90d63d41d.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e9444fe0c8.png b/dev/_images/mathmpl/math-e9444fe0c8.png
deleted file mode 100644
index 243841818ad..00000000000
Binary files a/dev/_images/mathmpl/math-e9444fe0c8.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-e98739824f.png b/dev/_images/mathmpl/math-e98739824f.png
deleted file mode 100644
index c3c4147863c..00000000000
Binary files a/dev/_images/mathmpl/math-e98739824f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ea0303ad72.png b/dev/_images/mathmpl/math-ea0303ad72.png
deleted file mode 100644
index 670398e88bf..00000000000
Binary files a/dev/_images/mathmpl/math-ea0303ad72.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ea5241d5f2.png b/dev/_images/mathmpl/math-ea5241d5f2.png
deleted file mode 100644
index 06edeec6da2..00000000000
Binary files a/dev/_images/mathmpl/math-ea5241d5f2.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ea5765e8b3.png b/dev/_images/mathmpl/math-ea5765e8b3.png
deleted file mode 100644
index 954d6421b99..00000000000
Binary files a/dev/_images/mathmpl/math-ea5765e8b3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-eab5c7cdff.png b/dev/_images/mathmpl/math-eab5c7cdff.png
deleted file mode 100644
index afeab089358..00000000000
Binary files a/dev/_images/mathmpl/math-eab5c7cdff.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-eb3a880058.png b/dev/_images/mathmpl/math-eb3a880058.png
deleted file mode 100644
index fda09a495f8..00000000000
Binary files a/dev/_images/mathmpl/math-eb3a880058.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-eb3b3a6d5c.png b/dev/_images/mathmpl/math-eb3b3a6d5c.png
deleted file mode 100644
index 58a67c37429..00000000000
Binary files a/dev/_images/mathmpl/math-eb3b3a6d5c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-eb8d6ee4ad.png b/dev/_images/mathmpl/math-eb8d6ee4ad.png
deleted file mode 100644
index d63c03f59ae..00000000000
Binary files a/dev/_images/mathmpl/math-eb8d6ee4ad.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ec200f4f3a.png b/dev/_images/mathmpl/math-ec200f4f3a.png
deleted file mode 100644
index 6364fd8bed6..00000000000
Binary files a/dev/_images/mathmpl/math-ec200f4f3a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ee226905c4.png b/dev/_images/mathmpl/math-ee226905c4.png
deleted file mode 100644
index 4635748279e..00000000000
Binary files a/dev/_images/mathmpl/math-ee226905c4.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ee61bb7cf9.png b/dev/_images/mathmpl/math-ee61bb7cf9.png
deleted file mode 100644
index 97b77a58da2..00000000000
Binary files a/dev/_images/mathmpl/math-ee61bb7cf9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-eeabc86e5f.png b/dev/_images/mathmpl/math-eeabc86e5f.png
deleted file mode 100644
index 2e9163463fe..00000000000
Binary files a/dev/_images/mathmpl/math-eeabc86e5f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ef7a046183.png b/dev/_images/mathmpl/math-ef7a046183.png
deleted file mode 100644
index 6c3a9caaf18..00000000000
Binary files a/dev/_images/mathmpl/math-ef7a046183.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ef94320557.png b/dev/_images/mathmpl/math-ef94320557.png
deleted file mode 100644
index d201bc97626..00000000000
Binary files a/dev/_images/mathmpl/math-ef94320557.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-efdcd0e7c3.png b/dev/_images/mathmpl/math-efdcd0e7c3.png
deleted file mode 100644
index c1a251244d4..00000000000
Binary files a/dev/_images/mathmpl/math-efdcd0e7c3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f083286645.png b/dev/_images/mathmpl/math-f083286645.png
deleted file mode 100644
index e2bbc0d8b4a..00000000000
Binary files a/dev/_images/mathmpl/math-f083286645.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f0c7f8f01c.png b/dev/_images/mathmpl/math-f0c7f8f01c.png
deleted file mode 100644
index b1b75727a74..00000000000
Binary files a/dev/_images/mathmpl/math-f0c7f8f01c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f0fa40854a.png b/dev/_images/mathmpl/math-f0fa40854a.png
deleted file mode 100644
index c18f82a3e82..00000000000
Binary files a/dev/_images/mathmpl/math-f0fa40854a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f0fe2a4a9f.png b/dev/_images/mathmpl/math-f0fe2a4a9f.png
deleted file mode 100644
index fa8fb150ee7..00000000000
Binary files a/dev/_images/mathmpl/math-f0fe2a4a9f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f11a3eab57.png b/dev/_images/mathmpl/math-f11a3eab57.png
deleted file mode 100644
index 1b416cf8719..00000000000
Binary files a/dev/_images/mathmpl/math-f11a3eab57.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f151e9b6c6.png b/dev/_images/mathmpl/math-f151e9b6c6.png
deleted file mode 100644
index 4255be0e76e..00000000000
Binary files a/dev/_images/mathmpl/math-f151e9b6c6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f1bfb0bbf7.png b/dev/_images/mathmpl/math-f1bfb0bbf7.png
deleted file mode 100644
index 451828c7c02..00000000000
Binary files a/dev/_images/mathmpl/math-f1bfb0bbf7.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f2e3547a85.png b/dev/_images/mathmpl/math-f2e3547a85.png
deleted file mode 100644
index 6e3448fefe2..00000000000
Binary files a/dev/_images/mathmpl/math-f2e3547a85.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f313a5f9af.png b/dev/_images/mathmpl/math-f313a5f9af.png
deleted file mode 100644
index 725cca95e74..00000000000
Binary files a/dev/_images/mathmpl/math-f313a5f9af.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f3f9a5c2b6.png b/dev/_images/mathmpl/math-f3f9a5c2b6.png
deleted file mode 100644
index 4b3b173b670..00000000000
Binary files a/dev/_images/mathmpl/math-f3f9a5c2b6.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f557917efd.png b/dev/_images/mathmpl/math-f557917efd.png
deleted file mode 100644
index cf2db8da15c..00000000000
Binary files a/dev/_images/mathmpl/math-f557917efd.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f5af631a03.png b/dev/_images/mathmpl/math-f5af631a03.png
deleted file mode 100644
index 3ce2d870320..00000000000
Binary files a/dev/_images/mathmpl/math-f5af631a03.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f5e02865f3.png b/dev/_images/mathmpl/math-f5e02865f3.png
deleted file mode 100644
index 3e48f6163c4..00000000000
Binary files a/dev/_images/mathmpl/math-f5e02865f3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f5e3901a47.png b/dev/_images/mathmpl/math-f5e3901a47.png
deleted file mode 100644
index 36e7e4e333e..00000000000
Binary files a/dev/_images/mathmpl/math-f5e3901a47.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f610b8e469.png b/dev/_images/mathmpl/math-f610b8e469.png
deleted file mode 100644
index 48e6164259f..00000000000
Binary files a/dev/_images/mathmpl/math-f610b8e469.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f6d65b7f49.png b/dev/_images/mathmpl/math-f6d65b7f49.png
deleted file mode 100644
index 5c2325442d2..00000000000
Binary files a/dev/_images/mathmpl/math-f6d65b7f49.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f6fb720d82.png b/dev/_images/mathmpl/math-f6fb720d82.png
deleted file mode 100644
index ef647b0b197..00000000000
Binary files a/dev/_images/mathmpl/math-f6fb720d82.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f81f19a962.png b/dev/_images/mathmpl/math-f81f19a962.png
deleted file mode 100644
index 0d9a008d57c..00000000000
Binary files a/dev/_images/mathmpl/math-f81f19a962.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f8daa97519.png b/dev/_images/mathmpl/math-f8daa97519.png
deleted file mode 100644
index 12db743151a..00000000000
Binary files a/dev/_images/mathmpl/math-f8daa97519.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f8ee41a28a.png b/dev/_images/mathmpl/math-f8ee41a28a.png
deleted file mode 100644
index 3b52ba91ac1..00000000000
Binary files a/dev/_images/mathmpl/math-f8ee41a28a.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f970af607c.png b/dev/_images/mathmpl/math-f970af607c.png
deleted file mode 100644
index 835a4e7ca0a..00000000000
Binary files a/dev/_images/mathmpl/math-f970af607c.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f9990bc9cf.png b/dev/_images/mathmpl/math-f9990bc9cf.png
deleted file mode 100644
index 9bb7efdb3af..00000000000
Binary files a/dev/_images/mathmpl/math-f9990bc9cf.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f9b0df773f.png b/dev/_images/mathmpl/math-f9b0df773f.png
deleted file mode 100644
index eabe12be387..00000000000
Binary files a/dev/_images/mathmpl/math-f9b0df773f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f9cc3f8904.png b/dev/_images/mathmpl/math-f9cc3f8904.png
deleted file mode 100644
index 7c5d6d61798..00000000000
Binary files a/dev/_images/mathmpl/math-f9cc3f8904.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-f9f98764da.png b/dev/_images/mathmpl/math-f9f98764da.png
deleted file mode 100644
index 9c30b12e117..00000000000
Binary files a/dev/_images/mathmpl/math-f9f98764da.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-fa85ea0416.png b/dev/_images/mathmpl/math-fa85ea0416.png
deleted file mode 100644
index 98f9ea51f33..00000000000
Binary files a/dev/_images/mathmpl/math-fa85ea0416.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-fac074d098.png b/dev/_images/mathmpl/math-fac074d098.png
deleted file mode 100644
index efe73964502..00000000000
Binary files a/dev/_images/mathmpl/math-fac074d098.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-fb1cbbd43f.png b/dev/_images/mathmpl/math-fb1cbbd43f.png
deleted file mode 100644
index 6a9139caf52..00000000000
Binary files a/dev/_images/mathmpl/math-fb1cbbd43f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-fb3512b848.png b/dev/_images/mathmpl/math-fb3512b848.png
deleted file mode 100644
index 94aff882e49..00000000000
Binary files a/dev/_images/mathmpl/math-fb3512b848.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-fb64cdd50f.png b/dev/_images/mathmpl/math-fb64cdd50f.png
deleted file mode 100644
index cd824514821..00000000000
Binary files a/dev/_images/mathmpl/math-fb64cdd50f.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-fce1799ac3.png b/dev/_images/mathmpl/math-fce1799ac3.png
deleted file mode 100644
index 8168a85e4d1..00000000000
Binary files a/dev/_images/mathmpl/math-fce1799ac3.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-fce9663ad9.png b/dev/_images/mathmpl/math-fce9663ad9.png
deleted file mode 100644
index 62efe44850d..00000000000
Binary files a/dev/_images/mathmpl/math-fce9663ad9.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-fea35fa8ec.png b/dev/_images/mathmpl/math-fea35fa8ec.png
deleted file mode 100644
index b8a20384a52..00000000000
Binary files a/dev/_images/mathmpl/math-fea35fa8ec.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-fefbb15af0.png b/dev/_images/mathmpl/math-fefbb15af0.png
deleted file mode 100644
index 9d57e706607..00000000000
Binary files a/dev/_images/mathmpl/math-fefbb15af0.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ff23293ae5.png b/dev/_images/mathmpl/math-ff23293ae5.png
deleted file mode 100644
index ed2ef328977..00000000000
Binary files a/dev/_images/mathmpl/math-ff23293ae5.png and /dev/null differ
diff --git a/dev/_images/mathmpl/math-ff6a67483e.png b/dev/_images/mathmpl/math-ff6a67483e.png
deleted file mode 100644
index be95b45a24f..00000000000
Binary files a/dev/_images/mathmpl/math-ff6a67483e.png and /dev/null differ
diff --git a/dev/_images/mathtext_asarray.png b/dev/_images/mathtext_asarray.png
deleted file mode 100644
index f9e7bf06eb7..00000000000
Binary files a/dev/_images/mathtext_asarray.png and /dev/null differ
diff --git a/dev/_images/mathtext_demo.png b/dev/_images/mathtext_demo.png
deleted file mode 100644
index 6cc4ea3bf2a..00000000000
Binary files a/dev/_images/mathtext_demo.png and /dev/null differ
diff --git a/dev/_images/mathtext_examples.png b/dev/_images/mathtext_examples.png
deleted file mode 100644
index f04f2c8486f..00000000000
Binary files a/dev/_images/mathtext_examples.png and /dev/null differ
diff --git a/dev/_images/mathtext_examples1.png b/dev/_images/mathtext_examples1.png
deleted file mode 100644
index f04f2c8486f..00000000000
Binary files a/dev/_images/mathtext_examples1.png and /dev/null differ
diff --git a/dev/_images/matplotlib_icon.png b/dev/_images/matplotlib_icon.png
deleted file mode 100644
index 42c3e1b5224..00000000000
Binary files a/dev/_images/matplotlib_icon.png and /dev/null differ
diff --git a/dev/_images/matshow_00.png b/dev/_images/matshow_00.png
deleted file mode 100644
index c25cc1191d9..00000000000
Binary files a/dev/_images/matshow_00.png and /dev/null differ
diff --git a/dev/_images/matshow_001.png b/dev/_images/matshow_001.png
deleted file mode 100644
index c25cc1191d9..00000000000
Binary files a/dev/_images/matshow_001.png and /dev/null differ
diff --git a/dev/_images/matshow_01.png b/dev/_images/matshow_01.png
deleted file mode 100644
index 86e4d5db541..00000000000
Binary files a/dev/_images/matshow_01.png and /dev/null differ
diff --git a/dev/_images/matshow_011.png b/dev/_images/matshow_011.png
deleted file mode 100644
index 86e4d5db541..00000000000
Binary files a/dev/_images/matshow_011.png and /dev/null differ
diff --git a/dev/_images/matshow_02.png b/dev/_images/matshow_02.png
deleted file mode 100644
index 145effe75a5..00000000000
Binary files a/dev/_images/matshow_02.png and /dev/null differ
diff --git a/dev/_images/matshow_021.png b/dev/_images/matshow_021.png
deleted file mode 100644
index 145effe75a5..00000000000
Binary files a/dev/_images/matshow_021.png and /dev/null differ
diff --git a/dev/_images/matshow_03.png b/dev/_images/matshow_03.png
deleted file mode 100644
index cc20ed1bafc..00000000000
Binary files a/dev/_images/matshow_03.png and /dev/null differ
diff --git a/dev/_images/matshow_031.png b/dev/_images/matshow_031.png
deleted file mode 100644
index cc20ed1bafc..00000000000
Binary files a/dev/_images/matshow_031.png and /dev/null differ
diff --git a/dev/_images/matshow_04.png b/dev/_images/matshow_04.png
deleted file mode 100644
index b9ddabf2ef8..00000000000
Binary files a/dev/_images/matshow_04.png and /dev/null differ
diff --git a/dev/_images/matshow_041.png b/dev/_images/matshow_041.png
deleted file mode 100644
index b9ddabf2ef8..00000000000
Binary files a/dev/_images/matshow_041.png and /dev/null differ
diff --git a/dev/_images/mixed_subplots_demo.png b/dev/_images/mixed_subplots_demo.png
deleted file mode 100644
index 204968d76ad..00000000000
Binary files a/dev/_images/mixed_subplots_demo.png and /dev/null differ
diff --git a/dev/_images/mixed_subplots_demo1.png b/dev/_images/mixed_subplots_demo1.png
deleted file mode 100644
index 204968d76ad..00000000000
Binary files a/dev/_images/mixed_subplots_demo1.png and /dev/null differ
diff --git a/dev/_images/move.png b/dev/_images/move.png
deleted file mode 100644
index a42024d0d15..00000000000
Binary files a/dev/_images/move.png and /dev/null differ
diff --git a/dev/_images/mri_demo.png b/dev/_images/mri_demo.png
deleted file mode 100644
index 15c52b59db5..00000000000
Binary files a/dev/_images/mri_demo.png and /dev/null differ
diff --git a/dev/_images/mri_with_eeg.png b/dev/_images/mri_with_eeg.png
deleted file mode 100644
index 1a8b44739f8..00000000000
Binary files a/dev/_images/mri_with_eeg.png and /dev/null differ
diff --git a/dev/_images/multi_image.png b/dev/_images/multi_image.png
deleted file mode 100644
index 05632cfe279..00000000000
Binary files a/dev/_images/multi_image.png and /dev/null differ
diff --git a/dev/_images/multicolored_line_00.png b/dev/_images/multicolored_line_00.png
deleted file mode 100644
index 6603e33e39f..00000000000
Binary files a/dev/_images/multicolored_line_00.png and /dev/null differ
diff --git a/dev/_images/multicolored_line_01.png b/dev/_images/multicolored_line_01.png
deleted file mode 100644
index bc31d90ec42..00000000000
Binary files a/dev/_images/multicolored_line_01.png and /dev/null differ
diff --git a/dev/_images/multiline.png b/dev/_images/multiline.png
deleted file mode 100644
index 8924a722032..00000000000
Binary files a/dev/_images/multiline.png and /dev/null differ
diff --git a/dev/_images/multiple_figs_demo_00.png b/dev/_images/multiple_figs_demo_00.png
deleted file mode 100644
index 4e2d241e76b..00000000000
Binary files a/dev/_images/multiple_figs_demo_00.png and /dev/null differ
diff --git a/dev/_images/multiple_figs_demo_01.png b/dev/_images/multiple_figs_demo_01.png
deleted file mode 100644
index fbe6fcdf78c..00000000000
Binary files a/dev/_images/multiple_figs_demo_01.png and /dev/null differ
diff --git a/dev/_images/multiple_yaxis_with_spines.png b/dev/_images/multiple_yaxis_with_spines.png
deleted file mode 100644
index 4cc6811d63f..00000000000
Binary files a/dev/_images/multiple_yaxis_with_spines.png and /dev/null differ
diff --git a/dev/_images/nan_test.png b/dev/_images/nan_test.png
deleted file mode 100644
index 983061c8096..00000000000
Binary files a/dev/_images/nan_test.png and /dev/null differ
diff --git a/dev/_images/newscalarformatter_demo_00.png b/dev/_images/newscalarformatter_demo_00.png
deleted file mode 100644
index 1837be4b971..00000000000
Binary files a/dev/_images/newscalarformatter_demo_00.png and /dev/null differ
diff --git a/dev/_images/newscalarformatter_demo_01.png b/dev/_images/newscalarformatter_demo_01.png
deleted file mode 100644
index 3b22f9ba718..00000000000
Binary files a/dev/_images/newscalarformatter_demo_01.png and /dev/null differ
diff --git a/dev/_images/newscalarformatter_demo_02.png b/dev/_images/newscalarformatter_demo_02.png
deleted file mode 100644
index 6cd955be7b1..00000000000
Binary files a/dev/_images/newscalarformatter_demo_02.png and /dev/null differ
diff --git a/dev/_images/newscalarformatter_demo_03.png b/dev/_images/newscalarformatter_demo_03.png
deleted file mode 100644
index 986c0bc2bf4..00000000000
Binary files a/dev/_images/newscalarformatter_demo_03.png and /dev/null differ
diff --git a/dev/_images/offset_demo.png b/dev/_images/offset_demo.png
deleted file mode 100644
index 57571282114..00000000000
Binary files a/dev/_images/offset_demo.png and /dev/null differ
diff --git a/dev/_images/offset_demo1.png b/dev/_images/offset_demo1.png
deleted file mode 100644
index 57571282114..00000000000
Binary files a/dev/_images/offset_demo1.png and /dev/null differ
diff --git a/dev/_images/parasite_simple.png b/dev/_images/parasite_simple.png
deleted file mode 100644
index 82ffaf21e3a..00000000000
Binary files a/dev/_images/parasite_simple.png and /dev/null differ
diff --git a/dev/_images/parasite_simple2.png b/dev/_images/parasite_simple2.png
deleted file mode 100644
index 96a89ec7e3f..00000000000
Binary files a/dev/_images/parasite_simple2.png and /dev/null differ
diff --git a/dev/_images/parasite_simple21.png b/dev/_images/parasite_simple21.png
deleted file mode 100644
index bfea70ae42a..00000000000
Binary files a/dev/_images/parasite_simple21.png and /dev/null differ
diff --git a/dev/_images/patch_collection.png b/dev/_images/patch_collection.png
deleted file mode 100644
index a49c121d4e5..00000000000
Binary files a/dev/_images/patch_collection.png and /dev/null differ
diff --git a/dev/_images/path_patch_demo.png b/dev/_images/path_patch_demo.png
deleted file mode 100644
index 759babdca13..00000000000
Binary files a/dev/_images/path_patch_demo.png and /dev/null differ
diff --git a/dev/_images/path_patch_demo1.png b/dev/_images/path_patch_demo1.png
deleted file mode 100644
index 759babdca13..00000000000
Binary files a/dev/_images/path_patch_demo1.png and /dev/null differ
diff --git a/dev/_images/path_tutorial-1.png b/dev/_images/path_tutorial-1.png
deleted file mode 100644
index 75397957af3..00000000000
Binary files a/dev/_images/path_tutorial-1.png and /dev/null differ
diff --git a/dev/_images/path_tutorial-2.png b/dev/_images/path_tutorial-2.png
deleted file mode 100644
index f65b51f5c59..00000000000
Binary files a/dev/_images/path_tutorial-2.png and /dev/null differ
diff --git a/dev/_images/patheffect_demo.png b/dev/_images/patheffect_demo.png
deleted file mode 100644
index 1551774c439..00000000000
Binary files a/dev/_images/patheffect_demo.png and /dev/null differ
diff --git a/dev/_images/pathpatch3d_demo.png b/dev/_images/pathpatch3d_demo.png
deleted file mode 100644
index 2f3c886eb16..00000000000
Binary files a/dev/_images/pathpatch3d_demo.png and /dev/null differ
diff --git a/dev/_images/pcolor_demo.png b/dev/_images/pcolor_demo.png
deleted file mode 100644
index 0eac9431af3..00000000000
Binary files a/dev/_images/pcolor_demo.png and /dev/null differ
diff --git a/dev/_images/pcolor_demo2.png b/dev/_images/pcolor_demo2.png
deleted file mode 100644
index e54f7e727fb..00000000000
Binary files a/dev/_images/pcolor_demo2.png and /dev/null differ
diff --git a/dev/_images/pcolor_log.png b/dev/_images/pcolor_log.png
deleted file mode 100644
index 2eba1802c2f..00000000000
Binary files a/dev/_images/pcolor_log.png and /dev/null differ
diff --git a/dev/_images/pcolor_small.png b/dev/_images/pcolor_small.png
deleted file mode 100644
index 47a6773fe63..00000000000
Binary files a/dev/_images/pcolor_small.png and /dev/null differ
diff --git a/dev/_images/pcolormesh_levels.png b/dev/_images/pcolormesh_levels.png
deleted file mode 100644
index 1a93c9261c7..00000000000
Binary files a/dev/_images/pcolormesh_levels.png and /dev/null differ
diff --git a/dev/_images/pgf_fonts.png b/dev/_images/pgf_fonts.png
deleted file mode 100644
index d4ef689f9b3..00000000000
Binary files a/dev/_images/pgf_fonts.png and /dev/null differ
diff --git a/dev/_images/pgf_preamble.png b/dev/_images/pgf_preamble.png
deleted file mode 100644
index 6841e3b9bdd..00000000000
Binary files a/dev/_images/pgf_preamble.png and /dev/null differ
diff --git a/dev/_images/pgf_texsystem.png b/dev/_images/pgf_texsystem.png
deleted file mode 100644
index 6075e7b764d..00000000000
Binary files a/dev/_images/pgf_texsystem.png and /dev/null differ
diff --git a/dev/_images/pie_demo.png b/dev/_images/pie_demo.png
deleted file mode 100644
index 47ae40a337f..00000000000
Binary files a/dev/_images/pie_demo.png and /dev/null differ
diff --git a/dev/_images/pie_demo1.png b/dev/_images/pie_demo1.png
deleted file mode 100644
index 47ae40a337f..00000000000
Binary files a/dev/_images/pie_demo1.png and /dev/null differ
diff --git a/dev/_images/pie_demo2.png b/dev/_images/pie_demo2.png
deleted file mode 100644
index 61d32dc277f..00000000000
Binary files a/dev/_images/pie_demo2.png and /dev/null differ
diff --git a/dev/_images/pie_demo_features.png b/dev/_images/pie_demo_features.png
deleted file mode 100644
index 838f93654f1..00000000000
Binary files a/dev/_images/pie_demo_features.png and /dev/null differ
diff --git a/dev/_images/pie_demo_features1.png b/dev/_images/pie_demo_features1.png
deleted file mode 100644
index 838f93654f1..00000000000
Binary files a/dev/_images/pie_demo_features1.png and /dev/null differ
diff --git a/dev/_images/plotfile_demo_00.png b/dev/_images/plotfile_demo_00.png
deleted file mode 100644
index 419fed952d1..00000000000
Binary files a/dev/_images/plotfile_demo_00.png and /dev/null differ
diff --git a/dev/_images/plotfile_demo_01.png b/dev/_images/plotfile_demo_01.png
deleted file mode 100644
index 419fed952d1..00000000000
Binary files a/dev/_images/plotfile_demo_01.png and /dev/null differ
diff --git a/dev/_images/plotfile_demo_02.png b/dev/_images/plotfile_demo_02.png
deleted file mode 100644
index 9c9ecf18ce0..00000000000
Binary files a/dev/_images/plotfile_demo_02.png and /dev/null differ
diff --git a/dev/_images/plotfile_demo_03.png b/dev/_images/plotfile_demo_03.png
deleted file mode 100644
index 9c9ecf18ce0..00000000000
Binary files a/dev/_images/plotfile_demo_03.png and /dev/null differ
diff --git a/dev/_images/plotfile_demo_04.png b/dev/_images/plotfile_demo_04.png
deleted file mode 100644
index 00138da79ec..00000000000
Binary files a/dev/_images/plotfile_demo_04.png and /dev/null differ
diff --git a/dev/_images/plotfile_demo_05.png b/dev/_images/plotfile_demo_05.png
deleted file mode 100644
index e1fde25b956..00000000000
Binary files a/dev/_images/plotfile_demo_05.png and /dev/null differ
diff --git a/dev/_images/plotfile_demo_06.png b/dev/_images/plotfile_demo_06.png
deleted file mode 100644
index fd43dd773f5..00000000000
Binary files a/dev/_images/plotfile_demo_06.png and /dev/null differ
diff --git a/dev/_images/plotfile_demo_07.png b/dev/_images/plotfile_demo_07.png
deleted file mode 100644
index 6fb77949528..00000000000
Binary files a/dev/_images/plotfile_demo_07.png and /dev/null differ
diff --git a/dev/_images/plotmap.png b/dev/_images/plotmap.png
deleted file mode 100644
index f48fd5c198a..00000000000
Binary files a/dev/_images/plotmap.png and /dev/null differ
diff --git a/dev/_images/polar_bar.png b/dev/_images/polar_bar.png
deleted file mode 100644
index 2121c6017d5..00000000000
Binary files a/dev/_images/polar_bar.png and /dev/null differ
diff --git a/dev/_images/polar_bar_demo.png b/dev/_images/polar_bar_demo.png
deleted file mode 100644
index 50f9004d1c0..00000000000
Binary files a/dev/_images/polar_bar_demo.png and /dev/null differ
diff --git a/dev/_images/polar_demo.png b/dev/_images/polar_demo.png
deleted file mode 100644
index 4cf50f4845b..00000000000
Binary files a/dev/_images/polar_demo.png and /dev/null differ
diff --git a/dev/_images/polar_demo1.png b/dev/_images/polar_demo1.png
deleted file mode 100644
index 4cf50f4845b..00000000000
Binary files a/dev/_images/polar_demo1.png and /dev/null differ
diff --git a/dev/_images/polar_legend.png b/dev/_images/polar_legend.png
deleted file mode 100644
index fdfec7494d3..00000000000
Binary files a/dev/_images/polar_legend.png and /dev/null differ
diff --git a/dev/_images/polar_scatter.png b/dev/_images/polar_scatter.png
deleted file mode 100644
index 3d54dfaf133..00000000000
Binary files a/dev/_images/polar_scatter.png and /dev/null differ
diff --git a/dev/_images/polar_scatter_demo.png b/dev/_images/polar_scatter_demo.png
deleted file mode 100644
index 961c476bcec..00000000000
Binary files a/dev/_images/polar_scatter_demo.png and /dev/null differ
diff --git a/dev/_images/polys3d_demo.png b/dev/_images/polys3d_demo.png
deleted file mode 100644
index 4c2900d59a8..00000000000
Binary files a/dev/_images/polys3d_demo.png and /dev/null differ
diff --git a/dev/_images/polys3d_demo1.png b/dev/_images/polys3d_demo1.png
deleted file mode 100644
index 4c2900d59a8..00000000000
Binary files a/dev/_images/polys3d_demo1.png and /dev/null differ
diff --git a/dev/_images/poormans_contour.png b/dev/_images/poormans_contour.png
deleted file mode 100644
index 7924a91411e..00000000000
Binary files a/dev/_images/poormans_contour.png and /dev/null differ
diff --git a/dev/_images/psd_demo.png b/dev/_images/psd_demo.png
deleted file mode 100644
index 7e25581cc62..00000000000
Binary files a/dev/_images/psd_demo.png and /dev/null differ
diff --git a/dev/_images/psd_demo1.png b/dev/_images/psd_demo1.png
deleted file mode 100644
index 7e25581cc62..00000000000
Binary files a/dev/_images/psd_demo1.png and /dev/null differ
diff --git a/dev/_images/psd_demo2.png b/dev/_images/psd_demo2.png
deleted file mode 100644
index 3f20e5f9775..00000000000
Binary files a/dev/_images/psd_demo2.png and /dev/null differ
diff --git a/dev/_images/psd_demo3.png b/dev/_images/psd_demo3.png
deleted file mode 100644
index 67b36e336cb..00000000000
Binary files a/dev/_images/psd_demo3.png and /dev/null differ
diff --git a/dev/_images/psd_demo_complex.png b/dev/_images/psd_demo_complex.png
deleted file mode 100644
index 14e94475f41..00000000000
Binary files a/dev/_images/psd_demo_complex.png and /dev/null differ
diff --git a/dev/_images/pull_button.png b/dev/_images/pull_button.png
deleted file mode 100644
index e5031681b97..00000000000
Binary files a/dev/_images/pull_button.png and /dev/null differ
diff --git a/dev/_images/pyplot_annotate.png b/dev/_images/pyplot_annotate.png
deleted file mode 100644
index b23ed24e83e..00000000000
Binary files a/dev/_images/pyplot_annotate.png and /dev/null differ
diff --git a/dev/_images/pyplot_formatstr.png b/dev/_images/pyplot_formatstr.png
deleted file mode 100644
index cda09602438..00000000000
Binary files a/dev/_images/pyplot_formatstr.png and /dev/null differ
diff --git a/dev/_images/pyplot_mathtext.png b/dev/_images/pyplot_mathtext.png
deleted file mode 100644
index 70d327f045d..00000000000
Binary files a/dev/_images/pyplot_mathtext.png and /dev/null differ
diff --git a/dev/_images/pyplot_simple.png b/dev/_images/pyplot_simple.png
deleted file mode 100644
index 384cb33bb11..00000000000
Binary files a/dev/_images/pyplot_simple.png and /dev/null differ
diff --git a/dev/_images/pyplot_text.png b/dev/_images/pyplot_text.png
deleted file mode 100644
index a95bf3cb192..00000000000
Binary files a/dev/_images/pyplot_text.png and /dev/null differ
diff --git a/dev/_images/pyplot_three.png b/dev/_images/pyplot_three.png
deleted file mode 100644
index db1534c9453..00000000000
Binary files a/dev/_images/pyplot_three.png and /dev/null differ
diff --git a/dev/_images/pyplot_two_subplots.png b/dev/_images/pyplot_two_subplots.png
deleted file mode 100644
index 90b99774e4c..00000000000
Binary files a/dev/_images/pyplot_two_subplots.png and /dev/null differ
diff --git a/dev/_images/pythonic_matplotlib.png b/dev/_images/pythonic_matplotlib.png
deleted file mode 100644
index 924d52cc719..00000000000
Binary files a/dev/_images/pythonic_matplotlib.png and /dev/null differ
diff --git a/dev/_images/quad_bezier.png b/dev/_images/quad_bezier.png
deleted file mode 100644
index 53557c61fea..00000000000
Binary files a/dev/_images/quad_bezier.png and /dev/null differ
diff --git a/dev/_images/quadmesh_demo.png b/dev/_images/quadmesh_demo.png
deleted file mode 100644
index e7704213259..00000000000
Binary files a/dev/_images/quadmesh_demo.png and /dev/null differ
diff --git a/dev/_images/quiver_demo_00.png b/dev/_images/quiver_demo_00.png
deleted file mode 100644
index e72806d913d..00000000000
Binary files a/dev/_images/quiver_demo_00.png and /dev/null differ
diff --git a/dev/_images/quiver_demo_01.png b/dev/_images/quiver_demo_01.png
deleted file mode 100644
index 4a5b96079d9..00000000000
Binary files a/dev/_images/quiver_demo_01.png and /dev/null differ
diff --git a/dev/_images/quiver_demo_02.png b/dev/_images/quiver_demo_02.png
deleted file mode 100644
index 56f1981f199..00000000000
Binary files a/dev/_images/quiver_demo_02.png and /dev/null differ
diff --git a/dev/_images/quiver_demo_03.png b/dev/_images/quiver_demo_03.png
deleted file mode 100644
index b5f527a6fdd..00000000000
Binary files a/dev/_images/quiver_demo_03.png and /dev/null differ
diff --git a/dev/_images/quiver_demo_04.png b/dev/_images/quiver_demo_04.png
deleted file mode 100644
index 73c86b8e68f..00000000000
Binary files a/dev/_images/quiver_demo_04.png and /dev/null differ
diff --git a/dev/_images/quiver_demo_05.png b/dev/_images/quiver_demo_05.png
deleted file mode 100644
index 14b3deeecc7..00000000000
Binary files a/dev/_images/quiver_demo_05.png and /dev/null differ
diff --git a/dev/_images/radar_chart.png b/dev/_images/radar_chart.png
deleted file mode 100644
index 58a5414a8ec..00000000000
Binary files a/dev/_images/radar_chart.png and /dev/null differ
diff --git a/dev/_images/radian_demo.png b/dev/_images/radian_demo.png
deleted file mode 100644
index f70252c9cee..00000000000
Binary files a/dev/_images/radian_demo.png and /dev/null differ
diff --git a/dev/_images/recipes-2.png b/dev/_images/recipes-2.png
deleted file mode 100644
index 0b6ae241122..00000000000
Binary files a/dev/_images/recipes-2.png and /dev/null differ
diff --git a/dev/_images/recipes-3.png b/dev/_images/recipes-3.png
deleted file mode 100644
index 1e94997cb3d..00000000000
Binary files a/dev/_images/recipes-3.png and /dev/null differ
diff --git a/dev/_images/recipes-4.png b/dev/_images/recipes-4.png
deleted file mode 100644
index 370b6ee5970..00000000000
Binary files a/dev/_images/recipes-4.png and /dev/null differ
diff --git a/dev/_images/recipes-5.png b/dev/_images/recipes-5.png
deleted file mode 100644
index c4b985d18f7..00000000000
Binary files a/dev/_images/recipes-5.png and /dev/null differ
diff --git a/dev/_images/recipes-6.png b/dev/_images/recipes-6.png
deleted file mode 100644
index e26f5771cd8..00000000000
Binary files a/dev/_images/recipes-6.png and /dev/null differ
diff --git a/dev/_images/recipes-7.png b/dev/_images/recipes-7.png
deleted file mode 100644
index e9fe4dd859c..00000000000
Binary files a/dev/_images/recipes-7.png and /dev/null differ
diff --git a/dev/_images/recipes-8.png b/dev/_images/recipes-8.png
deleted file mode 100644
index 40e30a75fc5..00000000000
Binary files a/dev/_images/recipes-8.png and /dev/null differ
diff --git a/dev/_images/rotate_axes3d_demo.png b/dev/_images/rotate_axes3d_demo.png
deleted file mode 100644
index d526887f3ec..00000000000
Binary files a/dev/_images/rotate_axes3d_demo.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_basics_00.png b/dev/_images/sankey_demo_basics_00.png
deleted file mode 100644
index ab0d6570927..00000000000
Binary files a/dev/_images/sankey_demo_basics_00.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_basics_001.png b/dev/_images/sankey_demo_basics_001.png
deleted file mode 100644
index ab0d6570927..00000000000
Binary files a/dev/_images/sankey_demo_basics_001.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_basics_01.png b/dev/_images/sankey_demo_basics_01.png
deleted file mode 100644
index bb6466b2b38..00000000000
Binary files a/dev/_images/sankey_demo_basics_01.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_basics_011.png b/dev/_images/sankey_demo_basics_011.png
deleted file mode 100644
index bb6466b2b38..00000000000
Binary files a/dev/_images/sankey_demo_basics_011.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_basics_02.png b/dev/_images/sankey_demo_basics_02.png
deleted file mode 100644
index 40426d76696..00000000000
Binary files a/dev/_images/sankey_demo_basics_02.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_basics_021.png b/dev/_images/sankey_demo_basics_021.png
deleted file mode 100644
index 40426d76696..00000000000
Binary files a/dev/_images/sankey_demo_basics_021.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_links.png b/dev/_images/sankey_demo_links.png
deleted file mode 100644
index 48f6cd288d0..00000000000
Binary files a/dev/_images/sankey_demo_links.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_old.png b/dev/_images/sankey_demo_old.png
deleted file mode 100644
index b4f2dc93b69..00000000000
Binary files a/dev/_images/sankey_demo_old.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_rankine.png b/dev/_images/sankey_demo_rankine.png
deleted file mode 100644
index ebe66ceae6a..00000000000
Binary files a/dev/_images/sankey_demo_rankine.png and /dev/null differ
diff --git a/dev/_images/sankey_demo_rankine1.png b/dev/_images/sankey_demo_rankine1.png
deleted file mode 100644
index ebe66ceae6a..00000000000
Binary files a/dev/_images/sankey_demo_rankine1.png and /dev/null differ
diff --git a/dev/_images/scatter3d_demo.png b/dev/_images/scatter3d_demo.png
deleted file mode 100644
index 80af332ef2b..00000000000
Binary files a/dev/_images/scatter3d_demo.png and /dev/null differ
diff --git a/dev/_images/scatter3d_demo1.png b/dev/_images/scatter3d_demo1.png
deleted file mode 100644
index 80af332ef2b..00000000000
Binary files a/dev/_images/scatter3d_demo1.png and /dev/null differ
diff --git a/dev/_images/scatter_custom_symbol.png b/dev/_images/scatter_custom_symbol.png
deleted file mode 100644
index 2964c9fee16..00000000000
Binary files a/dev/_images/scatter_custom_symbol.png and /dev/null differ
diff --git a/dev/_images/scatter_demo.png b/dev/_images/scatter_demo.png
deleted file mode 100644
index 35f71e8b9d4..00000000000
Binary files a/dev/_images/scatter_demo.png and /dev/null differ
diff --git a/dev/_images/scatter_demo1.png b/dev/_images/scatter_demo1.png
deleted file mode 100644
index 35f71e8b9d4..00000000000
Binary files a/dev/_images/scatter_demo1.png and /dev/null differ
diff --git a/dev/_images/scatter_demo2.png b/dev/_images/scatter_demo2.png
deleted file mode 100644
index bff28e89cae..00000000000
Binary files a/dev/_images/scatter_demo2.png and /dev/null differ
diff --git a/dev/_images/scatter_demo21.png b/dev/_images/scatter_demo21.png
deleted file mode 100644
index bff28e89cae..00000000000
Binary files a/dev/_images/scatter_demo21.png and /dev/null differ
diff --git a/dev/_images/scatter_hist.png b/dev/_images/scatter_hist.png
deleted file mode 100644
index 5dd584aa089..00000000000
Binary files a/dev/_images/scatter_hist.png and /dev/null differ
diff --git a/dev/_images/scatter_hist1.png b/dev/_images/scatter_hist1.png
deleted file mode 100644
index b6406cc6495..00000000000
Binary files a/dev/_images/scatter_hist1.png and /dev/null differ
diff --git a/dev/_images/scatter_hist2.png b/dev/_images/scatter_hist2.png
deleted file mode 100644
index 08c30989f1a..00000000000
Binary files a/dev/_images/scatter_hist2.png and /dev/null differ
diff --git a/dev/_images/scatter_masked.png b/dev/_images/scatter_masked.png
deleted file mode 100644
index 62fc3071a93..00000000000
Binary files a/dev/_images/scatter_masked.png and /dev/null differ
diff --git a/dev/_images/scatter_piecharts.png b/dev/_images/scatter_piecharts.png
deleted file mode 100644
index 75657bae984..00000000000
Binary files a/dev/_images/scatter_piecharts.png and /dev/null differ
diff --git a/dev/_images/scatter_star_poly.png b/dev/_images/scatter_star_poly.png
deleted file mode 100644
index e18b339e0c6..00000000000
Binary files a/dev/_images/scatter_star_poly.png and /dev/null differ
diff --git a/dev/_images/scatter_symbol.png b/dev/_images/scatter_symbol.png
deleted file mode 100644
index 1d090a6d1d0..00000000000
Binary files a/dev/_images/scatter_symbol.png and /dev/null differ
diff --git a/dev/_images/set_and_get.png b/dev/_images/set_and_get.png
deleted file mode 100644
index cbaa8a130ad..00000000000
Binary files a/dev/_images/set_and_get.png and /dev/null differ
diff --git a/dev/_images/shading_example.png b/dev/_images/shading_example.png
deleted file mode 100644
index 76f24772314..00000000000
Binary files a/dev/_images/shading_example.png and /dev/null differ
diff --git a/dev/_images/shared_axis_demo.png b/dev/_images/shared_axis_demo.png
deleted file mode 100644
index 74f3f3dc7db..00000000000
Binary files a/dev/_images/shared_axis_demo.png and /dev/null differ
diff --git a/dev/_images/show_colormaps.png b/dev/_images/show_colormaps.png
deleted file mode 100644
index 26707cf6722..00000000000
Binary files a/dev/_images/show_colormaps.png and /dev/null differ
diff --git a/dev/_images/simple_anchored_artists.png b/dev/_images/simple_anchored_artists.png
deleted file mode 100644
index 28e27973e35..00000000000
Binary files a/dev/_images/simple_anchored_artists.png and /dev/null differ
diff --git a/dev/_images/simple_anchored_artists1.png b/dev/_images/simple_anchored_artists1.png
deleted file mode 100644
index 28e27973e35..00000000000
Binary files a/dev/_images/simple_anchored_artists1.png and /dev/null differ
diff --git a/dev/_images/simple_axes_divider2.png b/dev/_images/simple_axes_divider2.png
deleted file mode 100644
index f942127bd00..00000000000
Binary files a/dev/_images/simple_axes_divider2.png and /dev/null differ
diff --git a/dev/_images/simple_axes_divider3.png b/dev/_images/simple_axes_divider3.png
deleted file mode 100644
index 001d067f9d6..00000000000
Binary files a/dev/_images/simple_axes_divider3.png and /dev/null differ
diff --git a/dev/_images/simple_axesgrid.png b/dev/_images/simple_axesgrid.png
deleted file mode 100644
index 1beeaf6af9e..00000000000
Binary files a/dev/_images/simple_axesgrid.png and /dev/null differ
diff --git a/dev/_images/simple_axesgrid1.png b/dev/_images/simple_axesgrid1.png
deleted file mode 100644
index 1beeaf6af9e..00000000000
Binary files a/dev/_images/simple_axesgrid1.png and /dev/null differ
diff --git a/dev/_images/simple_axesgrid2.png b/dev/_images/simple_axesgrid2.png
deleted file mode 100644
index 3efc6a415a8..00000000000
Binary files a/dev/_images/simple_axesgrid2.png and /dev/null differ
diff --git a/dev/_images/simple_axesgrid21.png b/dev/_images/simple_axesgrid21.png
deleted file mode 100644
index 3efc6a415a8..00000000000
Binary files a/dev/_images/simple_axesgrid21.png and /dev/null differ
diff --git a/dev/_images/simple_axis_direction01.png b/dev/_images/simple_axis_direction01.png
deleted file mode 100644
index 8af9d800bc0..00000000000
Binary files a/dev/_images/simple_axis_direction01.png and /dev/null differ
diff --git a/dev/_images/simple_axis_direction03.png b/dev/_images/simple_axis_direction03.png
deleted file mode 100644
index 684c9cac96c..00000000000
Binary files a/dev/_images/simple_axis_direction03.png and /dev/null differ
diff --git a/dev/_images/simple_axis_pad.png b/dev/_images/simple_axis_pad.png
deleted file mode 100644
index 8f3c7b49ad4..00000000000
Binary files a/dev/_images/simple_axis_pad.png and /dev/null differ
diff --git a/dev/_images/simple_axisartist1.png b/dev/_images/simple_axisartist1.png
deleted file mode 100644
index bc1b8fd258f..00000000000
Binary files a/dev/_images/simple_axisartist1.png and /dev/null differ
diff --git a/dev/_images/simple_axisline3.png b/dev/_images/simple_axisline3.png
deleted file mode 100644
index 5c8f33c7eae..00000000000
Binary files a/dev/_images/simple_axisline3.png and /dev/null differ
diff --git a/dev/_images/simple_axisline4.png b/dev/_images/simple_axisline4.png
deleted file mode 100644
index 693519f1c4b..00000000000
Binary files a/dev/_images/simple_axisline4.png and /dev/null differ
diff --git a/dev/_images/simple_axisline41.png b/dev/_images/simple_axisline41.png
deleted file mode 100644
index 693519f1c4b..00000000000
Binary files a/dev/_images/simple_axisline41.png and /dev/null differ
diff --git a/dev/_images/simple_colorbar.png b/dev/_images/simple_colorbar.png
deleted file mode 100644
index 605852236c7..00000000000
Binary files a/dev/_images/simple_colorbar.png and /dev/null differ
diff --git a/dev/_images/simple_legend01.png b/dev/_images/simple_legend01.png
deleted file mode 100644
index 203d6daafda..00000000000
Binary files a/dev/_images/simple_legend01.png and /dev/null differ
diff --git a/dev/_images/simple_legend02.png b/dev/_images/simple_legend02.png
deleted file mode 100644
index 6cf06e44102..00000000000
Binary files a/dev/_images/simple_legend02.png and /dev/null differ
diff --git a/dev/_images/simple_plot.png b/dev/_images/simple_plot.png
deleted file mode 100644
index 73856a283c8..00000000000
Binary files a/dev/_images/simple_plot.png and /dev/null differ
diff --git a/dev/_images/simple_plot1.png b/dev/_images/simple_plot1.png
deleted file mode 100644
index 73856a283c8..00000000000
Binary files a/dev/_images/simple_plot1.png and /dev/null differ
diff --git a/dev/_images/simple_rgb.png b/dev/_images/simple_rgb.png
deleted file mode 100644
index 5f33f38a236..00000000000
Binary files a/dev/_images/simple_rgb.png and /dev/null differ
diff --git a/dev/_images/slider_demo.png b/dev/_images/slider_demo.png
deleted file mode 100644
index 110c98a9040..00000000000
Binary files a/dev/_images/slider_demo.png and /dev/null differ
diff --git a/dev/_images/span_regions.png b/dev/_images/span_regions.png
deleted file mode 100644
index 5507fc32e19..00000000000
Binary files a/dev/_images/span_regions.png and /dev/null differ
diff --git a/dev/_images/specgram_demo.png b/dev/_images/specgram_demo.png
deleted file mode 100644
index 18ee49b8a36..00000000000
Binary files a/dev/_images/specgram_demo.png and /dev/null differ
diff --git a/dev/_images/specgram_demo1.png b/dev/_images/specgram_demo1.png
deleted file mode 100644
index 18ee49b8a36..00000000000
Binary files a/dev/_images/specgram_demo1.png and /dev/null differ
diff --git a/dev/_images/spine_placement_demo_00.png b/dev/_images/spine_placement_demo_00.png
deleted file mode 100644
index 38d0d43e927..00000000000
Binary files a/dev/_images/spine_placement_demo_00.png and /dev/null differ
diff --git a/dev/_images/spine_placement_demo_01.png b/dev/_images/spine_placement_demo_01.png
deleted file mode 100644
index 9625e4c3092..00000000000
Binary files a/dev/_images/spine_placement_demo_01.png and /dev/null differ
diff --git a/dev/_images/spine_placement_demo_02.png b/dev/_images/spine_placement_demo_02.png
deleted file mode 100644
index dd0a721e1b5..00000000000
Binary files a/dev/_images/spine_placement_demo_02.png and /dev/null differ
diff --git a/dev/_images/spine_placement_demo_03.png b/dev/_images/spine_placement_demo_03.png
deleted file mode 100644
index 1e99f531180..00000000000
Binary files a/dev/_images/spine_placement_demo_03.png and /dev/null differ
diff --git a/dev/_images/spines_demo.png b/dev/_images/spines_demo.png
deleted file mode 100644
index 137793de10a..00000000000
Binary files a/dev/_images/spines_demo.png and /dev/null differ
diff --git a/dev/_images/spines_demo_bounds.png b/dev/_images/spines_demo_bounds.png
deleted file mode 100644
index 9710b6fe25d..00000000000
Binary files a/dev/_images/spines_demo_bounds.png and /dev/null differ
diff --git a/dev/_images/spines_demo_dropped.png b/dev/_images/spines_demo_dropped.png
deleted file mode 100644
index 5eacf48dc13..00000000000
Binary files a/dev/_images/spines_demo_dropped.png and /dev/null differ
diff --git a/dev/_images/spy_demos.png b/dev/_images/spy_demos.png
deleted file mode 100644
index 4127d246e83..00000000000
Binary files a/dev/_images/spy_demos.png and /dev/null differ
diff --git a/dev/_images/stackplot_demo2.png b/dev/_images/stackplot_demo2.png
deleted file mode 100644
index 0da5cb7dc00..00000000000
Binary files a/dev/_images/stackplot_demo2.png and /dev/null differ
diff --git a/dev/_images/stackplot_demo21.png b/dev/_images/stackplot_demo21.png
deleted file mode 100644
index 0da5cb7dc00..00000000000
Binary files a/dev/_images/stackplot_demo21.png and /dev/null differ
diff --git a/dev/_images/stackplot_demo_00_00.png b/dev/_images/stackplot_demo_00_00.png
deleted file mode 100644
index 7a9962cc152..00000000000
Binary files a/dev/_images/stackplot_demo_00_00.png and /dev/null differ
diff --git a/dev/_images/stackplot_demo_01_00.png b/dev/_images/stackplot_demo_01_00.png
deleted file mode 100644
index 5bb139833f8..00000000000
Binary files a/dev/_images/stackplot_demo_01_00.png and /dev/null differ
diff --git a/dev/_images/stem_plot.png b/dev/_images/stem_plot.png
deleted file mode 100644
index e3a67fd173f..00000000000
Binary files a/dev/_images/stem_plot.png and /dev/null differ
diff --git a/dev/_images/stem_plot1.png b/dev/_images/stem_plot1.png
deleted file mode 100644
index e3a67fd173f..00000000000
Binary files a/dev/_images/stem_plot1.png and /dev/null differ
diff --git a/dev/_images/step_demo.png b/dev/_images/step_demo.png
deleted file mode 100644
index 01a08d687fe..00000000000
Binary files a/dev/_images/step_demo.png and /dev/null differ
diff --git a/dev/_images/stinkbug.png b/dev/_images/stinkbug.png
deleted file mode 100644
index 6d6c4d05696..00000000000
Binary files a/dev/_images/stinkbug.png and /dev/null differ
diff --git a/dev/_images/stix_fonts_demo.png b/dev/_images/stix_fonts_demo.png
deleted file mode 100644
index e6dc3c023d6..00000000000
Binary files a/dev/_images/stix_fonts_demo.png and /dev/null differ
diff --git a/dev/_images/stix_fontset.png b/dev/_images/stix_fontset.png
deleted file mode 100644
index ed1815274ce..00000000000
Binary files a/dev/_images/stix_fontset.png and /dev/null differ
diff --git a/dev/_images/stixsans_fontset.png b/dev/_images/stixsans_fontset.png
deleted file mode 100644
index 62226b6c306..00000000000
Binary files a/dev/_images/stixsans_fontset.png and /dev/null differ
diff --git a/dev/_images/stock_demo.png b/dev/_images/stock_demo.png
deleted file mode 100644
index f37bbd89444..00000000000
Binary files a/dev/_images/stock_demo.png and /dev/null differ
diff --git a/dev/_images/streamplot_demo_00.png b/dev/_images/streamplot_demo_00.png
deleted file mode 100644
index bce6b08d9d0..00000000000
Binary files a/dev/_images/streamplot_demo_00.png and /dev/null differ
diff --git a/dev/_images/streamplot_demo_001.png b/dev/_images/streamplot_demo_001.png
deleted file mode 100644
index bce6b08d9d0..00000000000
Binary files a/dev/_images/streamplot_demo_001.png and /dev/null differ
diff --git a/dev/_images/streamplot_demo_01.png b/dev/_images/streamplot_demo_01.png
deleted file mode 100644
index 7127b247d20..00000000000
Binary files a/dev/_images/streamplot_demo_01.png and /dev/null differ
diff --git a/dev/_images/streamplot_demo_011.png b/dev/_images/streamplot_demo_011.png
deleted file mode 100644
index 7127b247d20..00000000000
Binary files a/dev/_images/streamplot_demo_011.png and /dev/null differ
diff --git a/dev/_images/streamplot_demo_features_00.png b/dev/_images/streamplot_demo_features_00.png
deleted file mode 100644
index 37e26bf5864..00000000000
Binary files a/dev/_images/streamplot_demo_features_00.png and /dev/null differ
diff --git a/dev/_images/streamplot_demo_features_001.png b/dev/_images/streamplot_demo_features_001.png
deleted file mode 100644
index 37e26bf5864..00000000000
Binary files a/dev/_images/streamplot_demo_features_001.png and /dev/null differ
diff --git a/dev/_images/streamplot_demo_features_01.png b/dev/_images/streamplot_demo_features_01.png
deleted file mode 100644
index fde42ff773c..00000000000
Binary files a/dev/_images/streamplot_demo_features_01.png and /dev/null differ
diff --git a/dev/_images/streamplot_demo_features_011.png b/dev/_images/streamplot_demo_features_011.png
deleted file mode 100644
index fde42ff773c..00000000000
Binary files a/dev/_images/streamplot_demo_features_011.png and /dev/null differ
diff --git a/dev/_images/streamplot_demo_masking.png b/dev/_images/streamplot_demo_masking.png
deleted file mode 100644
index 6b9b196870d..00000000000
Binary files a/dev/_images/streamplot_demo_masking.png and /dev/null differ
diff --git a/dev/_images/streamplot_with_mask.png b/dev/_images/streamplot_with_mask.png
deleted file mode 100644
index 981487eae90..00000000000
Binary files a/dev/_images/streamplot_with_mask.png and /dev/null differ
diff --git a/dev/_images/subplot3d_demo.png b/dev/_images/subplot3d_demo.png
deleted file mode 100644
index 3ef1b8b1e0d..00000000000
Binary files a/dev/_images/subplot3d_demo.png and /dev/null differ
diff --git a/dev/_images/subplot3d_demo1.png b/dev/_images/subplot3d_demo1.png
deleted file mode 100644
index 3ef1b8b1e0d..00000000000
Binary files a/dev/_images/subplot3d_demo1.png and /dev/null differ
diff --git a/dev/_images/subplot_demo.png b/dev/_images/subplot_demo.png
deleted file mode 100644
index fa2f4fa00dd..00000000000
Binary files a/dev/_images/subplot_demo.png and /dev/null differ
diff --git a/dev/_images/subplot_demo1.png b/dev/_images/subplot_demo1.png
deleted file mode 100644
index 913324d6846..00000000000
Binary files a/dev/_images/subplot_demo1.png and /dev/null differ
diff --git a/dev/_images/subplot_demo2.png b/dev/_images/subplot_demo2.png
deleted file mode 100644
index fa2f4fa00dd..00000000000
Binary files a/dev/_images/subplot_demo2.png and /dev/null differ
diff --git a/dev/_images/subplot_demo3.png b/dev/_images/subplot_demo3.png
deleted file mode 100644
index fa2f4fa00dd..00000000000
Binary files a/dev/_images/subplot_demo3.png and /dev/null differ
diff --git a/dev/_images/subplot_toolbar_00.png b/dev/_images/subplot_toolbar_00.png
deleted file mode 100644
index 79b016192fd..00000000000
Binary files a/dev/_images/subplot_toolbar_00.png and /dev/null differ
diff --git a/dev/_images/subplot_toolbar_01.png b/dev/_images/subplot_toolbar_01.png
deleted file mode 100644
index fe93198cadd..00000000000
Binary files a/dev/_images/subplot_toolbar_01.png and /dev/null differ
diff --git a/dev/_images/subplots.png b/dev/_images/subplots.png
deleted file mode 100644
index 87344bcc0b6..00000000000
Binary files a/dev/_images/subplots.png and /dev/null differ
diff --git a/dev/_images/subplots_adjust.png b/dev/_images/subplots_adjust.png
deleted file mode 100644
index cee5afaf86a..00000000000
Binary files a/dev/_images/subplots_adjust.png and /dev/null differ
diff --git a/dev/_images/subplots_demo_00.png b/dev/_images/subplots_demo_00.png
deleted file mode 100644
index f11e270711d..00000000000
Binary files a/dev/_images/subplots_demo_00.png and /dev/null differ
diff --git a/dev/_images/subplots_demo_01.png b/dev/_images/subplots_demo_01.png
deleted file mode 100644
index 511435d8f24..00000000000
Binary files a/dev/_images/subplots_demo_01.png and /dev/null differ
diff --git a/dev/_images/subplots_demo_02.png b/dev/_images/subplots_demo_02.png
deleted file mode 100644
index aabbd8866bf..00000000000
Binary files a/dev/_images/subplots_demo_02.png and /dev/null differ
diff --git a/dev/_images/subplots_demo_03.png b/dev/_images/subplots_demo_03.png
deleted file mode 100644
index 1f02e8eb251..00000000000
Binary files a/dev/_images/subplots_demo_03.png and /dev/null differ
diff --git a/dev/_images/subplots_demo_04.png b/dev/_images/subplots_demo_04.png
deleted file mode 100644
index dbcc91e9f0c..00000000000
Binary files a/dev/_images/subplots_demo_04.png and /dev/null differ
diff --git a/dev/_images/subplots_demo_05.png b/dev/_images/subplots_demo_05.png
deleted file mode 100644
index 6cb5f7b18a4..00000000000
Binary files a/dev/_images/subplots_demo_05.png and /dev/null differ
diff --git a/dev/_images/subplots_demo_06.png b/dev/_images/subplots_demo_06.png
deleted file mode 100644
index 2169001f4c6..00000000000
Binary files a/dev/_images/subplots_demo_06.png and /dev/null differ
diff --git a/dev/_images/surface3d_demo.png b/dev/_images/surface3d_demo.png
deleted file mode 100644
index 4edc1eae84d..00000000000
Binary files a/dev/_images/surface3d_demo.png and /dev/null differ
diff --git a/dev/_images/surface3d_demo1.png b/dev/_images/surface3d_demo1.png
deleted file mode 100644
index 4edc1eae84d..00000000000
Binary files a/dev/_images/surface3d_demo1.png and /dev/null differ
diff --git a/dev/_images/surface3d_demo2.png b/dev/_images/surface3d_demo2.png
deleted file mode 100644
index 44a923a6d43..00000000000
Binary files a/dev/_images/surface3d_demo2.png and /dev/null differ
diff --git a/dev/_images/surface3d_demo21.png b/dev/_images/surface3d_demo21.png
deleted file mode 100644
index 44a923a6d43..00000000000
Binary files a/dev/_images/surface3d_demo21.png and /dev/null differ
diff --git a/dev/_images/surface3d_demo3.png b/dev/_images/surface3d_demo3.png
deleted file mode 100644
index d6f718ee1b4..00000000000
Binary files a/dev/_images/surface3d_demo3.png and /dev/null differ
diff --git a/dev/_images/surface3d_demo31.png b/dev/_images/surface3d_demo31.png
deleted file mode 100644
index 5ce693f5dd4..00000000000
Binary files a/dev/_images/surface3d_demo31.png and /dev/null differ
diff --git a/dev/_images/surface3d_demo4.png b/dev/_images/surface3d_demo4.png
deleted file mode 100644
index 4edc1eae84d..00000000000
Binary files a/dev/_images/surface3d_demo4.png and /dev/null differ
diff --git a/dev/_images/surface3d_radial_demo.png b/dev/_images/surface3d_radial_demo.png
deleted file mode 100644
index c380aa52c6f..00000000000
Binary files a/dev/_images/surface3d_radial_demo.png and /dev/null differ
diff --git a/dev/_images/symlog_demo.png b/dev/_images/symlog_demo.png
deleted file mode 100644
index 2d077a04601..00000000000
Binary files a/dev/_images/symlog_demo.png and /dev/null differ
diff --git a/dev/_images/table_demo.png b/dev/_images/table_demo.png
deleted file mode 100644
index bc21a612d64..00000000000
Binary files a/dev/_images/table_demo.png and /dev/null differ
diff --git a/dev/_images/table_demo1.png b/dev/_images/table_demo1.png
deleted file mode 100644
index bc21a612d64..00000000000
Binary files a/dev/_images/table_demo1.png and /dev/null differ
diff --git a/dev/_images/tex_demo.png b/dev/_images/tex_demo.png
deleted file mode 100644
index c068788e2e4..00000000000
Binary files a/dev/_images/tex_demo.png and /dev/null differ
diff --git a/dev/_images/tex_demo1.png b/dev/_images/tex_demo1.png
deleted file mode 100644
index 2c2774f74af..00000000000
Binary files a/dev/_images/tex_demo1.png and /dev/null differ
diff --git a/dev/_images/tex_unicode_demo.png b/dev/_images/tex_unicode_demo.png
deleted file mode 100644
index f258bfce97a..00000000000
Binary files a/dev/_images/tex_unicode_demo.png and /dev/null differ
diff --git a/dev/_images/tex_unicode_demo1.png b/dev/_images/tex_unicode_demo1.png
deleted file mode 100644
index f258bfce97a..00000000000
Binary files a/dev/_images/tex_unicode_demo1.png and /dev/null differ
diff --git a/dev/_images/text3d_demo.png b/dev/_images/text3d_demo.png
deleted file mode 100644
index 81ca9ff2d26..00000000000
Binary files a/dev/_images/text3d_demo.png and /dev/null differ
diff --git a/dev/_images/text3d_demo1.png b/dev/_images/text3d_demo1.png
deleted file mode 100644
index 81ca9ff2d26..00000000000
Binary files a/dev/_images/text3d_demo1.png and /dev/null differ
diff --git a/dev/_images/text_commands.png b/dev/_images/text_commands.png
deleted file mode 100644
index 0114cc1a983..00000000000
Binary files a/dev/_images/text_commands.png and /dev/null differ
diff --git a/dev/_images/text_demo_fontdict.png b/dev/_images/text_demo_fontdict.png
deleted file mode 100644
index fe3756d2b1c..00000000000
Binary files a/dev/_images/text_demo_fontdict.png and /dev/null differ
diff --git a/dev/_images/text_handles.png b/dev/_images/text_handles.png
deleted file mode 100644
index c61ba43dd95..00000000000
Binary files a/dev/_images/text_handles.png and /dev/null differ
diff --git a/dev/_images/text_layout.png b/dev/_images/text_layout.png
deleted file mode 100644
index 0bfd1cd352f..00000000000
Binary files a/dev/_images/text_layout.png and /dev/null differ
diff --git a/dev/_images/text_rotation.png b/dev/_images/text_rotation.png
deleted file mode 100644
index b57760df6e4..00000000000
Binary files a/dev/_images/text_rotation.png and /dev/null differ
diff --git a/dev/_images/text_rotation_relative_to_line.png b/dev/_images/text_rotation_relative_to_line.png
deleted file mode 100644
index deb6247f307..00000000000
Binary files a/dev/_images/text_rotation_relative_to_line.png and /dev/null differ
diff --git a/dev/_images/text_themes.png b/dev/_images/text_themes.png
deleted file mode 100644
index c0c2c36359f..00000000000
Binary files a/dev/_images/text_themes.png and /dev/null differ
diff --git a/dev/_images/ticklabels_demo_rotation.png b/dev/_images/ticklabels_demo_rotation.png
deleted file mode 100644
index d304559c68f..00000000000
Binary files a/dev/_images/ticklabels_demo_rotation.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-1.png b/dev/_images/tight_layout_guide-1.png
deleted file mode 100644
index 55900b524ad..00000000000
Binary files a/dev/_images/tight_layout_guide-1.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-10.png b/dev/_images/tight_layout_guide-10.png
deleted file mode 100644
index bd21c6b3772..00000000000
Binary files a/dev/_images/tight_layout_guide-10.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-11.png b/dev/_images/tight_layout_guide-11.png
deleted file mode 100644
index b2815f719b4..00000000000
Binary files a/dev/_images/tight_layout_guide-11.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-12.png b/dev/_images/tight_layout_guide-12.png
deleted file mode 100644
index fb75a63ff14..00000000000
Binary files a/dev/_images/tight_layout_guide-12.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-13.png b/dev/_images/tight_layout_guide-13.png
deleted file mode 100644
index 9dbbedb384c..00000000000
Binary files a/dev/_images/tight_layout_guide-13.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-14.png b/dev/_images/tight_layout_guide-14.png
deleted file mode 100644
index f6d99ef5723..00000000000
Binary files a/dev/_images/tight_layout_guide-14.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-15.png b/dev/_images/tight_layout_guide-15.png
deleted file mode 100644
index 6eff56b4937..00000000000
Binary files a/dev/_images/tight_layout_guide-15.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-2.png b/dev/_images/tight_layout_guide-2.png
deleted file mode 100644
index ff54b06c960..00000000000
Binary files a/dev/_images/tight_layout_guide-2.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-3.png b/dev/_images/tight_layout_guide-3.png
deleted file mode 100644
index ac9d3f886fe..00000000000
Binary files a/dev/_images/tight_layout_guide-3.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-4.png b/dev/_images/tight_layout_guide-4.png
deleted file mode 100644
index 41158f8b67a..00000000000
Binary files a/dev/_images/tight_layout_guide-4.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-5.png b/dev/_images/tight_layout_guide-5.png
deleted file mode 100644
index 8c713f52f2f..00000000000
Binary files a/dev/_images/tight_layout_guide-5.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-6.png b/dev/_images/tight_layout_guide-6.png
deleted file mode 100644
index 0c7689c9a1b..00000000000
Binary files a/dev/_images/tight_layout_guide-6.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-7.png b/dev/_images/tight_layout_guide-7.png
deleted file mode 100644
index 1c5e9da0618..00000000000
Binary files a/dev/_images/tight_layout_guide-7.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-8.png b/dev/_images/tight_layout_guide-8.png
deleted file mode 100644
index 746db317ce8..00000000000
Binary files a/dev/_images/tight_layout_guide-8.png and /dev/null differ
diff --git a/dev/_images/tight_layout_guide-9.png b/dev/_images/tight_layout_guide-9.png
deleted file mode 100644
index cd9eb6d1634..00000000000
Binary files a/dev/_images/tight_layout_guide-9.png and /dev/null differ
diff --git a/dev/_images/titles_demo.png b/dev/_images/titles_demo.png
deleted file mode 100644
index 5e1fc83999f..00000000000
Binary files a/dev/_images/titles_demo.png and /dev/null differ
diff --git a/dev/_images/to_numeric.png b/dev/_images/to_numeric.png
deleted file mode 100644
index 7b24227eae3..00000000000
Binary files a/dev/_images/to_numeric.png and /dev/null differ
diff --git a/dev/_images/toggle_images.png b/dev/_images/toggle_images.png
deleted file mode 100644
index d0520004b80..00000000000
Binary files a/dev/_images/toggle_images.png and /dev/null differ
diff --git a/dev/_images/toolbar.png b/dev/_images/toolbar.png
deleted file mode 100644
index b63976bb3b2..00000000000
Binary files a/dev/_images/toolbar.png and /dev/null differ
diff --git a/dev/_images/transforms.png b/dev/_images/transforms.png
deleted file mode 100644
index ab07fb57596..00000000000
Binary files a/dev/_images/transforms.png and /dev/null differ
diff --git a/dev/_images/transforms_tutorial-1.png b/dev/_images/transforms_tutorial-1.png
deleted file mode 100644
index 941659ac471..00000000000
Binary files a/dev/_images/transforms_tutorial-1.png and /dev/null differ
diff --git a/dev/_images/transforms_tutorial-2.png b/dev/_images/transforms_tutorial-2.png
deleted file mode 100644
index c3d3bab55c1..00000000000
Binary files a/dev/_images/transforms_tutorial-2.png and /dev/null differ
diff --git a/dev/_images/transforms_tutorial-3.png b/dev/_images/transforms_tutorial-3.png
deleted file mode 100644
index c65560d44af..00000000000
Binary files a/dev/_images/transforms_tutorial-3.png and /dev/null differ
diff --git a/dev/_images/transforms_tutorial-4.png b/dev/_images/transforms_tutorial-4.png
deleted file mode 100644
index 704aa648d07..00000000000
Binary files a/dev/_images/transforms_tutorial-4.png and /dev/null differ
diff --git a/dev/_images/transforms_tutorial-5.png b/dev/_images/transforms_tutorial-5.png
deleted file mode 100644
index 938caae6dc9..00000000000
Binary files a/dev/_images/transforms_tutorial-5.png and /dev/null differ
diff --git a/dev/_images/transoffset.png b/dev/_images/transoffset.png
deleted file mode 100644
index 7e92e724e1f..00000000000
Binary files a/dev/_images/transoffset.png and /dev/null differ
diff --git a/dev/_images/tricontour_demo_00.png b/dev/_images/tricontour_demo_00.png
deleted file mode 100644
index 691222513c4..00000000000
Binary files a/dev/_images/tricontour_demo_00.png and /dev/null differ
diff --git a/dev/_images/tricontour_demo_001.png b/dev/_images/tricontour_demo_001.png
deleted file mode 100644
index 691222513c4..00000000000
Binary files a/dev/_images/tricontour_demo_001.png and /dev/null differ
diff --git a/dev/_images/tricontour_demo_01.png b/dev/_images/tricontour_demo_01.png
deleted file mode 100644
index 444fb6c63d3..00000000000
Binary files a/dev/_images/tricontour_demo_01.png and /dev/null differ
diff --git a/dev/_images/tricontour_demo_011.png b/dev/_images/tricontour_demo_011.png
deleted file mode 100644
index 444fb6c63d3..00000000000
Binary files a/dev/_images/tricontour_demo_011.png and /dev/null differ
diff --git a/dev/_images/tricontour_smooth_delaunay.png b/dev/_images/tricontour_smooth_delaunay.png
deleted file mode 100644
index 05c7ca3ca13..00000000000
Binary files a/dev/_images/tricontour_smooth_delaunay.png and /dev/null differ
diff --git a/dev/_images/tricontour_smooth_delaunay1.png b/dev/_images/tricontour_smooth_delaunay1.png
deleted file mode 100644
index 05c7ca3ca13..00000000000
Binary files a/dev/_images/tricontour_smooth_delaunay1.png and /dev/null differ
diff --git a/dev/_images/tricontour_smooth_user.png b/dev/_images/tricontour_smooth_user.png
deleted file mode 100644
index bd9e2b576fa..00000000000
Binary files a/dev/_images/tricontour_smooth_user.png and /dev/null differ
diff --git a/dev/_images/tricontour_smooth_user1.png b/dev/_images/tricontour_smooth_user1.png
deleted file mode 100644
index bd9e2b576fa..00000000000
Binary files a/dev/_images/tricontour_smooth_user1.png and /dev/null differ
diff --git a/dev/_images/tricontour_smooth_user2.png b/dev/_images/tricontour_smooth_user2.png
deleted file mode 100644
index bd9e2b576fa..00000000000
Binary files a/dev/_images/tricontour_smooth_user2.png and /dev/null differ
diff --git a/dev/_images/tricontour_vs_griddata.png b/dev/_images/tricontour_vs_griddata.png
deleted file mode 100644
index 83fa6b80ea2..00000000000
Binary files a/dev/_images/tricontour_vs_griddata.png and /dev/null differ
diff --git a/dev/_images/trigradient_demo.png b/dev/_images/trigradient_demo.png
deleted file mode 100644
index a825473180e..00000000000
Binary files a/dev/_images/trigradient_demo.png and /dev/null differ
diff --git a/dev/_images/trigradient_demo1.png b/dev/_images/trigradient_demo1.png
deleted file mode 100644
index a825473180e..00000000000
Binary files a/dev/_images/trigradient_demo1.png and /dev/null differ
diff --git a/dev/_images/triinterp_demo.png b/dev/_images/triinterp_demo.png
deleted file mode 100644
index edd774e6f33..00000000000
Binary files a/dev/_images/triinterp_demo.png and /dev/null differ
diff --git a/dev/_images/tripcolor_demo_00.png b/dev/_images/tripcolor_demo_00.png
deleted file mode 100644
index 196b5d4a215..00000000000
Binary files a/dev/_images/tripcolor_demo_00.png and /dev/null differ
diff --git a/dev/_images/tripcolor_demo_001.png b/dev/_images/tripcolor_demo_001.png
deleted file mode 100644
index 196b5d4a215..00000000000
Binary files a/dev/_images/tripcolor_demo_001.png and /dev/null differ
diff --git a/dev/_images/tripcolor_demo_002.png b/dev/_images/tripcolor_demo_002.png
deleted file mode 100644
index 196b5d4a215..00000000000
Binary files a/dev/_images/tripcolor_demo_002.png and /dev/null differ
diff --git a/dev/_images/tripcolor_demo_01.png b/dev/_images/tripcolor_demo_01.png
deleted file mode 100644
index 99cf023e915..00000000000
Binary files a/dev/_images/tripcolor_demo_01.png and /dev/null differ
diff --git a/dev/_images/tripcolor_demo_011.png b/dev/_images/tripcolor_demo_011.png
deleted file mode 100644
index 99cf023e915..00000000000
Binary files a/dev/_images/tripcolor_demo_011.png and /dev/null differ
diff --git a/dev/_images/tripcolor_demo_012.png b/dev/_images/tripcolor_demo_012.png
deleted file mode 100644
index 99cf023e915..00000000000
Binary files a/dev/_images/tripcolor_demo_012.png and /dev/null differ
diff --git a/dev/_images/tripcolor_demo_02.png b/dev/_images/tripcolor_demo_02.png
deleted file mode 100644
index 25f972c6fb2..00000000000
Binary files a/dev/_images/tripcolor_demo_02.png and /dev/null differ
diff --git a/dev/_images/tripcolor_demo_021.png b/dev/_images/tripcolor_demo_021.png
deleted file mode 100644
index 25f972c6fb2..00000000000
Binary files a/dev/_images/tripcolor_demo_021.png and /dev/null differ
diff --git a/dev/_images/tripcolor_demo_022.png b/dev/_images/tripcolor_demo_022.png
deleted file mode 100644
index 25f972c6fb2..00000000000
Binary files a/dev/_images/tripcolor_demo_022.png and /dev/null differ
diff --git a/dev/_images/triplot_demo_00.png b/dev/_images/triplot_demo_00.png
deleted file mode 100644
index 08100a5e41f..00000000000
Binary files a/dev/_images/triplot_demo_00.png and /dev/null differ
diff --git a/dev/_images/triplot_demo_001.png b/dev/_images/triplot_demo_001.png
deleted file mode 100644
index 08100a5e41f..00000000000
Binary files a/dev/_images/triplot_demo_001.png and /dev/null differ
diff --git a/dev/_images/triplot_demo_002.png b/dev/_images/triplot_demo_002.png
deleted file mode 100644
index 08100a5e41f..00000000000
Binary files a/dev/_images/triplot_demo_002.png and /dev/null differ
diff --git a/dev/_images/triplot_demo_01.png b/dev/_images/triplot_demo_01.png
deleted file mode 100644
index 88b1aafbfc3..00000000000
Binary files a/dev/_images/triplot_demo_01.png and /dev/null differ
diff --git a/dev/_images/triplot_demo_011.png b/dev/_images/triplot_demo_011.png
deleted file mode 100644
index 88b1aafbfc3..00000000000
Binary files a/dev/_images/triplot_demo_011.png and /dev/null differ
diff --git a/dev/_images/triplot_demo_012.png b/dev/_images/triplot_demo_012.png
deleted file mode 100644
index 88b1aafbfc3..00000000000
Binary files a/dev/_images/triplot_demo_012.png and /dev/null differ
diff --git a/dev/_images/trisurf3d_demo.png b/dev/_images/trisurf3d_demo.png
deleted file mode 100644
index 39c2a58e30b..00000000000
Binary files a/dev/_images/trisurf3d_demo.png and /dev/null differ
diff --git a/dev/_images/trisurf3d_demo1.png b/dev/_images/trisurf3d_demo1.png
deleted file mode 100644
index 39c2a58e30b..00000000000
Binary files a/dev/_images/trisurf3d_demo1.png and /dev/null differ
diff --git a/dev/_images/trisurf3d_demo2.png b/dev/_images/trisurf3d_demo2.png
deleted file mode 100644
index 39c2a58e30b..00000000000
Binary files a/dev/_images/trisurf3d_demo2.png and /dev/null differ
diff --git a/dev/_images/trisurf3d_demo2_00.png b/dev/_images/trisurf3d_demo2_00.png
deleted file mode 100644
index 0bd12808728..00000000000
Binary files a/dev/_images/trisurf3d_demo2_00.png and /dev/null differ
diff --git a/dev/_images/trisurf3d_demo2_001.png b/dev/_images/trisurf3d_demo2_001.png
deleted file mode 100644
index 0bd12808728..00000000000
Binary files a/dev/_images/trisurf3d_demo2_001.png and /dev/null differ
diff --git a/dev/_images/trisurf3d_demo2_01.png b/dev/_images/trisurf3d_demo2_01.png
deleted file mode 100644
index ce2f11d2692..00000000000
Binary files a/dev/_images/trisurf3d_demo2_01.png and /dev/null differ
diff --git a/dev/_images/trisurf3d_demo2_011.png b/dev/_images/trisurf3d_demo2_011.png
deleted file mode 100644
index ce2f11d2692..00000000000
Binary files a/dev/_images/trisurf3d_demo2_011.png and /dev/null differ
diff --git a/dev/_images/two_scales.png b/dev/_images/two_scales.png
deleted file mode 100644
index bba36bd85ae..00000000000
Binary files a/dev/_images/two_scales.png and /dev/null differ
diff --git a/dev/_images/unicode_demo.png b/dev/_images/unicode_demo.png
deleted file mode 100644
index 8429b925595..00000000000
Binary files a/dev/_images/unicode_demo.png and /dev/null differ
diff --git a/dev/_images/unicode_minus.png b/dev/_images/unicode_minus.png
deleted file mode 100644
index 419897e9398..00000000000
Binary files a/dev/_images/unicode_minus.png and /dev/null differ
diff --git a/dev/_images/units_sample.png b/dev/_images/units_sample.png
deleted file mode 100644
index 83bcbd540ac..00000000000
Binary files a/dev/_images/units_sample.png and /dev/null differ
diff --git a/dev/_images/units_scatter.png b/dev/_images/units_scatter.png
deleted file mode 100644
index ec56eab6e7b..00000000000
Binary files a/dev/_images/units_scatter.png and /dev/null differ
diff --git a/dev/_images/usetex_baseline_test.png b/dev/_images/usetex_baseline_test.png
deleted file mode 100644
index fd110c9d1ea..00000000000
Binary files a/dev/_images/usetex_baseline_test.png and /dev/null differ
diff --git a/dev/_images/usetex_demo.png b/dev/_images/usetex_demo.png
deleted file mode 100644
index 61b76c38c73..00000000000
Binary files a/dev/_images/usetex_demo.png and /dev/null differ
diff --git a/dev/_images/usetex_fonteffects.png b/dev/_images/usetex_fonteffects.png
deleted file mode 100644
index 4db49aa12f5..00000000000
Binary files a/dev/_images/usetex_fonteffects.png and /dev/null differ
diff --git a/dev/_images/vertical_ticklabels.png b/dev/_images/vertical_ticklabels.png
deleted file mode 100644
index 80fc858def4..00000000000
Binary files a/dev/_images/vertical_ticklabels.png and /dev/null differ
diff --git a/dev/_images/vline_demo.png b/dev/_images/vline_demo.png
deleted file mode 100644
index f475fde55c9..00000000000
Binary files a/dev/_images/vline_demo.png and /dev/null differ
diff --git a/dev/_images/vline_hline_demo.png b/dev/_images/vline_hline_demo.png
deleted file mode 100644
index 5bc62098e5e..00000000000
Binary files a/dev/_images/vline_hline_demo.png and /dev/null differ
diff --git a/dev/_images/vline_hline_demo1.png b/dev/_images/vline_hline_demo1.png
deleted file mode 100644
index 5bc62098e5e..00000000000
Binary files a/dev/_images/vline_hline_demo1.png and /dev/null differ
diff --git a/dev/_images/watermark_image.png b/dev/_images/watermark_image.png
deleted file mode 100644
index c361f314e5f..00000000000
Binary files a/dev/_images/watermark_image.png and /dev/null differ
diff --git a/dev/_images/watermark_text.png b/dev/_images/watermark_text.png
deleted file mode 100644
index 0ddf21c6057..00000000000
Binary files a/dev/_images/watermark_text.png and /dev/null differ
diff --git a/dev/_images/whats_new-1.png b/dev/_images/whats_new-1.png
deleted file mode 100644
index bbb33098536..00000000000
Binary files a/dev/_images/whats_new-1.png and /dev/null differ
diff --git a/dev/_images/whats_new-2_00_00.png b/dev/_images/whats_new-2_00_00.png
deleted file mode 100644
index 7f97d8297bb..00000000000
Binary files a/dev/_images/whats_new-2_00_00.png and /dev/null differ
diff --git a/dev/_images/whats_new-2_01_00.png b/dev/_images/whats_new-2_01_00.png
deleted file mode 100644
index 9f51dcd7001..00000000000
Binary files a/dev/_images/whats_new-2_01_00.png and /dev/null differ
diff --git a/dev/_images/whats_new_1_subplot3d.png b/dev/_images/whats_new_1_subplot3d.png
deleted file mode 100644
index 00e09bba7e6..00000000000
Binary files a/dev/_images/whats_new_1_subplot3d.png and /dev/null differ
diff --git a/dev/_images/whats_new_1_subplot3d_00_00.png b/dev/_images/whats_new_1_subplot3d_00_00.png
deleted file mode 100644
index 2389c66c77c..00000000000
Binary files a/dev/_images/whats_new_1_subplot3d_00_00.png and /dev/null differ
diff --git a/dev/_images/whats_new_1_subplot3d_01_00.png b/dev/_images/whats_new_1_subplot3d_01_00.png
deleted file mode 100644
index 7385f0be0b8..00000000000
Binary files a/dev/_images/whats_new_1_subplot3d_01_00.png and /dev/null differ
diff --git a/dev/_images/whats_new_98_4_fancy.png b/dev/_images/whats_new_98_4_fancy.png
deleted file mode 100644
index 2a7a94cc73b..00000000000
Binary files a/dev/_images/whats_new_98_4_fancy.png and /dev/null differ
diff --git a/dev/_images/whats_new_98_4_fill_between.png b/dev/_images/whats_new_98_4_fill_between.png
deleted file mode 100644
index 996c9010409..00000000000
Binary files a/dev/_images/whats_new_98_4_fill_between.png and /dev/null differ
diff --git a/dev/_images/whats_new_98_4_legend.png b/dev/_images/whats_new_98_4_legend.png
deleted file mode 100644
index aea0606d028..00000000000
Binary files a/dev/_images/whats_new_98_4_legend.png and /dev/null differ
diff --git a/dev/_images/whats_new_99_axes_grid.png b/dev/_images/whats_new_99_axes_grid.png
deleted file mode 100644
index 2b58cd8f5b7..00000000000
Binary files a/dev/_images/whats_new_99_axes_grid.png and /dev/null differ
diff --git a/dev/_images/whats_new_99_mplot3d.png b/dev/_images/whats_new_99_mplot3d.png
deleted file mode 100644
index cab94925e72..00000000000
Binary files a/dev/_images/whats_new_99_mplot3d.png and /dev/null differ
diff --git a/dev/_images/whats_new_99_spines.png b/dev/_images/whats_new_99_spines.png
deleted file mode 100644
index 9625e4c3092..00000000000
Binary files a/dev/_images/whats_new_99_spines.png and /dev/null differ
diff --git a/dev/_images/wire3d_animation_demo.png b/dev/_images/wire3d_animation_demo.png
deleted file mode 100644
index b7ed7c6cf50..00000000000
Binary files a/dev/_images/wire3d_animation_demo.png and /dev/null differ
diff --git a/dev/_images/wire3d_demo.png b/dev/_images/wire3d_demo.png
deleted file mode 100644
index 926bcf4b0fd..00000000000
Binary files a/dev/_images/wire3d_demo.png and /dev/null differ
diff --git a/dev/_images/wire3d_demo1.png b/dev/_images/wire3d_demo1.png
deleted file mode 100644
index 926bcf4b0fd..00000000000
Binary files a/dev/_images/wire3d_demo1.png and /dev/null differ
diff --git a/dev/_images/xcorr_demo.png b/dev/_images/xcorr_demo.png
deleted file mode 100644
index 63ff9901695..00000000000
Binary files a/dev/_images/xcorr_demo.png and /dev/null differ
diff --git a/dev/_images/xcorr_demo1.png b/dev/_images/xcorr_demo1.png
deleted file mode 100644
index 63ff9901695..00000000000
Binary files a/dev/_images/xcorr_demo1.png and /dev/null differ
diff --git a/dev/_images/zoom_to_rect.png b/dev/_images/zoom_to_rect.png
deleted file mode 100644
index 07236a9ff81..00000000000
Binary files a/dev/_images/zoom_to_rect.png and /dev/null differ
diff --git a/dev/_images/zorder_demo_00.png b/dev/_images/zorder_demo_00.png
deleted file mode 100644
index 181ebfad94f..00000000000
Binary files a/dev/_images/zorder_demo_00.png and /dev/null differ
diff --git a/dev/_images/zorder_demo_01.png b/dev/_images/zorder_demo_01.png
deleted file mode 100644
index cef85caee16..00000000000
Binary files a/dev/_images/zorder_demo_01.png and /dev/null differ
diff --git a/dev/_sources/api/afm_api.txt b/dev/_sources/api/afm_api.txt
deleted file mode 100644
index 3bffbd1c30a..00000000000
--- a/dev/_sources/api/afm_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-**********************************
-afm (Adobe Font Metrics interface)
-**********************************
-
-
-:mod:`matplotlib.afm`
-=====================
-
-.. automodule:: matplotlib.afm
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/animation_api.txt b/dev/_sources/api/animation_api.txt
deleted file mode 100644
index d43dc351aba..00000000000
--- a/dev/_sources/api/animation_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-*********
-animation
-*********
-
-
-:mod:`matplotlib.animation`
-===========================
-
-.. automodule:: matplotlib.animation
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/api_changes.txt b/dev/_sources/api/api_changes.txt
deleted file mode 100644
index 0ed2dd87a79..00000000000
--- a/dev/_sources/api/api_changes.txt
+++ /dev/null
@@ -1,1911 +0,0 @@
-
-===========
-API Changes
-===========
-
-This chapter is a log of changes to matplotlib that affect the
-outward-facing API. If updating matplotlib breaks your scripts, this
-list may help describe what changes may be necessary in your code or
-help figure out possible sources of the changes you are experiencing.
-
-For new features that were added to matplotlib, please see
-:ref:`whats-new`.
-
-
-Changes in 1.3.x
-================
-
-* In :class:`~matplotlib.patches.FancyArrow`, the default arrow head width,
- ``head_width``, has been made larger to produce a visible arrow head. The new
- value of this kwarg is ``head_width = 20 * width``.
-
-* Removed call of :meth:`~matplotlib.axes.Axes.grid` in
- :meth:`~matplotlib.pyplot.plotfile`. To draw the axes grid, set to *True*
- matplotlib.rcParams['axes.grid'] or ``axes.grid`` in ``.matplotlibrc`` or
- explicitly call :meth:`~matplotlib.axes.Axes.grid`
-
-* A new keyword *extendrect* in :meth:`~matplotlib.pyplot.colorbar` and
- :class:`~matplotlib.colorbar.ColorbarBase` allows one to control the shape
- of colorbar extensions.
-
-* The `~matplotlib.mpl` module is now deprecated. Those who relied on this
- module should transition to simply using `import matplotlib as mpl`.
-
-* The extension of :class:`~matplotlib.widgets.MultiCursor` to both vertical
- (default) and/or horizontal cursor implied that ``self.line`` is replaced
- by ``self.vline`` for vertical cursors lines and ``self.hline`` is added
- for the horizontal cursors lines.
-
-* On POSIX platforms, the :func:`~matplotlib.cbook.report_memory` function
- raises :class:`NotImplementedError` instead of :class:`OSError` if the
- :command:`ps` command cannot be run.
-
-* The :func:`~matplotlib.cbook.check_output` function has been moved to
- `~matplotlib.compat.subprocess`.
-
-Changes in 1.2.x
-================
-
-* The ``classic`` option of the rc parameter ``toolbar`` is deprecated
- and will be removed in the next release.
-
-* The :meth:`~matplotlib.cbook.isvector` method has been removed since it
- is no longer functional.
-
-* The `rasterization_zorder` property on `~matplotlib.axes.Axes` a
- zorder below which artists are rasterized. This has defaulted to
- -30000.0, but it now defaults to `None`, meaning no artists will be
- rasterized. In order to rasterize artists below a given zorder
- value, `set_rasterization_zorder` must be explicitly called.
-
-* In :meth:`~matplotlib.axes.Axes.scatter`, and `~pyplot.scatter`,
- when specifying a marker using a tuple, the angle is now specified
- in degrees, not radians.
-
-* Using :meth:`~matplotlib.axes.Axes.twinx` or
- :meth:`~matplotlib.axes.Axes.twiny` no longer overrides the current locaters
- and formatters on the axes.
-
-* In :meth:`~matplotlib.axes.Axes.contourf`, the handling of the *extend*
- kwarg has changed. Formerly, the extended ranges were mapped
- after to 0, 1 after being normed, so that they always corresponded
- to the extreme values of the colormap. Now they are mapped
- outside this range so that they correspond to the special
- colormap values determined by the
- :meth:`~matplotlib.colors.Colormap.set_under` and
- :meth:`~matplotlib.colors.Colormap.set_over` methods, which
- default to the colormap end points.
-
-* The new rc parameter ``savefig.format`` replaces ``cairo.format`` and
- ``savefig.extension``, and sets the default file format used by
- :meth:`matplotlib.figure.Figure.savefig`.
-
-* In :meth:`~matplotlib.pyplot.pie` and :meth:`~matplotlib.Axes.pie`, one can
- now set the radius of the pie; setting the *radius* to 'None' (the default
- value), will result in a pie with a radius of 1 as before.
-
-* Use of :func:`~matplotlib.projections.projection_factory` is now deprecated
- in favour of axes class identification using
- :func:`~matplotlib.projections.process_projection_requirements` followed by
- direct axes class invocation (at the time of writing, functions which do this
- are: :meth:`~matplotlib.figure.Figure.add_axes`,
- :meth:`~matplotlib.figure.Figure.add_subplot` and
- :meth:`~matplotlib.figure.Figure.gca`). Therefore::
-
-
- key = figure._make_key(*args, **kwargs)
- ispolar = kwargs.pop('polar', False)
- projection = kwargs.pop('projection', None)
- if ispolar:
- if projection is not None and projection != 'polar':
- raise ValueError('polar and projection args are inconsistent')
- projection = 'polar'
- ax = projection_factory(projection, self, rect, **kwargs)
- key = self._make_key(*args, **kwargs)
-
- # is now
-
- projection_class, kwargs, key = \
- process_projection_requirements(self, *args, **kwargs)
- ax = projection_class(self, rect, **kwargs)
-
- This change means that third party objects can expose themselves as
- matplotlib axes by providing a ``_as_mpl_axes`` method. See
- :ref:`adding-new-scales` for more detail.
-
-* A new keyword *extendfrac* in :meth:`~matplotlib.pyplot.colorbar` and
- :class:`~matplotlib.colorbar.ColorbarBase` allows one to control the size of
- the triangular minimum and maximum extensions on colorbars.
-
-* A new keyword *capthick* in :meth:`~matplotlib.pyplot.errorbar` has been
- added as an intuitive alias to the *markeredgewidth* and *mew* keyword
- arguments, which indirectly controlled the thickness of the caps on
- the errorbars. For backwards compatibility, specifying either of the
- original keyword arguments will override any value provided by
- *capthick*.
-
-* Transform subclassing behaviour is now subtly changed. If your transform
- implements a non-affine transformation, then it should override the
- ``transform_non_affine`` method, rather than the generic ``transform`` method.
- Previously transforms would define ``transform`` and then copy the
- method into ``transform_non_affine``::
-
- class MyTransform(mtrans.Transform):
- def transform(self, xy):
- ...
- transform_non_affine = transform
-
-
- This approach will no longer function correctly and should be changed to::
-
- class MyTransform(mtrans.Transform):
- def transform_non_affine(self, xy):
- ...
-
-
-* Artists no longer have ``x_isdata`` or ``y_isdata`` attributes; instead
- any artist's transform can be interrogated with
- ``artist_instance.get_transform().contains_branch(ax.transData)``
-
-* Lines added to an axes now take into account their transform when updating the
- data and view limits. This means transforms can now be used as a pre-transform.
- For instance::
-
- >>> import matplotlib.pyplot as plt
- >>> import matplotlib.transforms as mtrans
- >>> ax = plt.axes()
- >>> ax.plot(range(10), transform=mtrans.Affine2D().scale(10) + ax.transData)
- >>> print(ax.viewLim)
- Bbox('array([[ 0., 0.],\n [ 90., 90.]])')
-
-* One can now easily get a transform which goes from one transform's coordinate
- system to another, in an optimized way, using the new subtract method on a
- transform. For instance, to go from data coordinates to axes coordinates::
-
- >>> import matplotlib.pyplot as plt
- >>> ax = plt.axes()
- >>> data2ax = ax.transData - ax.transAxes
- >>> print(ax.transData.depth, ax.transAxes.depth)
- 3, 1
- >>> print(data2ax.depth)
- 2
-
- for versions before 1.2 this could only be achieved in a sub-optimal way,
- using ``ax.transData + ax.transAxes.inverted()`` (depth is a new concept,
- but had it existed it would return 4 for this example).
-
-* ``twinx`` and ``twiny`` now returns an instance of SubplotBase if
- parent axes is an instance of SubplotBase.
-
-* All Qt3-based backends are now deprecated due to the lack of py3k bindings.
- Qt and QtAgg backends will continue to work in v1.2.x for py2.6
- and py2.7. It is anticipated that the Qt3 support will be completely
- removed for the next release.
-
-* :class:`~matplotlib.colors.ColorConverter`,
- :class:`~matplotlib.colors.Colormap` and
- :class:`~matplotlib.colors.Normalize` now subclasses ``object``
-
-* ContourSet instances no longer have a ``transform`` attribute. Instead,
- access the transform with the ``get_transform`` method.
-
-Changes in 1.1.x
-================
-
-* Added new :class:`matplotlib.sankey.Sankey` for generating Sankey diagrams.
-
-* In :meth:`~matplotlib.pyplot.imshow`, setting *interpolation* to 'nearest'
- will now always mean that the nearest-neighbor interpolation is performed.
- If you want the no-op interpolation to be performed, choose 'none'.
-
-* There were errors in how the tri-functions were handling input parameters
- that had to be fixed. If your tri-plots are not working correctly anymore,
- or you were working around apparent mistakes, please see issue #203 in the
- github tracker. When in doubt, use kwargs.
-
-* The 'symlog' scale had some bad behavior in previous versions. This has now
- been fixed and users should now be able to use it without frustrations.
- The fixes did result in some minor changes in appearance for some users who
- may have been depending on the bad behavior.
-
-* There is now a common set of markers for all plotting functions. Previously,
- some markers existed only for :meth:`~matplotlib.pyplot.scatter` or just for
- :meth:`~matplotlib.pyplot.plot`. This is now no longer the case. This merge
- did result in a conflict. The string 'd' now means "thin diamond" while
- 'D' will mean "regular diamond".
-
-Changes beyond 0.99.x
-=====================
-
-* The default behavior of :meth:`matplotlib.axes.Axes.set_xlim`,
- :meth:`matplotlib.axes.Axes.set_ylim`, and
- :meth:`matplotlib.axes.Axes.axis`, and their corresponding
- pyplot functions, has been changed: when view limits are
- set explicitly with one of these methods, autoscaling is turned
- off for the matching axis. A new *auto* kwarg is available to
- control this behavior. The limit kwargs have been renamed to
- *left* and *right* instead of *xmin* and *xmax*, and *bottom*
- and *top* instead of *ymin* and *ymax*. The old names may still
- be used, however.
-
-* There are five new Axes methods with corresponding pyplot
- functions to facilitate autoscaling, tick location, and tick
- label formatting, and the general appearance of ticks and
- tick labels:
-
- + :meth:`matplotlib.axes.Axes.autoscale` turns autoscaling
- on or off, and applies it.
-
- + :meth:`matplotlib.axes.Axes.margins` sets margins used to
- autoscale the :attr:`matplotlib.axes.Axes.viewLim` based on
- the :attr:`matplotlib.axes.Axes.dataLim`.
-
- + :meth:`matplotlib.axes.Axes.locator_params` allows one to
- adjust axes locator parameters such as *nbins*.
-
- + :meth:`matplotlib.axes.Axes.ticklabel_format` is a convenience
- method for controlling the :class:`matplotlib.ticker.ScalarFormatter`
- that is used by default with linear axes.
-
- + :meth:`matplotlib.axes.Axes.tick_params` controls direction, size,
- visibility, and color of ticks and their labels.
-
-* The :meth:`matplotlib.axes.Axes.bar` method accepts a *error_kw*
- kwarg; it is a dictionary of kwargs to be passed to the
- errorbar function.
-
-* The :meth:`matplotlib.axes.Axes.hist` *color* kwarg now accepts
- a sequence of color specs to match a sequence of datasets.
-
-* The :class:`~matplotlib.collections.EllipseCollection` has been
- changed in two ways:
-
- + There is a new *units* option, 'xy', that scales the ellipse with
- the data units. This matches the :class:'~matplotlib.patches.Ellipse`
- scaling.
-
- + The *height* and *width* kwargs have been changed to specify
- the height and width, again for consistency with
- :class:`~matplotlib.patches.Ellipse`, and to better match
- their names; previously they specified the half-height and
- half-width.
-
-* There is a new rc parameter ``axes.color_cycle``, and the color
- cycle is now independent of the rc parameter ``lines.color``.
- :func:`matplotlib.Axes.set_default_color_cycle` is deprecated.
-
-* You can now print several figures to one pdf file and modify the
- document information dictionary of a pdf file. See the docstrings
- of the class :class:`matplotlib.backends.backend_pdf.PdfPages` for
- more information.
-
-* Removed configobj_ and `enthought.traits`_ packages, which are only
- required by the experimental traited config and are somewhat out of
- date. If needed, install them independently.
-
-.. _configobj: http://www.voidspace.org.uk/python/configobj.html
-.. _`enthought.traits`: http://code.enthought.com/projects/traits
-
-* The new rc parameter ``savefig.extension`` sets the filename extension
- that is used by :meth:`matplotlib.figure.Figure.savefig` if its *fname*
- argument lacks an extension.
-
-* In an effort to simplify the backend API, all clipping rectangles
- and paths are now passed in using GraphicsContext objects, even
- on collections and images. Therefore::
-
- draw_path_collection(self, master_transform, cliprect, clippath,
- clippath_trans, paths, all_transforms, offsets,
- offsetTrans, facecolors, edgecolors, linewidths,
- linestyles, antialiaseds, urls)
-
- # is now
-
- draw_path_collection(self, gc, master_transform, paths, all_transforms,
- offsets, offsetTrans, facecolors, edgecolors,
- linewidths, linestyles, antialiaseds, urls)
-
-
- draw_quad_mesh(self, master_transform, cliprect, clippath,
- clippath_trans, meshWidth, meshHeight, coordinates,
- offsets, offsetTrans, facecolors, antialiased,
- showedges)
-
- # is now
-
- draw_quad_mesh(self, gc, master_transform, meshWidth, meshHeight,
- coordinates, offsets, offsetTrans, facecolors,
- antialiased, showedges)
-
-
- draw_image(self, x, y, im, bbox, clippath=None, clippath_trans=None)
-
- # is now
-
- draw_image(self, gc, x, y, im)
-
-* There are four new Axes methods with corresponding pyplot
- functions that deal with unstructured triangular grids:
-
- + :meth:`matplotlib.axes.Axes.tricontour` draws contour lines
- on a triangular grid.
-
- + :meth:`matplotlib.axes.Axes.tricontourf` draws filled contours
- on a triangular grid.
-
- + :meth:`matplotlib.axes.Axes.tripcolor` draws a pseudocolor
- plot on a triangular grid.
-
- + :meth:`matplotlib.axes.Axes.triplot` draws a triangular grid
- as lines and/or markers.
-
-Changes in 0.99
-======================
-
-* pylab no longer provides a load and save function. These are
- available in matplotlib.mlab, or you can use numpy.loadtxt and
- numpy.savetxt for text files, or np.save and np.load for binary
- numpy arrays.
-
-* User-generated colormaps can now be added to the set recognized
- by :func:`matplotlib.cm.get_cmap`. Colormaps can be made the
- default and applied to the current image using
- :func:`matplotlib.pyplot.set_cmap`.
-
-* changed use_mrecords default to False in mlab.csv2rec since this is
- partially broken
-
-* Axes instances no longer have a "frame" attribute. Instead, use the
- new "spines" attribute. Spines is a dictionary where the keys are
- the names of the spines (e.g., 'left','right' and so on) and the
- values are the artists that draw the spines. For normal
- (rectilinear) axes, these artists are Line2D instances. For other
- axes (such as polar axes), these artists may be Patch instances.
-
-* Polar plots no longer accept a resolution kwarg. Instead, each Path
- must specify its own number of interpolation steps. This is
- unlikely to be a user-visible change -- if interpolation of data is
- required, that should be done before passing it to matplotlib.
-
-Changes for 0.98.x
-==================
-* psd(), csd(), and cohere() will now automatically wrap negative
- frequency components to the beginning of the returned arrays.
- This is much more sensible behavior and makes them consistent
- with specgram(). The previous behavior was more of an oversight
- than a design decision.
-
-* Added new keyword parameters *nonposx*, *nonposy* to
- :class:`matplotlib.axes.Axes` methods that set log scale
- parameters. The default is still to mask out non-positive
- values, but the kwargs accept 'clip', which causes non-positive
- values to be replaced with a very small positive value.
-
-* Added new :func:`matplotlib.pyplot.fignum_exists` and
- :func:`matplotlib.pyplot.get_fignums`; they merely expose
- information that had been hidden in :mod:`matplotlib._pylab_helpers`.
-
-* Deprecated numerix package.
-
-* Added new :func:`matplotlib.image.imsave` and exposed it to the
- :mod:`matplotlib.pyplot` interface.
-
-* Remove support for pyExcelerator in exceltools -- use xlwt
- instead
-
-* Changed the defaults of acorr and xcorr to use usevlines=True,
- maxlags=10 and normed=True since these are the best defaults
-
-* Following keyword parameters for :class:`matplotlib.label.Label` are now
- deprecated and new set of parameters are introduced. The new parameters
- are given as a fraction of the font-size. Also, *scatteryoffsets*,
- *fancybox* and *columnspacing* are added as keyword parameters.
-
- ================ ================
- Deprecated New
- ================ ================
- pad borderpad
- labelsep labelspacing
- handlelen handlelength
- handlestextsep handletextpad
- axespad borderaxespad
- ================ ================
-
-
-* Removed the configobj and experimental traits rc support
-
-* Modified :func:`matplotlib.mlab.psd`, :func:`matplotlib.mlab.csd`,
- :func:`matplotlib.mlab.cohere`, and :func:`matplotlib.mlab.specgram`
- to scale one-sided densities by a factor of 2. Also, optionally
- scale the densities by the sampling frequency, which gives true values
- of densities that can be integrated by the returned frequency values.
- This also gives better MATLAB compatibility. The corresponding
- :class:`matplotlib.axes.Axes` methods and :mod:`matplotlib.pyplot`
- functions were updated as well.
-
-* Font lookup now uses a nearest-neighbor approach rather than an
- exact match. Some fonts may be different in plots, but should be
- closer to what was requested.
-
-* :meth:`matplotlib.axes.Axes.set_xlim`,
- :meth:`matplotlib.axes.Axes.set_ylim` now return a copy of the
- :attr:`viewlim` array to avoid modify-in-place surprises.
-
-* :meth:`matplotlib.afm.AFM.get_fullname` and
- :meth:`matplotlib.afm.AFM.get_familyname` no longer raise an
- exception if the AFM file does not specify these optional
- attributes, but returns a guess based on the required FontName
- attribute.
-
-* Changed precision kwarg in :func:`matplotlib.pyplot.spy`; default is
- 0, and the string value 'present' is used for sparse arrays only to
- show filled locations.
-
-* :class:`matplotlib.collections.EllipseCollection` added.
-
-* Added ``angles`` kwarg to :func:`matplotlib.pyplot.quiver` for more
- flexible specification of the arrow angles.
-
-* Deprecated (raise NotImplementedError) all the mlab2 functions from
- :mod:`matplotlib.mlab` out of concern that some of them were not
- clean room implementations.
-
-* Methods :meth:`matplotlib.collections.Collection.get_offsets` and
- :meth:`matplotlib.collections.Collection.set_offsets` added to
- :class:`~matplotlib.collections.Collection` base class.
-
-* :attr:`matplotlib.figure.Figure.figurePatch` renamed
- :attr:`matplotlib.figure.Figure.patch`;
- :attr:`matplotlib.axes.Axes.axesPatch` renamed
- :attr:`matplotlib.axes.Axes.patch`;
- :attr:`matplotlib.axes.Axes.axesFrame` renamed
- :attr:`matplotlib.axes.Axes.frame`.
- :meth:`matplotlib.axes.Axes.get_frame`, which returns
- :attr:`matplotlib.axes.Axes.patch`, is deprecated.
-
-* Changes in the :class:`matplotlib.contour.ContourLabeler` attributes
- (:func:`matplotlib.pyplot.clabel` function) so that they all have a
- form like ``.labelAttribute``. The three attributes that are most
- likely to be used by end users, ``.cl``, ``.cl_xy`` and
- ``.cl_cvalues`` have been maintained for the moment (in addition to
- their renamed versions), but they are deprecated and will eventually
- be removed.
-
-* Moved several functions in :mod:`matplotlib.mlab` and
- :mod:`matplotlib.cbook` into a separate module
- :mod:`matplotlib.numerical_methods` because they were unrelated to
- the initial purpose of mlab or cbook and appeared more coherent
- elsewhere.
-
-Changes for 0.98.1
-==================
-
-* Removed broken :mod:`matplotlib.axes3d` support and replaced it with
- a non-implemented error pointing to 0.91.x
-
-Changes for 0.98.0
-==================
-
-* :func:`matplotlib.image.imread` now no longer always returns RGBA data---if
- the image is luminance or RGB, it will return a MxN or MxNx3 array
- if possible. Also uint8 is no longer always forced to float.
-
-* Rewrote the :class:`matplotlib.cm.ScalarMappable` callback
- infrastructure to use :class:`matplotlib.cbook.CallbackRegistry`
- rather than custom callback handling. Any users of
- :meth:`matplotlib.cm.ScalarMappable.add_observer` of the
- :class:`~matplotlib.cm.ScalarMappable` should use the
- :attr:`matplotlib.cm.ScalarMappable.callbacks`
- :class:`~matplotlib.cbook.CallbackRegistry` instead.
-
-* New axes function and Axes method provide control over the plot
- color cycle: :func:`matplotlib.axes.set_default_color_cycle` and
- :meth:`matplotlib.axes.Axes.set_color_cycle`.
-
-* matplotlib now requires Python 2.4, so :mod:`matplotlib.cbook` will
- no longer provide :class:`set`, :func:`enumerate`, :func:`reversed`
- or :func:`izip` compatibility functions.
-
-* In Numpy 1.0, bins are specified by the left edges only. The axes
- method :meth:`matplotlib.axes.Axes.hist` now uses future Numpy 1.3
- semantics for histograms. Providing ``binedges``, the last value gives
- the upper-right edge now, which was implicitly set to +infinity in
- Numpy 1.0. This also means that the last bin doesn't contain upper
- outliers any more by default.
-
-* New axes method and pyplot function,
- :func:`~matplotlib.pyplot.hexbin`, is an alternative to
- :func:`~matplotlib.pyplot.scatter` for large datasets. It makes
- something like a :func:`~matplotlib.pyplot.pcolor` of a 2-D
- histogram, but uses hexagonal bins.
-
-* New kwarg, ``symmetric``, in :class:`matplotlib.ticker.MaxNLocator`
- allows one require an axis to be centered around zero.
-
-* Toolkits must now be imported from ``mpl_toolkits`` (not ``matplotlib.toolkits``)
-
-Notes about the transforms refactoring
---------------------------------------
-
-A major new feature of the 0.98 series is a more flexible and
-extensible transformation infrastructure, written in Python/Numpy
-rather than a custom C extension.
-
-The primary goal of this refactoring was to make it easier to
-extend matplotlib to support new kinds of projections. This is
-mostly an internal improvement, and the possible user-visible
-changes it allows are yet to come.
-
-See :mod:`matplotlib.transforms` for a description of the design of
-the new transformation framework.
-
-For efficiency, many of these functions return views into Numpy
-arrays. This means that if you hold on to a reference to them,
-their contents may change. If you want to store a snapshot of
-their current values, use the Numpy array method copy().
-
-The view intervals are now stored only in one place -- in the
-:class:`matplotlib.axes.Axes` instance, not in the locator instances
-as well. This means locators must get their limits from their
-:class:`matplotlib.axis.Axis`, which in turn looks up its limits from
-the :class:`~matplotlib.axes.Axes`. If a locator is used temporarily
-and not assigned to an Axis or Axes, (e.g., in
-:mod:`matplotlib.contour`), a dummy axis must be created to store its
-bounds. Call :meth:`matplotlib.ticker.Locator.create_dummy_axis` to
-do so.
-
-The functionality of :class:`Pbox` has been merged with
-:class:`~matplotlib.transforms.Bbox`. Its methods now all return
-copies rather than modifying in place.
-
-The following lists many of the simple changes necessary to update
-code from the old transformation framework to the new one. In
-particular, methods that return a copy are named with a verb in the
-past tense, whereas methods that alter an object in place are named
-with a verb in the present tense.
-
-:mod:`matplotlib.transforms`
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-============================================================ ============================================================
-Old method New method
-============================================================ ============================================================
-:meth:`Bbox.get_bounds` :attr:`transforms.Bbox.bounds`
------------------------------------------------------------- ------------------------------------------------------------
-:meth:`Bbox.width` :attr:`transforms.Bbox.width`
------------------------------------------------------------- ------------------------------------------------------------
-:meth:`Bbox.height` :attr:`transforms.Bbox.height`
------------------------------------------------------------- ------------------------------------------------------------
-`Bbox.intervalx().get_bounds()` :attr:`transforms.Bbox.intervalx`
-`Bbox.intervalx().set_bounds()` [:attr:`Bbox.intervalx` is now a property.]
------------------------------------------------------------- ------------------------------------------------------------
-`Bbox.intervaly().get_bounds()` :attr:`transforms.Bbox.intervaly`
-`Bbox.intervaly().set_bounds()` [:attr:`Bbox.intervaly` is now a property.]
------------------------------------------------------------- ------------------------------------------------------------
-:meth:`Bbox.xmin` :attr:`transforms.Bbox.x0` or
- :attr:`transforms.Bbox.xmin` [1]_
------------------------------------------------------------- ------------------------------------------------------------
-:meth:`Bbox.ymin` :attr:`transforms.Bbox.y0` or
- :attr:`transforms.Bbox.ymin` [1]_
------------------------------------------------------------- ------------------------------------------------------------
-:meth:`Bbox.xmax` :attr:`transforms.Bbox.x1` or
- :attr:`transforms.Bbox.xmax` [1]_
------------------------------------------------------------- ------------------------------------------------------------
-:meth:`Bbox.ymax` :attr:`transforms.Bbox.y1` or
- :attr:`transforms.Bbox.ymax` [1]_
------------------------------------------------------------- ------------------------------------------------------------
-`Bbox.overlaps(bboxes)` `Bbox.count_overlaps(bboxes)`
------------------------------------------------------------- ------------------------------------------------------------
-`bbox_all(bboxes)` `Bbox.union(bboxes)`
- [:meth:`transforms.Bbox.union` is a staticmethod.]
------------------------------------------------------------- ------------------------------------------------------------
-`lbwh_to_bbox(l, b, w, h)` `Bbox.from_bounds(x0, y0, w, h)`
- [:meth:`transforms.Bbox.from_bounds` is a staticmethod.]
------------------------------------------------------------- ------------------------------------------------------------
-`inverse_transform_bbox(trans, bbox)` `Bbox.inverse_transformed(trans)`
------------------------------------------------------------- ------------------------------------------------------------
-`Interval.contains_open(v)` `interval_contains_open(tuple, v)`
------------------------------------------------------------- ------------------------------------------------------------
-`Interval.contains(v)` `interval_contains(tuple, v)`
------------------------------------------------------------- ------------------------------------------------------------
-`identity_transform()` :class:`matplotlib.transforms.IdentityTransform`
------------------------------------------------------------- ------------------------------------------------------------
-`blend_xy_sep_transform(xtrans, ytrans)` `blended_transform_factory(xtrans, ytrans)`
------------------------------------------------------------- ------------------------------------------------------------
-`scale_transform(xs, ys)` `Affine2D().scale(xs[, ys])`
------------------------------------------------------------- ------------------------------------------------------------
-`get_bbox_transform(boxin, boxout)` `BboxTransform(boxin, boxout)` or
- `BboxTransformFrom(boxin)` or
- `BboxTransformTo(boxout)`
------------------------------------------------------------- ------------------------------------------------------------
-`Transform.seq_xy_tup(points)` `Transform.transform(points)`
------------------------------------------------------------- ------------------------------------------------------------
-`Transform.inverse_xy_tup(points)` `Transform.inverted().transform(points)`
-============================================================ ============================================================
-
-.. [1] The :class:`~matplotlib.transforms.Bbox` is bound by the points
- (x0, y0) to (x1, y1) and there is no defined order to these points,
- that is, x0 is not necessarily the left edge of the box. To get
- the left edge of the :class:`Bbox`, use the read-only property
- :attr:`~matplotlib.transforms.Bbox.xmin`.
-
-:mod:`matplotlib.axes`
-~~~~~~~~~~~~~~~~~~~~~~
-
-============================================================ ============================================================
-Old method New method
-============================================================ ============================================================
-`Axes.get_position()` :meth:`matplotlib.axes.Axes.get_position` [2]_
------------------------------------------------------------- ------------------------------------------------------------
-`Axes.set_position()` :meth:`matplotlib.axes.Axes.set_position` [3]_
------------------------------------------------------------- ------------------------------------------------------------
-`Axes.toggle_log_lineary()` :meth:`matplotlib.axes.Axes.set_yscale` [4]_
------------------------------------------------------------- ------------------------------------------------------------
-`Subplot` class removed.
-============================================================ ============================================================
-
-The :class:`Polar` class has moved to :mod:`matplotlib.projections.polar`.
-
-.. [2] :meth:`matplotlib.axes.Axes.get_position` used to return a list
- of points, now it returns a :class:`matplotlib.transforms.Bbox`
- instance.
-
-.. [3] :meth:`matplotlib.axes.Axes.set_position` now accepts either
- four scalars or a :class:`matplotlib.transforms.Bbox` instance.
-
-.. [4] Since the recfactoring allows for more than two scale types
- ('log' or 'linear'), it no longer makes sense to have a toggle.
- `Axes.toggle_log_lineary()` has been removed.
-
-:mod:`matplotlib.artist`
-~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-============================================================ ============================================================
-Old method New method
-============================================================ ============================================================
-`Artist.set_clip_path(path)` `Artist.set_clip_path(path, transform)` [5]_
-============================================================ ============================================================
-
-.. [5] :meth:`matplotlib.artist.Artist.set_clip_path` now accepts a
- :class:`matplotlib.path.Path` instance and a
- :class:`matplotlib.transforms.Transform` that will be applied to
- the path immediately before clipping.
-
-:mod:`matplotlib.collections`
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-============================================================ ============================================================
-Old method New method
-============================================================ ============================================================
-`linestyle` `linestyles` [6]_
-============================================================ ============================================================
-
-.. [6] Linestyles are now treated like all other collection
- attributes, i.e. a single value or multiple values may be
- provided.
-
-:mod:`matplotlib.colors`
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-============================================================ ============================================================
-Old method New method
-============================================================ ============================================================
-`ColorConvertor.to_rgba_list(c)` `ColorConvertor.to_rgba_array(c)`
- [:meth:`matplotlib.colors.ColorConvertor.to_rgba_array`
- returns an Nx4 Numpy array of RGBA color quadruples.]
-============================================================ ============================================================
-
-:mod:`matplotlib.contour`
-~~~~~~~~~~~~~~~~~~~~~~~~~
-
-============================================================ ============================================================
-Old method New method
-============================================================ ============================================================
-`Contour._segments` :meth:`matplotlib.contour.Contour.get_paths`` [Returns a
- list of :class:`matplotlib.path.Path` instances.]
-============================================================ ============================================================
-
-:mod:`matplotlib.figure`
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-============================================================ ============================================================
-Old method New method
-============================================================ ============================================================
-`Figure.dpi.get()` / `Figure.dpi.set()` :attr:`matplotlib.figure.Figure.dpi` *(a property)*
-============================================================ ============================================================
-
-:mod:`matplotlib.patches`
-~~~~~~~~~~~~~~~~~~~~~~~~~
-
-============================================================ ============================================================
-Old method New method
-============================================================ ============================================================
-`Patch.get_verts()` :meth:`matplotlib.patches.Patch.get_path` [Returns a
- :class:`matplotlib.path.Path` instance]
-============================================================ ============================================================
-
-:mod:`matplotlib.backend_bases`
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-============================================================ ============================================================
-Old method New method
-============================================================ ============================================================
-`GraphicsContext.set_clip_rectangle(tuple)` `GraphicsContext.set_clip_rectangle(bbox)`
------------------------------------------------------------- ------------------------------------------------------------
-`GraphicsContext.get_clip_path()` `GraphicsContext.get_clip_path()` [7]_
------------------------------------------------------------- ------------------------------------------------------------
-`GraphicsContext.set_clip_path()` `GraphicsContext.set_clip_path()` [8]_
-============================================================ ============================================================
-
-:class:`~matplotlib.backend_bases.RendererBase`
-```````````````````````````````````````````````
-
-New methods:
-
- * :meth:`draw_path(self, gc, path, transform, rgbFace)
- `
-
- * :meth:`draw_markers(self, gc, marker_path, marker_trans, path,
- trans, rgbFace)
- `
- *[optional]*
-
-Changed methods:
-
- * `draw_image(self, x, y, im, bbox)` is now
- :meth:`draw_image(self, x, y, im, bbox, clippath, clippath_trans)
- `
-
-Removed methods:
-
- * `draw_arc`
-
- * `draw_line_collection`
-
- * `draw_line`
-
- * `draw_lines`
-
- * `draw_point`
-
- * `draw_quad_mesh`
-
- * `draw_poly_collection`
-
- * `draw_polygon`
-
- * `draw_rectangle`
-
- * `draw_regpoly_collection`
-
-.. [7] :meth:`matplotlib.backend_bases.GraphicsContext.get_clip_path`
- returns a tuple of the form (*path*, *affine_transform*), where
- *path* is a :class:`matplotlib.path.Path` instance and
- *affine_transform* is a :class:`matplotlib.transforms.Affine2D`
- instance.
-
-.. [8] :meth:`matplotlib.backend_bases.GraphicsContext.set_clip_path`
- now only accepts a :class:`matplotlib.transforms.TransformedPath`
- instance.
-
-Changes for 0.91.2
-==================
-
-* For :func:`csv2rec`, checkrows=0 is the new default indicating all rows
- will be checked for type inference
-
-* A warning is issued when an image is drawn on log-scaled axes, since
- it will not log-scale the image data.
-
-* Moved :func:`rec2gtk` to :mod:`matplotlib.toolkits.gtktools`
-
-* Moved :func:`rec2excel` to :mod:`matplotlib.toolkits.exceltools`
-
-* Removed, dead/experimental ExampleInfo, Namespace and Importer
- code from :mod:`matplotlib.__init__`
-
-Changes for 0.91.1
-==================
-
-Changes for 0.91.0
-==================
-
-* Changed :func:`cbook.is_file_like` to
- :func:`cbook.is_writable_file_like` and corrected behavior.
-
-* Added ax kwarg to :func:`pyplot.colorbar` and
- :meth:`Figure.colorbar` so that one can specify the axes object from
- which space for the colorbar is to be taken, if one does not want to
- make the colorbar axes manually.
-
-* Changed :func:`cbook.reversed` so it yields a tuple rather than a
- (index, tuple). This agrees with the python reversed builtin,
- and cbook only defines reversed if python doesn't provide the
- builtin.
-
-* Made skiprows=1 the default on :func:`csv2rec`
-
-* The gd and paint backends have been deleted.
-
-* The errorbar method and function now accept additional kwargs
- so that upper and lower limits can be indicated by capping the
- bar with a caret instead of a straight line segment.
-
-* The :mod:`matplotlib.dviread` file now has a parser for files like
- psfonts.map and pdftex.map, to map TeX font names to external files.
-
-* The file :mod:`matplotlib.type1font` contains a new class for Type 1
- fonts. Currently it simply reads pfa and pfb format files and
- stores the data in a way that is suitable for embedding in pdf
- files. In the future the class might actually parse the font to
- allow e.g., subsetting.
-
-* :mod:`matplotlib.FT2Font` now supports :meth:`FT_Attach_File`. In
- practice this can be used to read an afm file in addition to a
- pfa/pfb file, to get metrics and kerning information for a Type 1
- font.
-
-* The :class:`AFM` class now supports querying CapHeight and stem
- widths. The get_name_char method now has an isord kwarg like
- get_width_char.
-
-* Changed :func:`pcolor` default to shading='flat'; but as noted now in the
- docstring, it is preferable to simply use the edgecolor kwarg.
-
-* The mathtext font commands (``\cal``, ``\rm``, ``\it``, ``\tt``) now
- behave as TeX does: they are in effect until the next font change
- command or the end of the grouping. Therefore uses of ``$\cal{R}$``
- should be changed to ``${\cal R}$``. Alternatively, you may use the
- new LaTeX-style font commands (``\mathcal``, ``\mathrm``,
- ``\mathit``, ``\mathtt``) which do affect the following group,
- e.g., ``$\mathcal{R}$``.
-
-* Text creation commands have a new default linespacing and a new
- ``linespacing`` kwarg, which is a multiple of the maximum vertical
- extent of a line of ordinary text. The default is 1.2;
- ``linespacing=2`` would be like ordinary double spacing, for example.
-
-* Changed default kwarg in
- :meth:`matplotlib.colors.Normalize.__init__`` to ``clip=False``;
- clipping silently defeats the purpose of the special over, under,
- and bad values in the colormap, thereby leading to unexpected
- behavior. The new default should reduce such surprises.
-
-* Made the emit property of :meth:`~matplotlib.axes.Axes.set_xlim` and
- :meth:`~matplotlib.axes.Axes.set_ylim` ``True`` by default; removed
- the Axes custom callback handling into a 'callbacks' attribute which
- is a :class:`~matplotlib.cbook.CallbackRegistry` instance. This now
- supports the 'xlim_changed' and 'ylim_changed' Axes events.
-
-Changes for 0.90.1
-==================
-
-::
-
- The file dviread.py has a (very limited and fragile) dvi reader
- for usetex support. The API might change in the future so don't
- depend on it yet.
-
- Removed deprecated support for a float value as a gray-scale;
- now it must be a string, like '0.5'. Added alpha kwarg to
- ColorConverter.to_rgba_list.
-
- New method set_bounds(vmin, vmax) for formatters, locators sets
- the viewInterval and dataInterval from floats.
-
- Removed deprecated colorbar_classic.
-
- Line2D.get_xdata and get_ydata valid_only=False kwarg is replaced
- by orig=True. When True, it returns the original data, otherwise
- the processed data (masked, converted)
-
- Some modifications to the units interface.
- units.ConversionInterface.tickers renamed to
- units.ConversionInterface.axisinfo and it now returns a
- units.AxisInfo object rather than a tuple. This will make it
- easier to add axis info functionality (eg I added a default label
- on this iteration) w/o having to change the tuple length and hence
- the API of the client code every time new functionality is added.
- Also, units.ConversionInterface.convert_to_value is now simply
- named units.ConversionInterface.convert.
-
- Axes.errorbar uses Axes.vlines and Axes.hlines to draw its error
- limits int he vertical and horizontal direction. As you'll see
- in the changes below, these functions now return a LineCollection
- rather than a list of lines. The new return signature for
- errorbar is ylins, caplines, errorcollections where
- errorcollections is a xerrcollection, yerrcollection
-
- Axes.vlines and Axes.hlines now create and returns a LineCollection, not a list
- of lines. This is much faster. The kwarg signature has changed,
- so consult the docs
-
- MaxNLocator accepts a new Boolean kwarg ('integer') to force
- ticks to integer locations.
-
- Commands that pass an argument to the Text constructor or to
- Text.set_text() now accept any object that can be converted
- with '%s'. This affects xlabel(), title(), etc.
-
- Barh now takes a **kwargs dict instead of most of the old
- arguments. This helps ensure that bar and barh are kept in sync,
- but as a side effect you can no longer pass e.g., color as a
- positional argument.
-
- ft2font.get_charmap() now returns a dict that maps character codes
- to glyph indices (until now it was reversed)
-
- Moved data files into lib/matplotlib so that setuptools' develop
- mode works. Re-organized the mpl-data layout so that this source
- structure is maintained in the installation. (I.e. the 'fonts' and
- 'images' sub-directories are maintained in site-packages.).
- Suggest removing site-packages/matplotlib/mpl-data and
- ~/.matplotlib/ttffont.cache before installing
-
-Changes for 0.90.0
-==================
-
-::
-
- All artists now implement a "pick" method which users should not
- call. Rather, set the "picker" property of any artist you want to
- pick on (the epsilon distance in points for a hit test) and
- register with the "pick_event" callback. See
- examples/pick_event_demo.py for details
-
- Bar, barh, and hist have "log" binary kwarg: log=True
- sets the ordinate to a log scale.
-
- Boxplot can handle a list of vectors instead of just
- an array, so vectors can have different lengths.
-
- Plot can handle 2-D x and/or y; it plots the columns.
-
- Added linewidth kwarg to bar and barh.
-
- Made the default Artist._transform None (rather than invoking
- identity_transform for each artist only to have it overridden
- later). Use artist.get_transform() rather than artist._transform,
- even in derived classes, so that the default transform will be
- created lazily as needed
-
- New LogNorm subclass of Normalize added to colors.py.
- All Normalize subclasses have new inverse() method, and
- the __call__() method has a new clip kwarg.
-
- Changed class names in colors.py to match convention:
- normalize -> Normalize, no_norm -> NoNorm. Old names
- are still available for now.
-
- Removed obsolete pcolor_classic command and method.
-
- Removed lineprops and markerprops from the Annotation code and
- replaced them with an arrow configurable with kwarg arrowprops.
- See examples/annotation_demo.py - JDH
-
-Changes for 0.87.7
-==================
-
-::
-
- Completely reworked the annotations API because I found the old
- API cumbersome. The new design is much more legible and easy to
- read. See matplotlib.text.Annotation and
- examples/annotation_demo.py
-
- markeredgecolor and markerfacecolor cannot be configured in
- matplotlibrc any more. Instead, markers are generally colored
- automatically based on the color of the line, unless marker colors
- are explicitly set as kwargs - NN
-
- Changed default comment character for load to '#' - JDH
-
- math_parse_s_ft2font_svg from mathtext.py & mathtext2.py now returns
- width, height, svg_elements. svg_elements is an instance of Bunch (
- cmbook.py) and has the attributes svg_glyphs and svg_lines, which are both
- lists.
-
- Renderer.draw_arc now takes an additional parameter, rotation.
- It specifies to draw the artist rotated in degrees anti-
- clockwise. It was added for rotated ellipses.
-
- Renamed Figure.set_figsize_inches to Figure.set_size_inches to
- better match the get method, Figure.get_size_inches.
-
- Removed the copy_bbox_transform from transforms.py; added
- shallowcopy methods to all transforms. All transforms already
- had deepcopy methods.
-
- FigureManager.resize(width, height): resize the window
- specified in pixels
-
- barh: x and y args have been renamed to width and bottom
- respectively, and their order has been swapped to maintain
- a (position, value) order.
-
- bar and barh: now accept kwarg 'edgecolor'.
-
- bar and barh: The left, height, width and bottom args can
- now all be scalars or sequences; see docstring.
-
- barh: now defaults to edge aligned instead of center
- aligned bars
-
- bar, barh and hist: Added a keyword arg 'align' that
- controls between edge or center bar alignment.
-
- Collections: PolyCollection and LineCollection now accept
- vertices or segments either in the original form [(x,y),
- (x,y), ...] or as a 2D numerix array, with X as the first column
- and Y as the second. Contour and quiver output the numerix
- form. The transforms methods Bbox.update() and
- Transformation.seq_xy_tups() now accept either form.
-
- Collections: LineCollection is now a ScalarMappable like
- PolyCollection, etc.
-
- Specifying a grayscale color as a float is deprecated; use
- a string instead, e.g., 0.75 -> '0.75'.
-
- Collections: initializers now accept any mpl color arg, or
- sequence of such args; previously only a sequence of rgba
- tuples was accepted.
-
- Colorbar: completely new version and api; see docstring. The
- original version is still accessible as colorbar_classic, but
- is deprecated.
-
- Contourf: "extend" kwarg replaces "clip_ends"; see docstring.
- Masked array support added to pcolormesh.
-
- Modified aspect-ratio handling:
- Removed aspect kwarg from imshow
- Axes methods:
- set_aspect(self, aspect, adjustable=None, anchor=None)
- set_adjustable(self, adjustable)
- set_anchor(self, anchor)
- Pylab interface:
- axis('image')
-
- Backend developers: ft2font's load_char now takes a flags
- argument, which you can OR together from the LOAD_XXX
- constants.
-
-Changes for 0.86
-================
-
-::
-
- Matplotlib data is installed into the matplotlib module.
- This is similar to package_data. This should get rid of
- having to check for many possibilities in _get_data_path().
- The MATPLOTLIBDATA env key is still checked first to allow
- for flexibility.
-
- 1) Separated the color table data from cm.py out into
- a new file, _cm.py, to make it easier to find the actual
- code in cm.py and to add new colormaps. Everything
- from _cm.py is imported by cm.py, so the split should be
- transparent.
- 2) Enabled automatic generation of a colormap from
- a list of colors in contour; see modified
- examples/contour_demo.py.
- 3) Support for imshow of a masked array, with the
- ability to specify colors (or no color at all) for
- masked regions, and for regions that are above or
- below the normally mapped region. See
- examples/image_masked.py.
- 4) In support of the above, added two new classes,
- ListedColormap, and no_norm, to colors.py, and modified
- the Colormap class to include common functionality. Added
- a clip kwarg to the normalize class.
-
-Changes for 0.85
-================
-
-::
-
- Made xtick and ytick separate props in rc
-
- made pos=None the default for tick formatters rather than 0 to
- indicate "not supplied"
-
- Removed "feature" of minor ticks which prevents them from
- overlapping major ticks. Often you want major and minor ticks at
- the same place, and can offset the major ticks with the pad. This
- could be made configurable
-
- Changed the internal structure of contour.py to a more OO style.
- Calls to contour or contourf in axes.py or pylab.py now return
- a ContourSet object which contains references to the
- LineCollections or PolyCollections created by the call,
- as well as the configuration variables that were used.
- The ContourSet object is a "mappable" if a colormap was used.
-
- Added a clip_ends kwarg to contourf. From the docstring:
- * clip_ends = True
- If False, the limits for color scaling are set to the
- minimum and maximum contour levels.
- True (default) clips the scaling limits. Example:
- if the contour boundaries are V = [-100, 2, 1, 0, 1, 2, 100],
- then the scaling limits will be [-100, 100] if clip_ends
- is False, and [-3, 3] if clip_ends is True.
- Added kwargs linewidths, antialiased, and nchunk to contourf. These
- are experimental; see the docstring.
-
- Changed Figure.colorbar():
- kw argument order changed;
- if mappable arg is a non-filled ContourSet, colorbar() shows
- lines instead hof polygons.
- if mappable arg is a filled ContourSet with clip_ends=True,
- the endpoints are not labelled, so as to give the
- correct impression of open-endedness.
-
- Changed LineCollection.get_linewidths to get_linewidth, for
- consistency.
-
-
-Changes for 0.84
-================
-
-::
-
- Unified argument handling between hlines and vlines. Both now
- take optionally a fmt argument (as in plot) and a keyword args
- that can be passed onto Line2D.
-
- Removed all references to "data clipping" in rc and lines.py since
- these were not used and not optimized. I'm sure they'll be
- resurrected later with a better implementation when needed.
-
- 'set' removed - no more deprecation warnings. Use 'setp' instead.
-
- Backend developers: Added flipud method to image and removed it
- from to_str. Removed origin kwarg from backend.draw_image.
- origin is handled entirely by the frontend now.
-
-Changes for 0.83
-================
-
-::
-
- - Made HOME/.matplotlib the new config dir where the matplotlibrc
- file, the ttf.cache, and the tex.cache live. The new default
- filenames in .matplotlib have no leading dot and are not hidden.
- e.g., the new names are matplotlibrc, tex.cache, and ttffont.cache.
- This is how ipython does it so it must be right.
-
- If old files are found, a warning is issued and they are moved to
- the new location.
-
- - backends/__init__.py no longer imports new_figure_manager,
- draw_if_interactive and show from the default backend, but puts
- these imports into a call to pylab_setup. Also, the Toolbar is no
- longer imported from WX/WXAgg. New usage:
-
- from backends import pylab_setup
- new_figure_manager, draw_if_interactive, show = pylab_setup()
-
- - Moved Figure.get_width_height() to FigureCanvasBase. It now
- returns int instead of float.
-
-Changes for 0.82
-================
-
-::
-
- - toolbar import change in GTKAgg, GTKCairo and WXAgg
-
- - Added subplot config tool to GTK* backends -- note you must now
- import the NavigationToolbar2 from your backend of choice rather
- than from backend_gtk because it needs to know about the backend
- specific canvas -- see examples/embedding_in_gtk2.py. Ditto for
- wx backend -- see examples/embedding_in_wxagg.py
-
-
- - hist bin change
-
- Sean Richards notes there was a problem in the way we created
- the binning for histogram, which made the last bin
- underrepresented. From his post:
-
- I see that hist uses the linspace function to create the bins
- and then uses searchsorted to put the values in their correct
- bin. That's all good but I am confused over the use of linspace
- for the bin creation. I wouldn't have thought that it does
- what is needed, to quote the docstring it creates a "Linear
- spaced array from min to max". For it to work correctly
- shouldn't the values in the bins array be the same bound for
- each bin? (i.e. each value should be the lower bound of a
- bin). To provide the correct bins for hist would it not be
- something like
-
- def bins(xmin, xmax, N):
- if N==1: return xmax
- dx = (xmax-xmin)/N # instead of N-1
- return xmin + dx*arange(N)
-
-
- This suggestion is implemented in 0.81. My test script with these
- changes does not reveal any bias in the binning
-
- from matplotlib.numerix.mlab import randn, rand, zeros, Float
- from matplotlib.mlab import hist, mean
-
- Nbins = 50
- Ntests = 200
- results = zeros((Ntests,Nbins), typecode=Float)
- for i in range(Ntests):
- print 'computing', i
- x = rand(10000)
- n, bins = hist(x, Nbins)
- results[i] = n
- print mean(results)
-
-
-Changes for 0.81
-================
-
-::
-
- - pylab and artist "set" functions renamed to setp to avoid clash
- with python2.4 built-in set. Current version will issue a
- deprecation warning which will be removed in future versions
-
- - imshow interpolation arguments changes for advanced interpolation
- schemes. See help imshow, particularly the interpolation,
- filternorm and filterrad kwargs
-
- - Support for masked arrays has been added to the plot command and
- to the Line2D object. Only the valid points are plotted. A
- "valid_only" kwarg was added to the get_xdata() and get_ydata()
- methods of Line2D; by default it is False, so that the original
- data arrays are returned. Setting it to True returns the plottable
- points.
-
- - contour changes:
-
- Masked arrays: contour and contourf now accept masked arrays as
- the variable to be contoured. Masking works correctly for
- contour, but a bug remains to be fixed before it will work for
- contourf. The "badmask" kwarg has been removed from both
- functions.
-
- Level argument changes:
-
- Old version: a list of levels as one of the positional
- arguments specified the lower bound of each filled region; the
- upper bound of the last region was taken as a very large
- number. Hence, it was not possible to specify that z values
- between 0 and 1, for example, be filled, and that values
- outside that range remain unfilled.
-
- New version: a list of N levels is taken as specifying the
- boundaries of N-1 z ranges. Now the user has more control over
- what is colored and what is not. Repeated calls to contourf
- (with different colormaps or color specifications, for example)
- can be used to color different ranges of z. Values of z
- outside an expected range are left uncolored.
-
- Example:
- Old: contourf(z, [0, 1, 2]) would yield 3 regions: 0-1, 1-2, and >2.
- New: it would yield 2 regions: 0-1, 1-2. If the same 3 regions were
- desired, the equivalent list of levels would be [0, 1, 2,
- 1e38].
-
-Changes for 0.80
-================
-
-::
-
- - xlim/ylim/axis always return the new limits regardless of
- arguments. They now take kwargs which allow you to selectively
- change the upper or lower limits while leaving unnamed limits
- unchanged. See help(xlim) for example
-
-Changes for 0.73
-================
-
-::
-
- - Removed deprecated ColormapJet and friends
-
- - Removed all error handling from the verbose object
-
- - figure num of zero is now allowed
-
-Changes for 0.72
-================
-
-::
-
- - Line2D, Text, and Patch copy_properties renamed update_from and
- moved into artist base class
-
- - LineCollecitons.color renamed to LineCollections.set_color for
- consistency with set/get introspection mechanism,
-
- - pylab figure now defaults to num=None, which creates a new figure
- with a guaranteed unique number
-
- - contour method syntax changed - now it is MATLAB compatible
-
- unchanged: contour(Z)
- old: contour(Z, x=Y, y=Y)
- new: contour(X, Y, Z)
-
- see http://matplotlib.sf.net/matplotlib.pylab.html#-contour
-
-
- - Increased the default resolution for save command.
-
- - Renamed the base attribute of the ticker classes to _base to avoid conflict
- with the base method. Sitt for subs
-
- - subs=none now does autosubbing in the tick locator.
-
- - New subplots that overlap old will delete the old axes. If you
- do not want this behavior, use fig.add_subplot or the axes
- command
-
-Changes for 0.71
-================
-
-::
-
- Significant numerix namespace changes, introduced to resolve
- namespace clashes between python built-ins and mlab names.
- Refactored numerix to maintain separate modules, rather than
- folding all these names into a single namespace. See the following
- mailing list threads for more information and background
-
- http://sourceforge.net/mailarchive/forum.php?thread_id=6398890&forum_id=36187
- http://sourceforge.net/mailarchive/forum.php?thread_id=6323208&forum_id=36187
-
-
- OLD usage
-
- from matplotlib.numerix import array, mean, fft
-
- NEW usage
-
- from matplotlib.numerix import array
- from matplotlib.numerix.mlab import mean
- from matplotlib.numerix.fft import fft
-
- numerix dir structure mirrors numarray (though it is an incomplete
- implementation)
-
- numerix
- numerix/mlab
- numerix/linear_algebra
- numerix/fft
- numerix/random_array
-
- but of course you can use 'numerix : Numeric' and still get the
- symbols.
-
- pylab still imports most of the symbols from Numerix, MLab, fft,
- etc, but is more cautious. For names that clash with python names
- (min, max, sum), pylab keeps the builtins and provides the numeric
- versions with an a* prefix, eg (amin, amax, asum)
-
-Changes for 0.70
-================
-
-::
-
- MplEvent factored into a base class Event and derived classes
- MouseEvent and KeyEvent
-
- Removed definct set_measurement in wx toolbar
-
-Changes for 0.65.1
-==================
-
-::
-
- removed add_axes and add_subplot from backend_bases. Use
- figure.add_axes and add_subplot instead. The figure now manages the
- current axes with gca and sca for get and set current axes. If you
- have code you are porting which called, eg, figmanager.add_axes, you
- can now simply do figmanager.canvas.figure.add_axes.
-
-Changes for 0.65
-================
-
-::
-
-
- mpl_connect and mpl_disconnect in the MATLAB interface renamed to
- connect and disconnect
-
- Did away with the text methods for angle since they were ambiguous.
- fontangle could mean fontstyle (obligue, etc) or the rotation of the
- text. Use style and rotation instead.
-
-Changes for 0.63
-================
-
-::
-
- Dates are now represented internally as float days since 0001-01-01,
- UTC.
-
- All date tickers and formatters are now in matplotlib.dates, rather
- than matplotlib.tickers
-
- converters have been abolished from all functions and classes.
- num2date and date2num are now the converter functions for all date
- plots
-
- Most of the date tick locators have a different meaning in their
- constructors. In the prior implementation, the first argument was a
- base and multiples of the base were ticked. e.g.,
-
- HourLocator(5) # old: tick every 5 minutes
-
- In the new implementation, the explicit points you want to tick are
- provided as a number or sequence
-
- HourLocator(range(0,5,61)) # new: tick every 5 minutes
-
- This gives much greater flexibility. I have tried to make the
- default constructors (no args) behave similarly, where possible.
-
- Note that YearLocator still works under the base/multiple scheme.
- The difference between the YearLocator and the other locators is
- that years are not recurrent.
-
-
- Financial functions:
-
- matplotlib.finance.quotes_historical_yahoo(ticker, date1, date2)
-
- date1, date2 are now datetime instances. Return value is a list
- of quotes where the quote time is a float - days since gregorian
- start, as returned by date2num
-
- See examples/finance_demo.py for example usage of new API
-
-Changes for 0.61
-================
-
-::
-
- canvas.connect is now deprecated for event handling. use
- mpl_connect and mpl_disconnect instead. The callback signature is
- func(event) rather than func(widget, event)
-
-Changes for 0.60
-================
-
-::
-
- ColormapJet and Grayscale are deprecated. For backwards
- compatibility, they can be obtained either by doing
-
- from matplotlib.cm import ColormapJet
-
- or
-
- from matplotlib.matlab import *
-
- They are replaced by cm.jet and cm.grey
-
-Changes for 0.54.3
-==================
-
-::
-
- removed the set_default_font / get_default_font scheme from the
- font_manager to unify customization of font defaults with the rest of
- the rc scheme. See examples/font_properties_demo.py and help(rc) in
- matplotlib.matlab.
-
-Changes for 0.54
-================
-
-MATLAB interface
-----------------
-
-dpi
-~~~
-
-Several of the backends used a PIXELS_PER_INCH hack that I added to
-try and make images render consistently across backends. This just
-complicated matters. So you may find that some font sizes and line
-widths appear different than before. Apologies for the
-inconvenience. You should set the dpi to an accurate value for your
-screen to get true sizes.
-
-
-pcolor and scatter
-~~~~~~~~~~~~~~~~~~
-
-There are two changes to the MATLAB interface API, both involving the
-patch drawing commands. For efficiency, pcolor and scatter have been
-rewritten to use polygon collections, which are a new set of objects
-from matplotlib.collections designed to enable efficient handling of
-large collections of objects. These new collections make it possible
-to build large scatter plots or pcolor plots with no loops at the
-python level, and are significantly faster than their predecessors.
-The original pcolor and scatter functions are retained as
-pcolor_classic and scatter_classic.
-
-The return value from pcolor is a PolyCollection. Most of the
-propertes that are available on rectangles or other patches are also
-available on PolyCollections, eg you can say::
-
- c = scatter(blah, blah)
- c.set_linewidth(1.0)
- c.set_facecolor('r')
- c.set_alpha(0.5)
-
-or::
-
- c = scatter(blah, blah)
- set(c, 'linewidth', 1.0, 'facecolor', 'r', 'alpha', 0.5)
-
-
-Because the collection is a single object, you no longer need to loop
-over the return value of scatter or pcolor to set properties for the
-entire list.
-
-If you want the different elements of a collection to vary on a
-property, eg to have different line widths, see matplotlib.collections
-for a discussion on how to set the properties as a sequence.
-
-For scatter, the size argument is now in points^2 (the area of the
-symbol in points) as in MATLAB and is not in data coords as before.
-Using sizes in data coords caused several problems. So you will need
-to adjust your size arguments accordingly or use scatter_classic.
-
-mathtext spacing
-~~~~~~~~~~~~~~~~
-
-For reasons not clear to me (and which I'll eventually fix) spacing no
-longer works in font groups. However, I added three new spacing
-commands which compensate for this '\ ' (regular space), '\/' (small
-space) and '\hspace{frac}' where frac is a fraction of fontsize in
-points. You will need to quote spaces in font strings, is::
-
- title(r'$\rm{Histogram\ of\ IQ:}\ \mu=100,\ \sigma=15$')
-
-
-
-Object interface - Application programmers
-------------------------------------------
-
-Autoscaling
-~~~~~~~~~~~
-
- The x and y axis instances no longer have autoscale view. These are
- handled by axes.autoscale_view
-
-Axes creation
-~~~~~~~~~~~~~
-
- You should not instantiate your own Axes any more using the OO API.
- Rather, create a Figure as before and in place of::
-
- f = Figure(figsize=(5,4), dpi=100)
- a = Subplot(f, 111)
- f.add_axis(a)
-
- use::
-
- f = Figure(figsize=(5,4), dpi=100)
- a = f.add_subplot(111)
-
- That is, add_axis no longer exists and is replaced by::
-
- add_axes(rect, axisbg=defaultcolor, frameon=True)
- add_subplot(num, axisbg=defaultcolor, frameon=True)
-
-Artist methods
-~~~~~~~~~~~~~~
-
- If you define your own Artists, you need to rename the _draw method
- to draw
-
-Bounding boxes
-~~~~~~~~~~~~~~
-
- matplotlib.transforms.Bound2D is replaced by
- matplotlib.transforms.Bbox. If you want to construct a bbox from
- left, bottom, width, height (the signature for Bound2D), use
- matplotlib.transforms.lbwh_to_bbox, as in
-
- bbox = clickBBox = lbwh_to_bbox(left, bottom, width, height)
-
- The Bbox has a different API than the Bound2D. e.g., if you want to
- get the width and height of the bbox
-
- OLD::
- width = fig.bbox.x.interval()
- height = fig.bbox.y.interval()
-
- New::
- width = fig.bbox.width()
- height = fig.bbox.height()
-
-
-
-
-Object constructors
-~~~~~~~~~~~~~~~~~~~
-
- You no longer pass the bbox, dpi, or transforms to the various
- Artist constructors. The old way or creating lines and rectangles
- was cumbersome because you had to pass so many attributes to the
- Line2D and Rectangle classes not related directly to the geometry
- and properties of the object. Now default values are added to the
- object when you call axes.add_line or axes.add_patch, so they are
- hidden from the user.
-
- If you want to define a custom transformation on these objects, call
- o.set_transform(trans) where trans is a Transformation instance.
-
- In prior versions of you wanted to add a custom line in data coords,
- you would have to do
-
- l = Line2D(dpi, bbox, x, y,
- color = color,
- transx = transx,
- transy = transy,
- )
-
- now all you need is
-
- l = Line2D(x, y, color=color)
-
- and the axes will set the transformation for you (unless you have
- set your own already, in which case it will eave it unchanged)
-
-Transformations
-~~~~~~~~~~~~~~~
-
- The entire transformation architecture has been rewritten.
- Previously the x and y transformations where stored in the xaxis and
- yaxis instances. The problem with this approach is it only allows
- for separable transforms (where the x and y transformations don't
- depend on one another). But for cases like polar, they do. Now
- transformations operate on x,y together. There is a new base class
- matplotlib.transforms.Transformation and two concrete
- implementations, matplotlib.transforms.SeparableTransformation and
- matplotlib.transforms.Affine. The SeparableTransformation is
- constructed with the bounding box of the input (this determines the
- rectangular coordinate system of the input, ie the x and y view
- limits), the bounding box of the display, and possibly nonlinear
- transformations of x and y. The 2 most frequently used
- transformations, data coordinates -> display and axes coordinates ->
- display are available as ax.transData and ax.transAxes. See
- alignment_demo.py which uses axes coords.
-
- Also, the transformations should be much faster now, for two reasons
-
- * they are written entirely in extension code
-
- * because they operate on x and y together, they can do the entire
- transformation in one loop. Earlier I did something along the
- lines of::
-
- xt = sx*func(x) + tx
- yt = sy*func(y) + ty
-
- Although this was done in numerix, it still involves 6 length(x)
- for-loops (the multiply, add, and function evaluation each for x
- and y). Now all of that is done in a single pass.
-
-
- If you are using transformations and bounding boxes to get the
- cursor position in data coordinates, the method calls are a little
- different now. See the updated examples/coords_demo.py which shows
- you how to do this.
-
- Likewise, if you are using the artist bounding boxes to pick items
- on the canvas with the GUI, the bbox methods are somewhat
- different. You will need to see the updated
- examples/object_picker.py.
-
- See unit/transforms_unit.py for many examples using the new
- transformations.
-
-
-Changes for 0.50
-================
-
-::
-
- * refactored Figure class so it is no longer backend dependent.
- FigureCanvasBackend takes over the backend specific duties of the
- Figure. matplotlib.backend_bases.FigureBase moved to
- matplotlib.figure.Figure.
-
- * backends must implement FigureCanvasBackend (the thing that
- controls the figure and handles the events if any) and
- FigureManagerBackend (wraps the canvas and the window for MATLAB
- interface). FigureCanvasBase implements a backend switching
- mechanism
-
- * Figure is now an Artist (like everything else in the figure) and
- is totally backend independent
-
- * GDFONTPATH renamed to TTFPATH
-
- * backend faceColor argument changed to rgbFace
-
- * colormap stuff moved to colors.py
-
- * arg_to_rgb in backend_bases moved to class ColorConverter in
- colors.py
-
- * GD users must upgrade to gd-2.0.22 and gdmodule-0.52 since new gd
- features (clipping, antialiased lines) are now used.
-
- * Renderer must implement points_to_pixels
-
- Migrating code:
-
- MATLAB interface:
-
- The only API change for those using the MATLAB interface is in how
- you call figure redraws for dynamically updating figures. In the
- old API, you did
-
- fig.draw()
-
- In the new API, you do
-
- manager = get_current_fig_manager()
- manager.canvas.draw()
-
- See the examples system_monitor.py, dynamic_demo.py, and anim.py
-
- API
-
- There is one important API change for application developers.
- Figure instances used subclass GUI widgets that enabled them to be
- placed directly into figures. e.g., FigureGTK subclassed
- gtk.DrawingArea. Now the Figure class is independent of the
- backend, and FigureCanvas takes over the functionality formerly
- handled by Figure. In order to include figures into your apps,
- you now need to do, for example
-
- # gtk example
- fig = Figure(figsize=(5,4), dpi=100)
- canvas = FigureCanvasGTK(fig) # a gtk.DrawingArea
- canvas.show()
- vbox.pack_start(canvas)
-
- If you use the NavigationToolbar, this in now intialized with a
- FigureCanvas, not a Figure. The examples embedding_in_gtk.py,
- embedding_in_gtk2.py, and mpl_with_glade.py all reflect the new
- API so use these as a guide.
-
- All prior calls to
-
- figure.draw() and
- figure.print_figure(args)
-
- should now be
-
- canvas.draw() and
- canvas.print_figure(args)
-
- Apologies for the inconvenience. This refactorization brings
- significant more freedom in developing matplotlib and should bring
- better plotting capabilities, so I hope the inconvenience is worth
- it.
-
-Changes for 0.42
-================
-
-::
-
- * Refactoring AxisText to be backend independent. Text drawing and
- get_window_extent functionality will be moved to the Renderer.
-
- * backend_bases.AxisTextBase is now text.Text module
-
- * All the erase and reset functionality removed from AxisText - not
- needed with double buffered drawing. Ditto with state change.
- Text instances have a get_prop_tup method that returns a hashable
- tuple of text properties which you can use to see if text props
- have changed, eg by caching a font or layout instance in a dict
- with the prop tup as a key -- see RendererGTK.get_pango_layout in
- backend_gtk for an example.
-
- * Text._get_xy_display renamed Text.get_xy_display
-
- * Artist set_renderer and wash_brushes methods removed
-
- * Moved Legend class from matplotlib.axes into matplotlib.legend
-
- * Moved Tick, XTick, YTick, Axis, XAxis, YAxis from matplotlib.axes
- to matplotlib.axis
-
- * moved process_text_args to matplotlib.text
-
- * After getting Text handled in a backend independent fashion, the
- import process is much cleaner since there are no longer cyclic
- dependencies
-
- * matplotlib.matlab._get_current_fig_manager renamed to
- matplotlib.matlab.get_current_fig_manager to allow user access to
- the GUI window attribute, eg figManager.window for GTK and
- figManager.frame for wx
-
-Changes for 0.40
-================
-
-::
-
- - Artist
- * __init__ takes a DPI instance and a Bound2D instance which is
- the bounding box of the artist in display coords
- * get_window_extent returns a Bound2D instance
- * set_size is removed; replaced by bbox and dpi
- * the clip_gc method is removed. Artists now clip themselves with
- their box
- * added _clipOn boolean attribute. If True, gc clip to bbox.
-
- - AxisTextBase
- * Initialized with a transx, transy which are Transform instances
- * set_drawing_area removed
- * get_left_right and get_top_bottom are replaced by get_window_extent
-
- - Line2D Patches now take transx, transy
- * Initialized with a transx, transy which are Transform instances
-
- - Patches
- * Initialized with a transx, transy which are Transform instances
-
- - FigureBase attributes dpi is a DPI intance rather than scalar and
- new attribute bbox is a Bound2D in display coords, and I got rid
- of the left, width, height, etc... attributes. These are now
- accessible as, for example, bbox.x.min is left, bbox.x.interval()
- is width, bbox.y.max is top, etc...
-
- - GcfBase attribute pagesize renamed to figsize
-
- - Axes
- * removed figbg attribute
- * added fig instance to __init__
- * resizing is handled by figure call to resize.
-
- - Subplot
- * added fig instance to __init__
-
- - Renderer methods for patches now take gcEdge and gcFace instances.
- gcFace=None takes the place of filled=False
-
- - True and False symbols provided by cbook in a python2.3 compatible
- way
-
- - new module transforms supplies Bound1D, Bound2D and Transform
- instances and more
-
- - Changes to the MATLAB helpers API
-
- * _matlab_helpers.GcfBase is renamed by Gcf. Backends no longer
- need to derive from this class. Instead, they provide a factory
- function new_figure_manager(num, figsize, dpi). The destroy
- method of the GcfDerived from the backends is moved to the derived
- FigureManager.
-
- * FigureManagerBase moved to backend_bases
-
- * Gcf.get_all_figwins renamed to Gcf.get_all_fig_managers
-
- Jeremy:
-
- Make sure to self._reset = False in AxisTextWX._set_font. This was
- something missing in my backend code.
diff --git a/dev/_sources/api/artist_api.txt b/dev/_sources/api/artist_api.txt
deleted file mode 100644
index 2ec41bb5c94..00000000000
--- a/dev/_sources/api/artist_api.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-.. _artist-api:
-
-*******
-artists
-*******
-
-.. inheritance-diagram:: matplotlib.patches matplotlib.lines matplotlib.text
- :parts: 2
-
-:mod:`matplotlib.artist`
-=============================
-
-.. automodule:: matplotlib.artist
- :members:
- :undoc-members:
- :show-inheritance:
-
-
-:mod:`matplotlib.lines`
-=============================
-
-.. automodule:: matplotlib.lines
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`matplotlib.patches`
-=============================
-
-.. automodule:: matplotlib.patches
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`matplotlib.text`
-=============================
-
-.. automodule:: matplotlib.text
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/axes_api.txt b/dev/_sources/api/axes_api.txt
deleted file mode 100644
index d8b5596c291..00000000000
--- a/dev/_sources/api/axes_api.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-****
-axes
-****
-
-
-:mod:`matplotlib.axes`
-======================
-
-.. automodule:: matplotlib.axes
- :members:
- :undoc-members:
- :show-inheritance:
-
diff --git a/dev/_sources/api/axis_api.txt b/dev/_sources/api/axis_api.txt
deleted file mode 100644
index 426f0c873df..00000000000
--- a/dev/_sources/api/axis_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-****
-axis
-****
-
-
-:mod:`matplotlib.axis`
-======================
-
-.. automodule:: matplotlib.axis
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/backend_bases_api.txt b/dev/_sources/api/backend_bases_api.txt
deleted file mode 100644
index 990a1a091f8..00000000000
--- a/dev/_sources/api/backend_bases_api.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-
-:mod:`matplotlib.backend_bases`
-================================
-
-.. automodule:: matplotlib.backend_bases
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/backend_gtkagg_api.txt b/dev/_sources/api/backend_gtkagg_api.txt
deleted file mode 100644
index f5a37bf4d34..00000000000
--- a/dev/_sources/api/backend_gtkagg_api.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-
-:mod:`matplotlib.backends.backend_gtkagg`
-=========================================
-
-**TODO** We'll add this later, importing the gtk backends requires an active
-X-session, which is not compatible with cron jobs.
-
-.. .. automodule:: matplotlib.backends.backend_gtkagg
-.. :members:
-.. :undoc-members:
-.. :show-inheritance:
diff --git a/dev/_sources/api/backend_pdf_api.txt b/dev/_sources/api/backend_pdf_api.txt
deleted file mode 100644
index 115863d6187..00000000000
--- a/dev/_sources/api/backend_pdf_api.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-
-:mod:`matplotlib.backends.backend_pdf`
-======================================
-
-.. automodule:: matplotlib.backends.backend_pdf
- :members:
- :show-inheritance:
diff --git a/dev/_sources/api/backend_qt4agg_api.txt b/dev/_sources/api/backend_qt4agg_api.txt
deleted file mode 100644
index 2e2e852612c..00000000000
--- a/dev/_sources/api/backend_qt4agg_api.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-:mod:`matplotlib.backends.backend_qt4agg`
-=========================================
-
-.. automodule:: matplotlib.backends.backend_qt4agg
- :members:
- :undoc-members:
- :show-inheritance:
-
diff --git a/dev/_sources/api/backend_wxagg_api.txt b/dev/_sources/api/backend_wxagg_api.txt
deleted file mode 100644
index 67c5a00be54..00000000000
--- a/dev/_sources/api/backend_wxagg_api.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-
-:mod:`matplotlib.backends.backend_wxagg`
-========================================
-
-.. automodule:: matplotlib.backends.backend_wxagg
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/cbook_api.txt b/dev/_sources/api/cbook_api.txt
deleted file mode 100644
index 7c133ce8fdd..00000000000
--- a/dev/_sources/api/cbook_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-*****
-cbook
-*****
-
-
-:mod:`matplotlib.cbook`
-=======================
-
-.. automodule:: matplotlib.cbook
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/cm_api.txt b/dev/_sources/api/cm_api.txt
deleted file mode 100644
index 6cf4a262a62..00000000000
--- a/dev/_sources/api/cm_api.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-*************
-cm (colormap)
-*************
-
-:mod:`matplotlib.cm`
-====================
-
-.. automodule:: matplotlib.cm
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/collections_api.txt b/dev/_sources/api/collections_api.txt
deleted file mode 100644
index 8f3f92c4e75..00000000000
--- a/dev/_sources/api/collections_api.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-***********
-collections
-***********
-
-.. inheritance-diagram:: matplotlib.collections
- :parts: 2
-
-:mod:`matplotlib.collections`
-=============================
-
-.. automodule:: matplotlib.collections
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/colorbar_api.txt b/dev/_sources/api/colorbar_api.txt
deleted file mode 100644
index 26714dcebd3..00000000000
--- a/dev/_sources/api/colorbar_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-********
-colorbar
-********
-
-
-:mod:`matplotlib.colorbar`
-==========================
-
-.. automodule:: matplotlib.colorbar
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/colors_api.txt b/dev/_sources/api/colors_api.txt
deleted file mode 100644
index bd577af02ed..00000000000
--- a/dev/_sources/api/colors_api.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-******
-colors
-******
-
-For a visual representation of the matplotlib colormaps, see the
-"Color" section in the gallery.
-
-
-:mod:`matplotlib.colors`
-========================
-
-.. automodule:: matplotlib.colors
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/dates_api.txt b/dev/_sources/api/dates_api.txt
deleted file mode 100644
index 6d9d8dd529b..00000000000
--- a/dev/_sources/api/dates_api.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-*****
-dates
-*****
-
-.. inheritance-diagram:: matplotlib.dates
- :parts: 1
-
-:mod:`matplotlib.dates`
-=======================
-
-.. automodule:: matplotlib.dates
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/dviread.txt b/dev/_sources/api/dviread.txt
deleted file mode 100644
index edad6c91986..00000000000
--- a/dev/_sources/api/dviread.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-
-:mod:`matplotlib.dviread`
-=========================
-
-.. automodule:: matplotlib.dviread
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/figure_api.txt b/dev/_sources/api/figure_api.txt
deleted file mode 100644
index 27e86a1fee1..00000000000
--- a/dev/_sources/api/figure_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-******
-figure
-******
-
-
-:mod:`matplotlib.figure`
-========================
-
-.. automodule:: matplotlib.figure
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/font_manager_api.txt b/dev/_sources/api/font_manager_api.txt
deleted file mode 100644
index 88d5fb38e5f..00000000000
--- a/dev/_sources/api/font_manager_api.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-************
-font_manager
-************
-
-:mod:`matplotlib.font_manager`
-==============================
-
-.. automodule:: matplotlib.font_manager
- :members:
- :undoc-members:
- :show-inheritance:
-
-:mod:`matplotlib.fontconfig_pattern`
-====================================
-
-.. automodule:: matplotlib.fontconfig_pattern
- :members:
- :undoc-members:
- :show-inheritance:
-
-
diff --git a/dev/_sources/api/gridspec_api.txt b/dev/_sources/api/gridspec_api.txt
deleted file mode 100644
index d4771f02ebd..00000000000
--- a/dev/_sources/api/gridspec_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-********
-gridspec
-********
-
-
-:mod:`matplotlib.gridspec`
-==========================
-
-.. automodule:: matplotlib.gridspec
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/index.txt b/dev/_sources/api/index.txt
deleted file mode 100644
index 768e255aa22..00000000000
--- a/dev/_sources/api/index.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-.. _api-index:
-
-####################
- The Matplotlib API
-####################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- pyplot_summary.rst
- api_changes.rst
- matplotlib_configuration_api.rst
- afm_api.rst
- animation_api.rst
- artist_api.rst
- axes_api.rst
- axis_api.rst
- index_backend_api.rst
- cbook_api.rst
- cm_api.rst
- collections_api.rst
- colorbar_api.rst
- colors_api.rst
- dates_api.rst
- figure_api.rst
- font_manager_api.rst
- gridspec_api.rst
- legend_api.rst
- mathtext_api.rst
- mlab_api.rst
- nxutils_api.rst
- path_api.rst
- pyplot_api.rst
- sankey_api.rst
- spines_api.rst
- ticker_api.rst
- tight_layout_api.rst
- tri_api.rst
- units_api.rst
- widgets_api.rst
diff --git a/dev/_sources/api/index_backend_api.txt b/dev/_sources/api/index_backend_api.txt
deleted file mode 100644
index 8a368263027..00000000000
--- a/dev/_sources/api/index_backend_api.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-********
-backends
-********
-
-.. toctree::
-
- backend_bases_api.rst
- backend_gtkagg_api.rst
- backend_qt4agg_api.rst
- backend_wxagg_api.rst
- backend_pdf_api.rst
- dviread.rst
- type1font.rst
diff --git a/dev/_sources/api/legend_api.txt b/dev/_sources/api/legend_api.txt
deleted file mode 100644
index 7ad075d33ca..00000000000
--- a/dev/_sources/api/legend_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-******
-legend
-******
-
-
-:mod:`matplotlib.legend`
-=========================
-
-.. automodule:: matplotlib.legend
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/markers_api.txt b/dev/_sources/api/markers_api.txt
deleted file mode 100644
index 7dfcb2eac38..00000000000
--- a/dev/_sources/api/markers_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-*******
-Markers*
-******
-
-
-:mod:`matplotlib.markers`
-========================
-
-.. automodule:: matplotlib.markers
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/mathtext_api.txt b/dev/_sources/api/mathtext_api.txt
deleted file mode 100644
index 689c0ade3aa..00000000000
--- a/dev/_sources/api/mathtext_api.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-********
-mathtext
-********
-
-.. inheritance-diagram:: matplotlib.mathtext
- :parts: 1
-
-:mod:`matplotlib.mathtext`
-=============================
-
-.. automodule:: matplotlib.mathtext
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/matplotlib_configuration_api.txt b/dev/_sources/api/matplotlib_configuration_api.txt
deleted file mode 100644
index 90ba3183ad5..00000000000
--- a/dev/_sources/api/matplotlib_configuration_api.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-The top level :mod:`matplotlib` module
-======================================
-
-.. automodule:: matplotlib
- :members: rc, rcdefaults, use
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/mlab_api.txt b/dev/_sources/api/mlab_api.txt
deleted file mode 100644
index 4e326b353a5..00000000000
--- a/dev/_sources/api/mlab_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-****
-mlab
-****
-
-
-:mod:`matplotlib.mlab`
-=======================
-
-.. automodule:: matplotlib.mlab
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/nxutils_api.txt b/dev/_sources/api/nxutils_api.txt
deleted file mode 100644
index 6c17d834137..00000000000
--- a/dev/_sources/api/nxutils_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-*******
-nxutils
-*******
-
-:mod:`matplotlib.nxutils`
-===========================
-
-.. automodule:: matplotlib.nxutils
- :members:
- :undoc-members:
- :show-inheritance:
-
diff --git a/dev/_sources/api/path_api.txt b/dev/_sources/api/path_api.txt
deleted file mode 100644
index d67bbb2536e..00000000000
--- a/dev/_sources/api/path_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-****
-path
-****
-
-
-:mod:`matplotlib.path`
-=======================
-
-.. automodule:: matplotlib.path
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/pyplot_api.txt b/dev/_sources/api/pyplot_api.txt
deleted file mode 100644
index 94e3baac26f..00000000000
--- a/dev/_sources/api/pyplot_api.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-******
-pyplot
-******
-
-
-:mod:`matplotlib.pyplot`
-========================
-
-.. automodule:: matplotlib.pyplot
- :members:
- :undoc-members:
- :show-inheritance:
- :exclude-members: plotting, colormaps
diff --git a/dev/_sources/api/pyplot_summary.txt b/dev/_sources/api/pyplot_summary.txt
deleted file mode 100644
index 7236fa864cc..00000000000
--- a/dev/_sources/api/pyplot_summary.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Plotting commands summary
-=========================
-
-.. currentmodule:: matplotlib.pyplot
-
-.. autofunction:: plotting
-
-.. autofunction:: colormaps
diff --git a/dev/_sources/api/sankey_api.txt b/dev/_sources/api/sankey_api.txt
deleted file mode 100644
index 51bdb15fa5f..00000000000
--- a/dev/_sources/api/sankey_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-******
-sankey
-******
-
-
-:mod:`matplotlib.sankey`
-========================
-
-.. automodule:: matplotlib.sankey
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/spines_api.txt b/dev/_sources/api/spines_api.txt
deleted file mode 100644
index aeab960c077..00000000000
--- a/dev/_sources/api/spines_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-******
-spines
-******
-
-
-:mod:`matplotlib.spines`
-========================
-
-.. automodule:: matplotlib.spines
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/ticker_api.txt b/dev/_sources/api/ticker_api.txt
deleted file mode 100644
index 12214161c33..00000000000
--- a/dev/_sources/api/ticker_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-******
-ticker
-******
-
-
-:mod:`matplotlib.ticker`
-==========================
-
-.. automodule:: matplotlib.ticker
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/tight_layout_api.txt b/dev/_sources/api/tight_layout_api.txt
deleted file mode 100644
index 11cdaa9b71d..00000000000
--- a/dev/_sources/api/tight_layout_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-************
-tight_layout
-************
-
-
-:mod:`matplotlib.tight_layout`
-==============================
-
-.. automodule:: matplotlib.tight_layout
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/tri_api.txt b/dev/_sources/api/tri_api.txt
deleted file mode 100644
index 8ede2a9beb2..00000000000
--- a/dev/_sources/api/tri_api.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-****************
-triangular grids
-****************
-
-:mod:`matplotlib.tri`
-=====================
-.. automodule:: matplotlib.tri
-
-.. autoclass:: matplotlib.tri.Triangulation
- :members:
-
-.. autoclass:: matplotlib.tri.TriFinder
-
-.. autoclass:: matplotlib.tri.TrapezoidMapTriFinder
- :members: __call__
- :show-inheritance:
-
-.. autoclass:: matplotlib.tri.TriInterpolator
-
-.. autoclass:: matplotlib.tri.LinearTriInterpolator
- :members: __call__, gradient
- :show-inheritance:
-
-.. autoclass:: matplotlib.tri.CubicTriInterpolator
- :members: __call__, gradient
- :show-inheritance:
-
-.. autoclass:: matplotlib.tri.TriRefiner
-
-.. autoclass:: matplotlib.tri.UniformTriRefiner
- :show-inheritance:
- :members:
-
-.. autoclass:: matplotlib.tri.TriAnalyzer
- :members:
diff --git a/dev/_sources/api/type1font.txt b/dev/_sources/api/type1font.txt
deleted file mode 100644
index 2422038835d..00000000000
--- a/dev/_sources/api/type1font.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-
-:mod:`matplotlib.type1font`
-===========================
-
-.. automodule:: matplotlib.type1font
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/units_api.txt b/dev/_sources/api/units_api.txt
deleted file mode 100644
index c29596eb3d3..00000000000
--- a/dev/_sources/api/units_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-*****
-units
-*****
-
-
-:mod:`matplotlib.units`
-========================
-
-.. automodule:: matplotlib.units
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/api/widgets_api.txt b/dev/_sources/api/widgets_api.txt
deleted file mode 100644
index edc19671798..00000000000
--- a/dev/_sources/api/widgets_api.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-*******
-widgets
-*******
-
-
-:mod:`matplotlib.widgets`
-=========================
-
-.. automodule:: matplotlib.widgets
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/dev/_sources/contents.txt b/dev/_sources/contents.txt
deleted file mode 100644
index 9a2a82b53d5..00000000000
--- a/dev/_sources/contents.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-Overview
-========
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
- Download `PDF `_
-
-
-.. toctree::
- :maxdepth: 2
-
- users/index.rst
- faq/index.rst
- devel/index.rst
- mpl_toolkits/index.rst
- api/index.rst
- glossary/index.rst
-
-.. htmlonly::
- - `Examples `_
-
- * :ref:`genindex`
- * :ref:`modindex`
- * :ref:`search`
diff --git a/dev/_sources/devel/add_new_projection.txt b/dev/_sources/devel/add_new_projection.txt
deleted file mode 100644
index cf310938020..00000000000
--- a/dev/_sources/devel/add_new_projection.txt
+++ /dev/null
@@ -1,152 +0,0 @@
-.. _adding-new-scales:
-
-***********************************************
-Adding new scales and projections to matplotlib
-***********************************************
-
-.. ::author Michael Droettboom
-
-Matplotlib supports the addition of custom procedures that transform
-the data before it is displayed.
-
-There is an important distinction between two kinds of
-transformations. Separable transformations, working on a single
-dimension, are called "scales", and non-separable transformations,
-that handle data in two or more dimensions at a time, are called
-"projections".
-
-From the user's perspective, the scale of a plot can be set with
-:meth:`~matplotlib.axes.Axes.set_xscale` and
-:meth:`~matplotlib.axes.Axes.set_xscale`. Projections can be chosen
-using the ``projection`` keyword argument to the
-:func:`~matplotlib.pylab.plot` or :func:`~matplotlib.pylab.subplot`
-functions, e.g.::
-
- plot(x, y, projection="custom")
-
-This document is intended for developers and advanced users who need
-to create new scales and projections for matplotlib. The necessary
-code for scales and projections can be included anywhere: directly
-within a plot script, in third-party code, or in the matplotlib source
-tree itself.
-
-.. _creating-new-scale:
-
-Creating a new scale
-====================
-
-Adding a new scale consists of defining a subclass of
-:class:`matplotlib.scale.ScaleBase`, that includes the following
-elements:
-
- - A transformation from data coordinates into display coordinates.
-
- - An inverse of that transformation. This is used, for example, to
- convert mouse positions from screen space back into data space.
-
- - A function to limit the range of the axis to acceptable values
- (``limit_range_for_scale()``). A log scale, for instance, would
- prevent the range from including values less than or equal to
- zero.
-
- - Locators (major and minor) that determine where to place ticks in
- the plot, and optionally, how to adjust the limits of the plot to
- some "good" values. Unlike ``limit_range_for_scale()``, which is
- always enforced, the range setting here is only used when
- automatically setting the range of the plot.
-
- - Formatters (major and minor) that specify how the tick labels
- should be drawn.
-
-Once the class is defined, it must be registered with matplotlib so
-that the user can select it.
-
-A full-fledged and heavily annotated example is in
-:file:`examples/api/custom_scale_example.py`. There are also some classes
-in :mod:`matplotlib.scale` that may be used as starting points.
-
-
-.. _creating-new-projection:
-
-Creating a new projection
-=========================
-
-Adding a new projection consists of defining a projection axes which
-subclasses :class:`matplotlib.axes.Axes` and includes the following
-elements:
-
- - A transformation from data coordinates into display coordinates.
-
- - An inverse of that transformation. This is used, for example, to
- convert mouse positions from screen space back into data space.
-
- - Transformations for the gridlines, ticks and ticklabels. Custom
- projections will often need to place these elements in special
- locations, and matplotlib has a facility to help with doing so.
-
- - Setting up default values (overriding
- :meth:`~matplotlib.axes.Axes.cla`), since the defaults for a
- rectilinear axes may not be appropriate.
-
- - Defining the shape of the axes, for example, an elliptical axes,
- that will be used to draw the background of the plot and for
- clipping any data elements.
-
- - Defining custom locators and formatters for the projection. For
- example, in a geographic projection, it may be more convenient to
- display the grid in degrees, even if the data is in radians.
-
- - Set up interactive panning and zooming. This is left as an
- "advanced" feature left to the reader, but there is an example of
- this for polar plots in :mod:`matplotlib.projections.polar`.
-
- - Any additional methods for additional convenience or features.
-
-Once the projection axes is defined, it can be used in one of two ways:
-
- - By defining the class attribute ``name``, the projection axes can be
- registered with :func:`matplotlib.projections.register_projection`
- and subsequently simply invoked by name::
-
- plt.axes(projection='my_proj_name')
-
- - For more complex, parameterisable projections, a generic "projection"
- object may be defined which includes the method ``_as_mpl_axes``.
- ``_as_mpl_axes`` should take no arguments and return the projection's
- axes subclass and a dictionary of additional arguments to pass to the
- subclass' ``__init__`` method. Subsequently a parameterised projection
- can be initialised with::
-
- plt.axes(projection=MyProjection(param1=param1_value))
-
- where MyProjection is an object which implements a ``_as_mpl_axes`` method.
-
-
-A full-fledged and heavily annotated example is in
-:file:`examples/api/custom_projection_example.py`. The polar plot
-functionality in :mod:`matplotlib.projections.polar` may also be of
-interest.
-
-API documentation
-=================
-
-matplotlib.scale
-----------------
-
-.. automodule:: matplotlib.scale
- :members:
- :show-inheritance:
-
-matplotlib.projections
-----------------------
-
-.. automodule:: matplotlib.projections
- :members:
- :show-inheritance:
-
-matplotlib.projections.polar
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-.. automodule:: matplotlib.projections.polar
- :members:
- :show-inheritance:
diff --git a/dev/_sources/devel/coding_guide.txt b/dev/_sources/devel/coding_guide.txt
deleted file mode 100644
index 7273fb38313..00000000000
--- a/dev/_sources/devel/coding_guide.txt
+++ /dev/null
@@ -1,273 +0,0 @@
-.. _coding-guide:
-
-************
-Coding guide
-************
-
-.. _pull-request-checklist:
-
-Pull request checklist
-======================
-
-This checklist should be consulted when creating pull requests to make
-sure they are complete before merging. These are not intended to be
-rigidly followed---it's just an attempt to list in one place all of
-the items that are necessary for a good pull request. Of course, some
-items will not always apply.
-
-Branch selection
-----------------
-
-* In general, simple bugfixes that are unlikely to introduce new bugs
- of their own should be merged onto the maintenance branch. New
- features, or anything that changes the API, should be made against
- master. The rules are fuzzy here -- when in doubt, try to get some
- consensus.
-
- * Once changes are merged into the maintenance branch, they should
- be merged into master.
-
-Style
------
-
-* Formatting should follow `PEP8
- `_. Exceptions to these
- rules are acceptable if it makes the code objectively more readable.
-
- - You may want to consider installing automatic PEP8 checking in
- your editor.
-
-* No tabs (only spaces). No trailing whitespace.
-
- - Configuring your editor to remove these things upon saving will
- save a lot of trouble.
-
-* Import the following modules using the standard scipy conventions::
-
- import numpy as np
- import numpy.ma as ma
- import matplotlib as mpl
- from matplotlib import pyplot as plt
- import matplotlib.cbook as cbook
- import matplotlib.collections as mcol
- import matplotlib.patches as mpatches
-
-* See below for additional points about
- :ref:`keyword-argument-processing`, if code in your pull request
- does that.
-
-* Adding a new pyplot function involves generating code. See
- :ref:`new-pyplot-function` for more information.
-
-Documentation
--------------
-
-* Every new feature should be documented. If it's a new module, don't
- forget to add it to the API docs.
-
-* Build the docs and make sure all formatting warnings are addressed.
-
-* See :ref:`documenting-matplotlib` for our documentation style guide.
-
-* If your changes are non-trivial, please make an entry in the
- :file:`CHANGELOG`.
-
-* If your change is a major new feature, add an entry to
- :file:`doc/users/whats_new.rst`.
-
-* If you change the API in a backward-incompatible way, please
- document it in :file:`doc/api/api_changes.rst`.
-
-Testing
--------
-
-Using the test framework is discussed in detail in the section
-:ref:`testing`.
-
-* If the PR is a bugfix, add a test that fails prior to the change and
- passes with the change. Include any relevant issue numbers in the
- docstring of the test.
-
-* If this is a new feature, add a test that exercises as much of the
- new feature as possible. (The `--with-coverage` option may be
- useful here).
-
-* Make sure the Travis tests are passing before merging.
-
- - The Travis tests automatically test on all of the Python versions
- matplotlib supports whenever a pull request is created or updated.
- The `tox` support in matplotlib may be useful for testing locally.
-
-Installation
-------------
-
-* If you have added new files or directories, or reorganized existing
- ones, make sure the new files included in the match patterns in
- :file:`MANIFEST.in`, and/or in `package_data` in `setup.py`.
-
-C/C++ extensions
-----------------
-
-* Extensions may be written in C or C++.
-
-* Code style should conform to PEP7 (understanding that PEP7 doesn't
- address C++, but most of its admonitions still apply).
-
-* Interfacing with Python may be done either with the raw Python/C API
- or Cython. Use of PyCXX is discouraged for new code.
-
-* Python/C interface code should be kept separate from the core C/C++
- code. The interface code should be named `FOO_wrap.cpp`.
-
-* Header file documentation (aka docstrings) should be in Numpydoc
- format. We don't plan on using automated tools for these
- docstrings, and the Numpydoc format is well understood in the
- scientific Python community.
-
-Style guide
-===========
-
-.. _keyword-argument-processing:
-
-Keyword argument processing
----------------------------
-
-Matplotlib makes extensive use of ``**kwargs`` for pass-through
-customizations from one function to another. A typical example is in
-:func:`matplotlib.pylab.text`. The definition of the pylab text
-function is a simple pass-through to
-:meth:`matplotlib.axes.Axes.text`::
-
- # in pylab.py
- def text(*args, **kwargs):
- ret = gca().text(*args, **kwargs)
- draw_if_interactive()
- return ret
-
-:meth:`~matplotlib.axes.Axes.text` in simplified form looks like this,
-i.e., it just passes all ``args`` and ``kwargs`` on to
-:meth:`matplotlib.text.Text.__init__`::
-
- # in axes.py
- def text(self, x, y, s, fontdict=None, withdash=False, **kwargs):
- t = Text(x=x, y=y, text=s, **kwargs)
-
-and :meth:`~matplotlib.text.Text.__init__` (again with liberties for
-illustration) just passes them on to the
-:meth:`matplotlib.artist.Artist.update` method::
-
- # in text.py
- def __init__(self, x=0, y=0, text='', **kwargs):
- Artist.__init__(self)
- self.update(kwargs)
-
-``update`` does the work looking for methods named like
-``set_property`` if ``property`` is a keyword argument. I.e., no one
-looks at the keywords, they just get passed through the API to the
-artist constructor which looks for suitably named methods and calls
-them with the value.
-
-As a general rule, the use of ``**kwargs`` should be reserved for
-pass-through keyword arguments, as in the example above. If all the
-keyword args are to be used in the function, and not passed
-on, use the key/value keyword args in the function definition rather
-than the ``**kwargs`` idiom.
-
-In some cases, you may want to consume some keys in the local
-function, and let others pass through. You can ``pop`` the ones to be
-used locally and pass on the rest. For example, in
-:meth:`~matplotlib.axes.Axes.plot`, ``scalex`` and ``scaley`` are
-local arguments and the rest are passed on as
-:meth:`~matplotlib.lines.Line2D` keyword arguments::
-
- # in axes.py
- def plot(self, *args, **kwargs):
- scalex = kwargs.pop('scalex', True)
- scaley = kwargs.pop('scaley', True)
- if not self._hold: self.cla()
- lines = []
- for line in self._get_lines(*args, **kwargs):
- self.add_line(line)
- lines.append(line)
-
-Note: there is a use case when ``kwargs`` are meant to be used locally
-in the function (not passed on), but you still need the ``**kwargs``
-idiom. That is when you want to use ``*args`` to allow variable
-numbers of non-keyword args. In this case, python will not allow you
-to use named keyword args after the ``*args`` usage, so you will be
-forced to use ``**kwargs``. An example is
-:meth:`matplotlib.contour.ContourLabeler.clabel`::
-
- # in contour.py
- def clabel(self, *args, **kwargs):
- fontsize = kwargs.get('fontsize', None)
- inline = kwargs.get('inline', 1)
- self.fmt = kwargs.get('fmt', '%1.3f')
- colors = kwargs.get('colors', None)
- if len(args) == 0:
- levels = self.levels
- indices = range(len(self.levels))
- elif len(args) == 1:
- ...etc...
-
-Hints
-=====
-
-This section describes how to add certain kinds of new features to
-matplotlib.
-
-.. _custom_backend:
-
-Developing a new backend
-------------------------
-
-If you are working on a custom backend, the *backend* setting in
-:file:`matplotlibrc` (:ref:`customizing-matplotlib`) supports an
-external backend via the ``module`` directive. if
-:file:`my_backend.py` is a matplotlib backend in your
-:envvar:`PYTHONPATH`, you can set use it on one of several ways
-
-* in matplotlibrc::
-
- backend : module://my_backend
-
-* with the use directive is your script::
-
- import matplotlib
- matplotlib.use('module://my_backend')
-
-* from the command shell with the -d flag::
-
- > python simple_plot.py -d module://my_backend
-
-
-.. _sample-data:
-
-Writing examples
-----------------
-
-We have hundreds of examples in subdirectories of
-:file:`matplotlib/examples`, and these are automatically generated
-when the website is built to show up both in the `examples
-`_ and `gallery
-`_ sections of the website.
-
-Any sample data that the example uses should be kept small and
-distributed with matplotlib in the
-`lib/matplotlib/mpl-data/sample_data/` directory. Then in your
-example code you can load it into a file handle with::
-
- import matplotlib.cbook as cbook
- fh = cbook.get_sample_data('mydata.dat')
-
-.. _new-pyplot-function:
-
-Writing a new pyplot function
------------------------------
-
-A large portion of the pyplot interface is automatically generated by the
-`boilerplate.py` script (in the root of the source tree). To add or remove
-a plotting method from pyplot, edit the appropriate list in `boilerplate.py`
-and then run the script which will update the content in
-`lib/matplotlib/pyplot.py`. Both the changes in `boilerplate.py` and
-`lib/matplotlib/pyplot.py` should be checked into the repository.
diff --git a/dev/_sources/devel/documenting_mpl.txt b/dev/_sources/devel/documenting_mpl.txt
deleted file mode 100644
index f43977cb400..00000000000
--- a/dev/_sources/devel/documenting_mpl.txt
+++ /dev/null
@@ -1,496 +0,0 @@
-.. _documenting-matplotlib:
-
-**********************
-Documenting matplotlib
-**********************
-
-Getting started
-===============
-
-The documentation for matplotlib is generated from ReStructured Text using the
-Sphinx_ documentation generation tool. Sphinx-1.0 or later and numpydoc 0.4 or
-later is required.
-
-The documentation sources are found in the :file:`doc/` directory in
-the trunk. To build the users guide in html format, cd into
-:file:`doc/` and do::
-
- python make.py html
-
-or::
-
- ./make.py html
-
-you can also pass a ``latex`` flag to make.py to build a pdf, or pass no
-arguments to build everything.
-
-The output produced by Sphinx can be configured by editing the :file:`conf.py`
-file located in the :file:`doc/`.
-
-
-Organization of matplotlib's documentation
-==========================================
-
-The actual ReStructured Text files are kept in :file:`doc/users`,
-:file:`doc/devel`, :file:`doc/api` and :file:`doc/faq`. The main entry point is
-:file:`doc/index.rst`, which pulls in the :file:`index.rst` file for the users
-guide, developers guide, api reference, and faqs. The documentation suite is
-built as a single document in order to make the most effective use of cross
-referencing, we want to make navigating the Matplotlib documentation as easy as
-possible.
-
-Additional files can be added to the various guides by including their base
-file name (the .rst extension is not necessary) in the table of contents.
-It is also possible to include other documents through the use of an include
-statement, such as::
-
- .. include:: ../../TODO
-
-docstrings
-----------
-
-In addition to the "narrative" documentation described above,
-matplotlib also defines its API reference documentation in docstrings.
-For the most part, these are standard Python docstrings, but
-matplotlib also includes some features to better support documenting
-getters and setters.
-
-Matplotlib uses artist introspection of docstrings to support
-properties. All properties that you want to support through ``setp``
-and ``getp`` should have a ``set_property`` and ``get_property``
-method in the :class:`~matplotlib.artist.Artist` class. Yes, this is
-not ideal given python properties or enthought traits, but it is a
-historical legacy for now. The setter methods use the docstring with
-the ACCEPTS token to indicate the type of argument the method accepts.
-e.g., in :class:`matplotlib.lines.Line2D`::
-
- # in lines.py
- def set_linestyle(self, linestyle):
- """
- Set the linestyle of the line
-
- ACCEPTS: [ '-' | '--' | '-.' | ':' | 'steps' | 'None' | ' ' | '' ]
- """
-
-Since matplotlib uses a lot of pass-through ``kwargs``, e.g., in every
-function that creates a line (:func:`~matplotlib.pyplot.plot`,
-:func:`~matplotlib.pyplot.semilogx`,
-:func:`~matplotlib.pyplot.semilogy`, etc...), it can be difficult for
-the new user to know which ``kwargs`` are supported. Matplotlib uses
-a docstring interpolation scheme to support documentation of every
-function that takes a ``**kwargs``. The requirements are:
-
-1. single point of configuration so changes to the properties don't
- require multiple docstring edits.
-
-2. as automated as possible so that as properties change, the docs
- are updated automagically.
-
-The functions :attr:`matplotlib.artist.kwdocd` and
-:func:`matplotlib.artist.kwdoc` to facilitate this. They combine
-python string interpolation in the docstring with the matplotlib
-artist introspection facility that underlies ``setp`` and ``getp``.
-The ``kwdocd`` is a single dictionary that maps class name to a
-docstring of ``kwargs``. Here is an example from
-:mod:`matplotlib.lines`::
-
- # in lines.py
- artist.kwdocd['Line2D'] = artist.kwdoc(Line2D)
-
-Then in any function accepting :class:`~matplotlib.lines.Line2D`
-pass-through ``kwargs``, e.g., :meth:`matplotlib.axes.Axes.plot`::
-
- # in axes.py
- def plot(self, *args, **kwargs):
- """
- Some stuff omitted
-
- The kwargs are Line2D properties:
- %(Line2D)s
-
- kwargs scalex and scaley, if defined, are passed on
- to autoscale_view to determine whether the x and y axes are
- autoscaled; default True. See Axes.autoscale_view for more
- information
- """
- pass
- plot.__doc__ = cbook.dedent(plot.__doc__) % artist.kwdocd
-
-Note there is a problem for :class:`~matplotlib.artist.Artist`
-``__init__`` methods, e.g., :meth:`matplotlib.patches.Patch.__init__`,
-which supports ``Patch`` ``kwargs``, since the artist inspector cannot
-work until the class is fully defined and we can't modify the
-``Patch.__init__.__doc__`` docstring outside the class definition.
-There are some some manual hacks in this case, violating the
-"single entry point" requirement above -- see the
-``artist.kwdocd['Patch']`` setting in :mod:`matplotlib.patches`.
-
-.. _formatting-mpl-docs:
-
-Formatting
-==========
-
-The Sphinx website contains plenty of documentation_ concerning ReST markup and
-working with Sphinx in general. Here are a few additional things to keep in mind:
-
-* Please familiarize yourself with the Sphinx directives for `inline
- markup`_. Matplotlib's documentation makes heavy use of cross-referencing and
- other semantic markup. For example, when referring to external files, use the
- ``:file:`` directive.
-
-* Function arguments and keywords should be referred to using the *emphasis*
- role. This will keep matplotlib's documentation consistent with Python's
- documentation::
-
- Here is a description of *argument*
-
- Please do not use the `default role`::
-
- Please do not describe `argument` like this.
-
- nor the ``literal`` role::
-
- Please do not describe ``argument`` like this.
-
-* Sphinx does not support tables with column- or row-spanning cells for
- latex output. Such tables can not be used when documenting matplotlib.
-
-* Mathematical expressions can be rendered as png images in html, and in the
- usual way by latex. For example:
-
- ``:math:`\sin(x_n^2)``` yields: :math:`\sin(x_n^2)`, and::
-
- .. math::
-
- \int_{-\infty}^{\infty}\frac{e^{i\phi}}{1+x^2\frac{e^{i\phi}}{1+x^2}}
-
- yields:
-
- .. math::
-
- \int_{-\infty}^{\infty}\frac{e^{i\phi}}{1+x^2\frac{e^{i\phi}}{1+x^2}}
-
-* Interactive IPython sessions can be illustrated in the documentation using
- the following directive::
-
- .. sourcecode:: ipython
-
- In [69]: lines = plot([1,2,3])
-
- which would yield:
-
- .. sourcecode:: ipython
-
- In [69]: lines = plot([1,2,3])
-
-* Footnotes [#]_ can be added using ``[#]_``, followed later by::
-
- .. rubric:: Footnotes
-
- .. [#]
-
- .. rubric:: Footnotes
-
- .. [#] For example.
-
-* Use the *note* and *warning* directives, sparingly, to draw attention to
- important comments::
-
- .. note::
- Here is a note
-
- yields:
-
- .. note::
- here is a note
-
- also:
-
- .. warning::
- here is a warning
-
-* Use the *deprecated* directive when appropriate::
-
- .. deprecated:: 0.98
- This feature is obsolete, use something else.
-
- yields:
-
- .. deprecated:: 0.98
- This feature is obsolete, use something else.
-
-* Use the *versionadded* and *versionchanged* directives, which have similar
- syntax to the *deprecated* role::
-
- .. versionadded:: 0.98
- The transforms have been completely revamped.
-
- .. versionadded:: 0.98
- The transforms have been completely revamped.
-
-* Use the *seealso* directive, for example::
-
- .. seealso::
-
- Using ReST :ref:`emacs-helpers`:
- One example
-
- A bit about :ref:`referring-to-mpl-docs`:
- One more
-
- yields:
-
- .. seealso::
-
- Using ResT :ref:`emacs-helpers`:
- One example
-
- A bit about :ref:`referring-to-mpl-docs`:
- One more
-
-* Please keep the :ref:`glossary` in mind when writing documentation. You can
- create a references to a term in the glossary with the ``:term:`` role.
-
-* The autodoc extension will handle index entries for the API, but additional
- entries in the index_ need to be explicitly added.
-
-.. _Sphinx: http://sphinx.pocoo.org
-.. _documentation: http://sphinx.pocoo.org/contents.html
-.. _`inline markup`: http://sphinx.pocoo.org/markup/inline.html
-.. _index: http://sphinx.pocoo.org/markup/para.html#index-generating-markup
-
-* Please limit the text width of docstrings to 70 characters.
-
-* Keyword arguments should be described using a definition list.
-
- .. note::
- matplotlib makes extensive use of keyword arguments as pass-through
- arguments, there are a many cases where a table is used in place of a
- definition list for autogenerated sections of docstrings.
-
-Figures
-=======
-
-Dynamically generated figures
------------------------------
-
-Figures can be automatically generated from scripts and included in
-the docs. It is not necessary to explicitly save the figure in the
-script, this will be done automatically at build time to ensure that
-the code that is included runs and produces the advertised figure.
-
-The path should be relative to the ``doc`` directory. Any plots
-specific to the documentation should be added to the ``doc/pyplots``
-directory and committed to git. Plots from the ``examples`` directory
-may be referenced through the symlink ``mpl_examples`` in the ``doc``
-directory. e.g.::
-
- .. plot:: mpl_examples/pylab_examples/simple_plot.py
-
-The ``:scale:`` directive rescales the image to some percentage of the
-original size, though we don't recommend using this in most cases
-since it is probably better to choose the correct figure size and dpi
-in mpl and let it handle the scaling.
-
-Plot directive documentation
-''''''''''''''''''''''''''''
-
-.. automodule:: matplotlib.sphinxext.plot_directive
-
-Static figures
---------------
-
-Any figures that rely on optional system configurations need to be handled a
-little differently. These figures are not to be generated during the
-documentation build, in order to keep the prerequisites to the documentation
-effort as low as possible. Please run the :file:`doc/pyplots/make.py` script
-when adding such figures, and commit the script **and** the images to
-git. Please also add a line to the README in doc/pyplots for any additional
-requirements necessary to generate a new figure. Once these steps have been
-taken, these figures can be included in the usual way::
-
- .. plot:: pyplots/tex_unicode_demo.py
- :include-source:
-
-Examples
---------
-
-The source of the files in the ``examples`` directory are
-automatically included in the HTML docs. An image is generated and
-included for all examples in the ``api`` and ``pylab_examples``
-directories. To exclude the example from having an image rendered,
-insert the following special comment anywhere in the script::
-
- # -*- noplot -*-
-
-Animations
-----------
-
-We have a matplotlib google/gmail account with username ``mplgithub``
-which we used to setup the github account but can be used for other
-purposes, like hosting google docs or youtube videos. You can embed a
-matplotlib animation in the docs by first saving the animation as a
-movie using :meth:`matplotlib.animation.Animation.save`, and then
-uploading to `matplotlib's youtube
-channel `_ and inserting the
-embedding string youtube provides like::
-
- .. raw:: html
-
-
-
-An example save command to generate a movie looks like this
-
-.. sourcecode:: python
-
- ani = animation.FuncAnimation(fig, animate, np.arange(1, len(y)),
- interval=25, blit=True, init_func=init)
-
- ani.save('double_pendulum.mp4', fps=15)
-
-Contact John Hunter for the login password to upload youtube videos of
-google docs to the mplgithub account.
-
-.. _referring-to-mpl-docs:
-
-Referring to mpl documents
-==========================
-
-In the documentation, you may want to include to a document in the
-matplotlib src, e.g., a license file or an image file from `mpl-data`,
-refer to it via a relative path from the document where the rst file
-resides, eg, in :file:`users/navigation_toolbar.rst`, we refer to the
-image icons with::
-
- .. image:: ../../lib/matplotlib/mpl-data/images/subplots.png
-
-In the `users` subdirectory, if I want to refer to a file in the mpl-data
-directory, I use the symlink directory. For example, from
-`customizing.rst`::
-
- .. literalinclude:: ../../lib/matplotlib/mpl-data/matplotlibrc
-
-One exception to this is when referring to the examples dir. Relative
-paths are extremely confusing in the sphinx plot extensions, so
-without getting into the dirty details, it is easier to simply include
-a symlink to the files at the top doc level directory. This way, API
-documents like :meth:`matplotlib.pyplot.plot` can refer to the
-examples in a known location.
-
-In the top level doc directory we have symlinks pointing to
-the mpl `examples`::
-
- home:~/mpl/doc> ls -l mpl_*
- mpl_examples -> ../examples
-
-So we can include plots from the examples dir using the symlink::
-
- .. plot:: mpl_examples/pylab_examples/simple_plot.py
-
-
-We used to use a symlink for :file:`mpl-data` too, but the distro
-becomes very large on platforms that do not support links (eg the font
-files are duplicated and large)
-
-.. _internal-section-refs:
-
-Internal section references
-===========================
-
-To maximize internal consistency in section labeling and references,
-use hyphen separated, descriptive labels for section references, eg::
-
- .. _howto-webapp:
-
-and refer to it using the standard reference syntax::
-
- See :ref:`howto-webapp`
-
-Keep in mind that we may want to reorganize the contents later, so
-let's avoid top level names in references like ``user`` or ``devel``
-or ``faq`` unless necessary, because for example the FAQ "what is a
-backend?" could later become part of the users guide, so the label::
-
- .. _what-is-a-backend
-
-is better than::
-
- .. _faq-backend
-
-In addition, since underscores are widely used by Sphinx itself, let's prefer
-hyphens to separate words.
-
-
-
-Section names, etc
-==================
-
-For everything but top level chapters, please use ``Upper lower`` for
-section titles, eg ``Possible hangups`` rather than ``Possible
-Hangups``
-
-Inheritance diagrams
-====================
-
-Class inheritance diagrams can be generated with the
-``inheritance-diagram`` directive. To use it, you provide the
-directive with a number of class or module names (separated by
-whitespace). If a module name is provided, all classes in that module
-will be used. All of the ancestors of these classes will be included
-in the inheritance diagram.
-
-A single option is available: *parts* controls how many of parts in
-the path to the class are shown. For example, if *parts* == 1, the
-class ``matplotlib.patches.Patch`` is shown as ``Patch``. If *parts*
-== 2, it is shown as ``patches.Patch``. If *parts* == 0, the full
-path is shown.
-
-Example::
-
- .. inheritance-diagram:: matplotlib.patches matplotlib.lines matplotlib.text
- :parts: 2
-
-.. inheritance-diagram:: matplotlib.patches matplotlib.lines matplotlib.text
- :parts: 2
-
-
-.. _emacs-helpers:
-
-Emacs helpers
-=============
-
-There is an emacs mode `rst.el
-`_ which
-automates many important ReST tasks like building and updating
-table-of-contents, and promoting or demoting section headings. Here
-is the basic ``.emacs`` configuration::
-
- (require 'rst)
- (setq auto-mode-alist
- (append '(("\\.txt$" . rst-mode)
- ("\\.rst$" . rst-mode)
- ("\\.rest$" . rst-mode)) auto-mode-alist))
-
-
-Some helpful functions::
-
- C-c TAB - rst-toc-insert
-
- Insert table of contents at point
-
- C-c C-u - rst-toc-update
-
- Update the table of contents at point
-
- C-c C-l rst-shift-region-left
-
- Shift region to the left
-
- C-c C-r rst-shift-region-right
-
- Shift region to the right
-
-.. TODO: Add section about uploading docs
diff --git a/dev/_sources/devel/gitwash/configure_git.txt b/dev/_sources/devel/gitwash/configure_git.txt
deleted file mode 100644
index 70c6a5a37b6..00000000000
--- a/dev/_sources/devel/gitwash/configure_git.txt
+++ /dev/null
@@ -1,130 +0,0 @@
-.. _configure-git:
-
-===============
- Configure git
-===============
-
-.. _git-config-basic:
-
-Overview
-========
-
-Your personal git_ configurations are saved in the ``.gitconfig`` file in
-your home directory.
-Here is an example ``.gitconfig`` file::
-
- [user]
- name = Your Name
- email = you@yourdomain.example.com
-
- [alias]
- ci = commit -a
- co = checkout
- st = status -a
- stat = status -a
- br = branch
- wdiff = diff --color-words
-
- [core]
- editor = vim
-
- [merge]
- summary = true
-
- [apply]
- whitespace = fix
-
- [core]
- autocrlf = input
-
-
-You can edit this file directly or you can use the ``git config --global``
-command::
-
- git config --global user.name "Your Name"
- git config --global user.email you@yourdomain.example.com
- git config --global alias.ci "commit -a"
- git config --global alias.co checkout
- git config --global alias.st "status -a"
- git config --global alias.stat "status -a"
- git config --global alias.br branch
- git config --global alias.wdiff "diff --color-words"
- git config --global core.editor vim
- git config --global merge.summary true
-
-To set up on another computer, you can copy your ``~/.gitconfig`` file,
-or run the commands above.
-
-In detail
-=========
-
-user.name and user.email
-------------------------
-
-It is good practice to tell git_ who you are, for labeling any changes
-you make to the code. The simplest way to do this is from the command
-line::
-
- git config --global user.name "Your Name"
- git config --global user.email you@yourdomain.example.com
-
-This will write the settings into your git configuration file, which
-should now contain a user section with your name and email::
-
- [user]
- name = Your Name
- email = you@yourdomain.example.com
-
-Of course you'll need to replace ``Your Name`` and ``you@yourdomain.example.com``
-with your actual name and email address.
-
-Aliases
--------
-
-You might well benefit from some aliases to common commands.
-
-For example, you might well want to be able to shorten ``git checkout``
-to ``git co``. Or you may want to alias ``git diff --color-words``
-(which gives a nicely formatted output of the diff) to ``git wdiff``
-
-The following ``git config --global`` commands::
-
- git config --global alias.ci "commit -a"
- git config --global alias.co checkout
- git config --global alias.st "status -a"
- git config --global alias.stat "status -a"
- git config --global alias.br branch
- git config --global alias.wdiff "diff --color-words"
-
-will create an ``alias`` section in your ``.gitconfig`` file with contents
-like this::
-
- [alias]
- ci = commit -a
- co = checkout
- st = status -a
- stat = status -a
- br = branch
- wdiff = diff --color-words
-
-Editor
-------
-
-You may also want to make sure that your editor of choice is used ::
-
- git config --global core.editor vim
-
-Merging
--------
-
-To enforce summaries when doing merges (``~/.gitconfig`` file again)::
-
- [merge]
- log = true
-
-Or from the command line::
-
- git config --global merge.log true
-
-
-.. include:: links.inc
diff --git a/dev/_sources/devel/gitwash/development_workflow.txt b/dev/_sources/devel/gitwash/development_workflow.txt
deleted file mode 100644
index 2ef9ecbfb42..00000000000
--- a/dev/_sources/devel/gitwash/development_workflow.txt
+++ /dev/null
@@ -1,323 +0,0 @@
-.. _development-workflow:
-
-====================
-Development workflow
-====================
-
-You already have your own forked copy of the matplotlib_ repository, by
-following :ref:`forking`, :ref:`set-up-fork`, and you have configured
-git_ by following :ref:`configure-git`.
-
-Workflow summary
-================
-
-* Keep your ``master`` branch clean of edits that have not been merged
- to the main matplotlib_ development repo. Your ``master`` then will follow
- the main matplotlib_ repository.
-* Start a new *feature branch* for each set of edits that you do.
-* If you can avoid it, try not to merge other branches into your feature
- branch while you are working.
-* Ask for review!
-
-This way of working really helps to keep work well organized, and in
-keeping history as clear as possible.
-
-See |emdash| for example |emdash| `linux git workflow`_.
-
-Making a new feature branch
-===========================
-
-::
-
- git checkout -b my-new-feature master
-
-This will create and immediately check out a feature branch based on
-``master``. To create a feature branch based on a maintenance branch,
-use::
-
- git fetch origin
- git checkout -b my-new-feature origin/v1.0.x
-
-Generally, you will want to keep this also on your public github_ fork
-of matplotlib_. To do this, you `git push`_ this new branch up to your github_
-repo. Generally (if you followed the instructions in these pages, and
-by default), git will have a link to your github_ repo, called
-``origin``. You push up to your own repo on github_ with::
-
- git push origin my-new-feature
-
-You will need to use this exact command, rather than simply ``git
-push`` every time you want to push changes on your feature branch to
-your github_ repo. However, in git >1.7 you can set up a link by
-using the ``--set-upstream`` option::
-
- git push --set-upstream origin my-new-feature
-
-and then next time you need to push changes to your branch a simple
-``git push`` will suffice. Note that ``git push`` pushes out all
-branches that are linked to a remote branch.
-
-The editing workflow
-====================
-
-Overview
---------
-
-::
-
- # hack hack
- git add my_new_file
- git commit -am 'NF - some message'
- git push
-
-In more detail
---------------
-
-#. Make some changes
-#. See which files have changed with ``git status`` (see `git status`_).
- You'll see a listing like this one::
-
- # On branch ny-new-feature
- # Changed but not updated:
- # (use "git add ..." to update what will be committed)
- # (use "git checkout -- ..." to discard changes in working directory)
- #
- # modified: README
- #
- # Untracked files:
- # (use "git add ..." to include in what will be committed)
- #
- # INSTALL
- no changes added to commit (use "git add" and/or "git commit -a")
-
-#. Check what the actual changes are with ``git diff`` (`git diff`_).
-#. Add any new files to version control ``git add new_file_name`` (see
- `git add`_).
-#. To commit all modified files into the local copy of your repo,, do
- ``git commit -am 'A commit message'``. Note the ``-am`` options to
- ``commit``. The ``m`` flag just signals that you're going to type a
- message on the command line. The ``a`` flag |emdash| you can just take on
- faith |emdash| or see `why the -a flag?`_ |emdash| and the helpful use-case
- description in the `tangled working copy problem`_. The `git commit`_ manual
- page might also be useful.
-#. To push the changes up to your forked repo on github_, do a ``git
- push`` (see `git push`).
-
-Asking for code review
-======================
-
-#. Go to your repo URL |emdash| e.g.,
- ``http://github.com/your-user-name/matplotlib``.
-#. Click on the *Branch list* button:
-
- .. image:: branch_list.png
-
-#. Click on the *Compare* button for your feature branch |emdash| here ``my-new-feature``:
-
- .. image:: branch_list_compare.png
-
-#. If asked, select the *base* and *comparison* branch names you want to
- compare. Usually these will be ``master`` and ``my-new-feature``
- (where that is your feature branch name).
-#. At this point you should get a nice summary of the changes. Copy the
- URL for this, and post it to the `matplotlib mailing list`_, asking for
- review. The URL will look something like:
- ``http://github.com/your-user-name/matplotlib/compare/master...my-new-feature``.
- There's an example at
- http://github.com/matthew-brett/nipy/compare/master...find-install-data
- See: http://github.com/blog/612-introducing-github-compare-view for
- more detail.
-
-The generated comparison, is between your feature branch
-``my-new-feature``, and the place in ``master`` from which you branched
-``my-new-feature``. In other words, you can keep updating ``master``
-without interfering with the output from the comparison. More detail?
-Note the three dots in the URL above (``master...my-new-feature``) and
-see :ref:`dot2-dot3`.
-
-It's a good idea to consult the :ref:`pull-request-checklist` to make
-sure your pull request is ready for merging.
-
-Asking for your changes to be merged into the main repo
-=======================================================
-
-When you are ready to ask for the merge of your code:
-
-#. Go to the URL of your forked repo, say
- ``http://github.com/your-user-name/matplotlib.git``.
-#. Click on the 'Pull request' button:
-
- .. image:: pull_button.png
-
- Enter a message; we suggest you select only ``matplotlib`` as the
- recipient. The message will go to the `matplotlib mailing list`_. Please
- feel free to add others from the list as you like.
-
-#. If the branch is to be merged into a maintenance branch on the main
- repo, make sure the "base branch" indicates the maintenance branch
- and not master. Github can not automatically determine the branch
- to merge into.
-
-Staying up to date with changes in the central repository
-=========================================================
-
-This updates your working copy from the upstream `matplotlib github`_
-repo.
-
-Overview
---------
-
-::
-
- # go to your master branch
- git checkout master
- # pull changes from github
- git fetch upstream
- # merge from upstream
- git merge --ff-only upstream/master
-
-In detail
----------
-
-We suggest that you do this only for your ``master`` branch, and leave
-your 'feature' branches unmerged, to keep their history as clean as
-possible. This makes code review easier::
-
- git checkout master
-
-Make sure you have done :ref:`linking-to-upstream`.
-
-Merge the upstream code into your current development by first pulling
-the upstream repo to a copy on your local machine::
-
- git fetch upstream
-
-then merging into your current branch::
-
- git merge --ff-only upstream/master
-
-The ``--ff-only`` option guarantees that if you have mistakenly
-committed code on your ``master`` branch, the merge fails at this point.
-If you were to merge ``upstream/master`` to your ``master``, you
-would start to diverge from the upstream. If this command fails, see
-the section on accidents_.
-
-The letters 'ff' in ``--ff-only`` mean 'fast forward', which is a
-special case of merge where git can simply update your branch to point
-to the other branch and not do any actual merging of files. For
-``master`` and other integration branches this is exactly what you
-want.
-
-Other integration branches
---------------------------
-
-Some people like to keep separate local branches corresponding to the
-maintenance branches on github. At the time of this writing, ``v1.0.x``
-is the active maintenance branch. If you have such a local branch,
-treat is just as ``master``: don't commit on it, and before starting
-new branches off of it, update it from upstream::
-
- git checkout v1.0.x
- git fetch upstream
- git merge --ff-only upstream/v1.0.x
-
-But you don't necessarily have to have such a branch. Instead, if you
-are preparing a bugfix that applies to the maintenance branch, fetch
-from upstream and base your bugfix on the remote branch::
-
- git fetch upstream
- git checkout -b my-bug-fix upstream/v1.0.x
-
-.. _accidents:
-
-Recovering from accidental commits on master
---------------------------------------------
-
-If you have accidentally committed changes on ``master`` and
-``git merge --ff-only`` fails, don't panic! First find out how much
-you have diverged::
-
- git diff upstream/master...master
-
-If you find that you want simply to get rid of the changes, reset
-your ``master`` branch to the upstream version::
-
- git reset --hard upstream/master
-
-As you might surmise from the words 'reset' and 'hard', this command
-actually causes your changes to the current branch to be lost, so
-think twice.
-
-If, on the other hand, you find that you want to preserve the changes,
-create a feature branch for them::
-
- git checkout -b my-important-changes
-
-Now ``my-important-changes`` points to the branch that has your
-changes, and you can safely reset ``master`` as above |emdash| but
-make sure to reset the correct branch::
-
- git checkout master
- git reset --hard upstream/master
-
-
-Deleting a branch on github_
-============================
-
-::
-
- git checkout master
- # delete branch locally
- git branch -D my-unwanted-branch
- # delete branch on github
- git push origin :my-unwanted-branch
-
-(Note the colon ``:`` before ``test-branch``. See also:
-http://github.com/guides/remove-a-remote-branch
-
-Several people sharing a single repository
-==========================================
-
-If you want to work on some stuff with other people, where you are all
-committing into the same repository, or even the same branch, then just
-share it via github_.
-
-First fork matplotlib into your account, as from :ref:`forking`.
-
-Then, go to your forked repository github page, say
-``http://github.com/your-user-name/matplotlib``
-
-Click on the 'Admin' button, and add anyone else to the repo as a
-collaborator:
-
- .. image:: pull_button.png
-
-Now all those people can do::
-
- git clone git@githhub.com:your-user-name/matplotlib.git
-
-Remember that links starting with ``git@`` use the ssh protocol and are
-read-write; links starting with ``git://`` are read-only.
-
-Your collaborators can then commit directly into that repo with the
-usual::
-
- git commit -am 'ENH - much better code'
- git push origin master # pushes directly into your repo
-
-Exploring your repository
-=========================
-
-To see a graphical representation of the repository branches and
-commits::
-
- gitk --all
-
-To see a linear list of commits for this branch::
-
- git log
-
-You can also look at the `network graph visualizer`_ for your github_
-repo.
-
-.. include:: links.inc
diff --git a/dev/_sources/devel/gitwash/dot2_dot3.txt b/dev/_sources/devel/gitwash/dot2_dot3.txt
deleted file mode 100644
index 7759e2e60d6..00000000000
--- a/dev/_sources/devel/gitwash/dot2_dot3.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-.. _dot2-dot3:
-
-========================================
- Two and three dots in difference specs
-========================================
-
-Thanks to Yarik Halchenko for this explanation.
-
-Imagine a series of commits A, B, C, D... Imagine that there are two
-branches, *topic* and *master*. You branched *topic* off *master* when
-*master* was at commit 'E'. The graph of the commits looks like this::
-
-
- A---B---C topic
- /
- D---E---F---G master
-
-Then::
-
- git diff master..topic
-
-will output the difference from G to C (i.e. with effects of F and G),
-while::
-
- git diff master...topic
-
-would output just differences in the topic branch (i.e. only A, B, and
-C).
diff --git a/dev/_sources/devel/gitwash/following_latest.txt b/dev/_sources/devel/gitwash/following_latest.txt
deleted file mode 100644
index 4419abd82d6..00000000000
--- a/dev/_sources/devel/gitwash/following_latest.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-.. _following-latest:
-
-=============================
- Following the latest source
-=============================
-
-These are the instructions if you just want to follow the latest
-*matplotlib* source, but you don't need to do any development for now.
-
-The steps are:
-
-* :ref:`install-git`
-* get local copy of the git repository from github_
-* update local copy from time to time
-
-Get the local copy of the code
-==============================
-
-From the command line::
-
- git clone git://github.com/matplotlib/matplotlib.git
-
-You now have a copy of the code tree in the new ``matplotlib`` directory.
-
-Updating the code
-=================
-
-From time to time you may want to pull down the latest code. Do this with::
-
- cd matplotlib
- git pull
-
-The tree in ``matplotlib`` will now have the latest changes from the initial
-repository.
-
-.. include:: links.inc
diff --git a/dev/_sources/devel/gitwash/forking_hell.txt b/dev/_sources/devel/gitwash/forking_hell.txt
deleted file mode 100644
index 350d50e7fcc..00000000000
--- a/dev/_sources/devel/gitwash/forking_hell.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-.. _forking:
-
-==========================================
-Making your own copy (fork) of matplotlib
-==========================================
-
-You need to do this only once. The instructions here are very similar
-to the instructions at http://help.github.com/forking/ |emdash| please see
-that page for more detail. We're repeating some of it here just to give the
-specifics for the matplotlib_ project, and to suggest some default names.
-
-Set up and configure a github_ account
-======================================
-
-If you don't have a github_ account, go to the github_ page, and make one.
-
-You then need to configure your account to allow write access |emdash| see
-the ``Generating SSH keys`` help on `github help`_.
-
-Create your own forked copy of matplotlib_
-===========================================
-
-#. Log into your github_ account.
-#. Go to the matplotlib_ github home at `matplotlib github`_.
-#. Click on the *fork* button:
-
- .. image:: forking_button.png
-
- Now, after a short pause and some 'Hardcore forking action', you
- should find yourself at the home page for your own forked copy of matplotlib_.
-
-.. include:: links.inc
diff --git a/dev/_sources/devel/gitwash/git_development.txt b/dev/_sources/devel/gitwash/git_development.txt
deleted file mode 100644
index 3808ca9fa1c..00000000000
--- a/dev/_sources/devel/gitwash/git_development.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-.. _git-development:
-
-=====================
- Git for development
-=====================
-
-Contents:
-
-.. toctree::
- :maxdepth: 2
-
- forking_hell
- set_up_fork
- configure_git
- development_workflow
diff --git a/dev/_sources/devel/gitwash/git_install.txt b/dev/_sources/devel/gitwash/git_install.txt
deleted file mode 100644
index a87224d4e41..00000000000
--- a/dev/_sources/devel/gitwash/git_install.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-.. _install-git:
-
-=============
- Install git
-=============
-
-Overview
-========
-
-================ =============
-Debian / Ubuntu ``sudo apt-get install git-core``
-Fedora ``sudo yum install git-core``
-Windows Download and install msysGit_
-OS X Use the git-osx-installer_
-================ =============
-
-In detail
-=========
-
-See the git_ page for the most recent information.
-
-Have a look at the github_ install help pages available from `github help`_
-
-There are good instructions here: http://book.git-scm.com/2_installing_git.html
-
-.. include:: links.inc
diff --git a/dev/_sources/devel/gitwash/git_intro.txt b/dev/_sources/devel/gitwash/git_intro.txt
deleted file mode 100644
index 786eb84d5bd..00000000000
--- a/dev/_sources/devel/gitwash/git_intro.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-==============
- Introduction
-==============
-
-These pages describe a git_ and github_ workflow for the matplotlib_
-project.
-
-There are several different workflows here, for different ways of
-working with *matplotlib*.
-
-This is not a comprehensive git_ reference, it's just a workflow for our
-own project. It's tailored to the github_ hosting service. You may well
-find better or quicker ways of getting stuff done with git_, but these
-should get you started.
-
-For general resources for learning git_ see :ref:`git-resources`.
-
-.. include:: links.inc
diff --git a/dev/_sources/devel/gitwash/git_resources.txt b/dev/_sources/devel/gitwash/git_resources.txt
deleted file mode 100644
index e081328967a..00000000000
--- a/dev/_sources/devel/gitwash/git_resources.txt
+++ /dev/null
@@ -1,59 +0,0 @@
-.. _git-resources:
-
-================
- git_ resources
-================
-
-Tutorials and summaries
-=======================
-
-* `github help`_ has an excellent series of how-to guides.
-* `learn.github`_ has an excellent series of tutorials
-* The `pro git book`_ is a good in-depth book on git.
-* A `git cheat sheet`_ is a page giving summaries of common commands.
-* The `git user manual`_
-* The `git tutorial`_
-* The `git community book`_
-* `git ready`_ |emdash| a nice series of tutorials
-* `git casts`_ |emdash| video snippets giving git how-tos.
-* `git magic`_ |emdash| extended introduction with intermediate detail
-* The `git parable`_ is an easy read explaining the concepts behind git.
-* Our own `git foundation`_ expands on the `git parable`_.
-* Fernando Perez' git page |emdash| `Fernando's git page`_ |emdash| many
- links and tips
-* A good but technical page on `git concepts`_
-* `git svn crash course`_: git_ for those of us used to subversion_
-
-Advanced git workflow
-=====================
-
-There are many ways of working with git_; here are some posts on the
-rules of thumb that other projects have come up with:
-
-* Linus Torvalds on `git management`_
-* Linus Torvalds on `linux git workflow`_ . Summary; use the git tools
- to make the history of your edits as clean as possible; merge from
- upstream edits as little as possible in branches where you are doing
- active development.
-
-Manual pages online
-===================
-
-You can get these on your own machine with (e.g) ``git help push`` or
-(same thing) ``git push --help``, but, for convenience, here are the
-online manual pages for some common commands:
-
-* `git add`_
-* `git branch`_
-* `git checkout`_
-* `git clone`_
-* `git commit`_
-* `git config`_
-* `git diff`_
-* `git log`_
-* `git pull`_
-* `git push`_
-* `git remote`_
-* `git status`_
-
-.. include:: links.inc
diff --git a/dev/_sources/devel/gitwash/index.txt b/dev/_sources/devel/gitwash/index.txt
deleted file mode 100644
index 48053bc19b7..00000000000
--- a/dev/_sources/devel/gitwash/index.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-.. _using-git:
-
-Working with *matplotlib* source code
-======================================
-
-Contents:
-
-.. toctree::
- :maxdepth: 2
-
- git_intro
- git_install
- following_latest
- patching
- git_development
- git_resources
diff --git a/dev/_sources/devel/gitwash/patching.txt b/dev/_sources/devel/gitwash/patching.txt
deleted file mode 100644
index 6f7733125c8..00000000000
--- a/dev/_sources/devel/gitwash/patching.txt
+++ /dev/null
@@ -1,134 +0,0 @@
-================
- Making a patch
-================
-
-You've discovered a bug or something else you want to change
-in matplotlib_ .. |emdash| excellent!
-
-You've worked out a way to fix it |emdash| even better!
-
-You want to tell us about it |emdash| best of all!
-
-The easiest way is to make a *patch* or set of patches. Here
-we explain how. Making a patch is the simplest and quickest,
-but if you're going to be doing anything more than simple
-quick things, please consider following the
-:ref:`git-development` model instead.
-
-.. _making-patches:
-
-Making patches
-==============
-
-Overview
---------
-
-::
-
- # tell git who you are
- git config --global user.email you@yourdomain.example.com
- git config --global user.name "Your Name Comes Here"
- # get the repository if you don't have it
- git clone git://github.com/matplotlib/matplotlib.git
- # make a branch for your patching
- cd matplotlib
- git branch the-fix-im-thinking-of
- git checkout the-fix-im-thinking-of
- # hack, hack, hack
- # Tell git about any new files you've made
- git add somewhere/tests/test_my_bug.py
- # commit work in progress as you go
- git commit -am 'BF - added tests for Funny bug'
- # hack hack, hack
- git commit -am 'BF - added fix for Funny bug'
- # make the patch files
- git format-patch -M -C master
-
-Then, send the generated patch files to the `matplotlib
-mailing list`_ |emdash| where we will thank you warmly.
-
-In detail
----------
-
-#. Tell git_ who you are so it can label the commits you've
- made::
-
- git config --global user.email you@yourdomain.example.com
- git config --global user.name "Your Name Comes Here"
-
-#. If you don't already have one, clone a copy of the
- matplotlib_ repository::
-
- git clone git://github.com/matplotlib/matplotlib.git
- cd matplotlib
-
-#. Make a 'feature branch'. This will be where you work on
- your bug fix. It's nice and safe and leaves you with
- access to an unmodified copy of the code in the main
- branch::
-
- git branch the-fix-im-thinking-of
- git checkout the-fix-im-thinking-of
-
-#. Do some edits, and commit them as you go::
-
- # hack, hack, hack
- # Tell git about any new files you've made
- git add somewhere/tests/test_my_bug.py
- # commit work in progress as you go
- git commit -am 'BF - added tests for Funny bug'
- # hack hack, hack
- git commit -am 'BF - added fix for Funny bug'
-
- Note the ``-am`` options to ``commit``. The ``m`` flag just
- signals that you're going to type a message on the command
- line. The ``a`` flag |emdash| you can just take on faith |emdash|
- or see `why the -a flag?`_.
-
-#. When you have finished, check you have committed all your
- changes::
-
- git status
-
-#. Finally, make your commits into patches. You want all the
- commits since you branched from the ``master`` branch::
-
- git format-patch -M -C master
-
- You will now have several files named for the commits::
-
- 0001-BF-added-tests-for-Funny-bug.patch
- 0002-BF-added-fix-for-Funny-bug.patch
-
- Send these files to the `matplotlib mailing list`_.
-
-When you are done, to switch back to the main copy of the
-code, just return to the ``master`` branch::
-
- git checkout master
-
-Moving from patching to development
-===================================
-
-If you find you have done some patches, and you have one or
-more feature branches, you will probably want to switch to
-development mode. You can do this with the repository you
-have.
-
-Fork the matplotlib_ repository on github_ |emdash| :ref:`forking`.
-Then::
-
- # checkout and refresh master branch from main repo
- git checkout master
- git pull origin master
- # rename pointer to main repository to 'upstream'
- git remote rename origin upstream
- # point your repo to default read / write to your fork on github
- git remote add origin git@github.com:your-user-name/matplotlib.git
- # push up any branches you've made and want to keep
- git push origin the-fix-im-thinking-of
-
-Then you can, if you want, follow the
-:ref:`development-workflow`.
-
-.. include:: links.inc
diff --git a/dev/_sources/devel/gitwash/set_up_fork.txt b/dev/_sources/devel/gitwash/set_up_fork.txt
deleted file mode 100644
index 0ebc5f32ced..00000000000
--- a/dev/_sources/devel/gitwash/set_up_fork.txt
+++ /dev/null
@@ -1,72 +0,0 @@
-.. _set-up-fork:
-
-==================
- Set up your fork
-==================
-
-First you follow the instructions for :ref:`forking`.
-
-Overview
-========
-
-::
-
- git clone git@github.com:your-user-name/matplotlib.git
- cd matplotlib
- git remote add upstream git://github.com/matplotlib/matplotlib.git
-
-In detail
-=========
-
-Clone your fork
----------------
-
-#. Clone your fork to the local computer with ``git clone
- git@github.com:your-user-name/matplotlib.git``
-#. Investigate. Change directory to your new repo: ``cd matplotlib``. Then
- ``git branch -a`` to show you all branches. You'll get something
- like::
-
- * master
- remotes/origin/master
-
- This tells you that you are currently on the ``master`` branch, and
- that you also have a ``remote`` connection to ``origin/master``.
- What remote repository is ``remote/origin``? Try ``git remote -v`` to
- see the URLs for the remote. They will point to your github_ fork.
-
- Now you want to connect to the upstream `matplotlib github`_ repository, so
- you can merge in changes from trunk.
-
-.. _linking-to-upstream:
-
-Linking your repository to the upstream repo
---------------------------------------------
-
-::
-
- cd matplotlib
- git remote add upstream git://github.com/matplotlib/matplotlib.git
-
-``upstream`` here is just the arbitrary name we're using to refer to the
-main matplotlib_ repository at `matplotlib github`_.
-
-Note that we've used ``git://`` for the URL rather than ``git@``. The
-``git://`` URL is read only. This means we that we can't accidentally
-(or deliberately) write to the upstream repo, and we are only going to
-use it to merge into our own code.
-
-Note this command needs to be run on every clone of the repository
-that you make. It is not tracked in your personal repository on
-github_.
-
-Just for your own satisfaction, show yourself that you now have a new
-'remote', with ``git remote -v show``, giving you something like::
-
- upstream git://github.com/matplotlib/matplotlib.git (fetch)
- upstream git://github.com/matplotlib/matplotlib.git (push)
- origin git@github.com:your-user-name/matplotlib.git (fetch)
- origin git@github.com:your-user-name/matplotlib.git (push)
-
-.. include:: links.inc
-
diff --git a/dev/_sources/devel/index.txt b/dev/_sources/devel/index.txt
deleted file mode 100644
index bc766166019..00000000000
--- a/dev/_sources/devel/index.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-.. _developers-guide-index:
-
-####################################
- The Matplotlib Developers' Guide
-####################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 2
-
- coding_guide.rst
- license.rst
- gitwash/index.rst
- testing.rst
- documenting_mpl.rst
- release_guide.rst
- transformations.rst
- add_new_projection.rst
diff --git a/dev/_sources/devel/license.txt b/dev/_sources/devel/license.txt
deleted file mode 100644
index aea9d7c4f4b..00000000000
--- a/dev/_sources/devel/license.txt
+++ /dev/null
@@ -1,69 +0,0 @@
-.. _license-discussion:
-
-Licenses
-========
-
-Matplotlib only uses BSD compatible code. If you bring in code from
-another project make sure it has a PSF, BSD, MIT or compatible license
-(see the Open Source Initiative `licenses page
-`_ for details on individual
-licenses). If it doesn't, you may consider contacting the author and
-asking them to relicense it. GPL and LGPL code are not acceptable in
-the main code base, though we are considering an alternative way of
-distributing L/GPL code through an separate channel, possibly a
-toolkit. If you include code, make sure you include a copy of that
-code's license in the license directory if the code's license requires
-you to distribute the license with it. Non-BSD compatible licenses
-are acceptable in matplotlib toolkits (eg basemap), but make sure you
-clearly state the licenses you are using.
-
-Why BSD compatible?
--------------------
-
-The two dominant license variants in the wild are GPL-style and
-BSD-style. There are countless other licenses that place specific
-restrictions on code reuse, but there is an important difference to be
-considered in the GPL and BSD variants. The best known and perhaps
-most widely used license is the GPL, which in addition to granting you
-full rights to the source code including redistribution, carries with
-it an extra obligation. If you use GPL code in your own code, or link
-with it, your product must be released under a GPL compatible
-license. I.e., you are required to give the source code to other
-people and give them the right to redistribute it as well. Many of the
-most famous and widely used open source projects are released under
-the GPL, including linux, gcc, emacs and sage.
-
-The second major class are the BSD-style licenses (which includes MIT
-and the python PSF license). These basically allow you to do whatever
-you want with the code: ignore it, include it in your own open source
-project, include it in your proprietary product, sell it,
-whatever. python itself is released under a BSD compatible license, in
-the sense that, quoting from the PSF license page::
-
- There is no GPL-like "copyleft" restriction. Distributing
- binary-only versions of Python, modified or not, is allowed. There
- is no requirement to release any of your source code. You can also
- write extension modules for Python and provide them only in binary
- form.
-
-Famous projects released under a BSD-style license in the permissive
-sense of the last paragraph are the BSD operating system, python and
-TeX.
-
-There are several reasons why early matplotlib developers selected a
-BSD compatible license. matplotlib is a python extension, and we
-choose a license that was based on the python license (BSD
-compatible). Also, we wanted to attract as many users and developers
-as possible, and many software companies will not use GPL code in
-software they plan to distribute, even those that are highly committed
-to open source development, such as `enthought
-`_, out of legitimate concern that use of the
-GPL will "infect" their code base by its viral nature. In effect, they
-want to retain the right to release some proprietary code. Companies
-and institutions who use matplotlib often make significant
-contributions, because they have the resources to get a job done, even
-a boring one. Two of the matplotlib backends (FLTK and WX) were
-contributed by private companies. The final reason behind the
-licensing choice is compatibility with the other python extensions for
-scientific computing: ipython, numpy, scipy, the enthought tool suite
-and python itself are all distributed under BSD compatible licenses.
diff --git a/dev/_sources/devel/release_guide.txt b/dev/_sources/devel/release_guide.txt
deleted file mode 100644
index 7e41f6b89e5..00000000000
--- a/dev/_sources/devel/release_guide.txt
+++ /dev/null
@@ -1,233 +0,0 @@
-.. _release-guide:
-
-*************************
-Doing a matplotlib release
-*************************
-
-A guide for developers who are doing a matplotlib release.
-
-* Edit :file:`__init__.py` and bump the version number
-
-.. _release-testing:
-
-Testing
-=======
-
-* Run all of the regression tests by running the `tests.py` script at
- the root of the source tree.
-
-* Run :file:`unit/memleak_hawaii3.py` and make sure there are no
- memory leaks
-
-* try some GUI examples, eg :file:`simple_plot.py` with GTKAgg, TkAgg, etc...
-
-* remove font cache and tex cache from :file:`.matplotlib` and test
- with and without cache on some example script
-
-* Optionally, make sure :file:`examples/tests/backend_driver.py` runs
- without errors and check the output of the PNG, PDF, PS and SVG
- backends
-
-.. _release-branching:
-
-Branching
-=========
-
-Once all the tests are passing and you are ready to do a release, you
-need to create a release branch. These only need to be created when
-the second part of the version number changes::
-
- git checkout -b v1.1.x
- git push git@github.com:matplotlib/matplotlib.git v1.1.x
-
-On the branch, do any additional testing you want to do, and then build
-binaries and source distributions for testing as release candidates.
-
-For each release candidate as well as for the final release version,
-please `git tag` the commit you will use for packaging like so::
-
- git tag -a v1.1.0rc1
-
-The `-a` flag will allow you to write a message about the tag, and
-affiliate your name with it. A reasonable tag message would be something
-like ``v1.1.0 Release Candidate 1 (September 24, 2011)``. To tag a
-release after the fact, just track down the commit hash, and::
-
- git tag -a v1.0.1rc1 a9f3f3a50745
-
-Tags allow developers to quickly checkout different releases by name,
-and also provides source download via zip and tarball on github.
-
-Then push the tags to the main repository::
-
- git push upstream v1.0.1rc1
-
-.. _release-packaging:
-
-Packaging
-=========
-
-* Make sure the :file:`MANIFEST.in` is up to date and remove
- :file:`MANIFEST` so it will be rebuilt by MANIFEST.in
-
-* run `git clean` in the mpl git directory before building the sdist
-
-* unpack the sdist and make sure you can build from that directory
-
-* Use :file:`setup.cfg` to set the default backends. For windows and
- OSX, the default backend should be TkAgg. You should also turn on
- or off any platform specific build options you need. Importantly,
- you also need to make sure that you delete the :file:`build` dir
- after any changes to :file:`setup.cfg` before rebuilding since cruft
- in the :file:`build` dir can get carried along.
-
-* On windows, unix2dos the rc file.
-
-* We have a Makefile for the OS X builds in the mpl source dir
- :file:`release/osx`, so use this to prepare the OS X releases.
-
-* We have a Makefile for the win32 mingw builds in the mpl source dir
- :file:`release/win32` which you can use this to prepare the windows
- releases.
-
-Posting files
-=============
-
-Our current method is for the release manager to collect all of the
-binaries from the platform builders and post the files online on
-Sourceforge. It is also possible that those building the binaries
-could upload to directly to Sourceforge.
-
-There are many ways to upload files to Sourceforge (`scp`, `rsync`,
-`sftp`, and a web interface) described in `Sourceforge Release File
-System documentation
-`_.
-Below, we will use `sftp`.
-
-1. Create a directory containing all of the release files and `cd` to it.
-
-2. `sftp` to Sourceforge::
-
- sftp USERNAME@frs.sourceforge.net:/home/frs/project/matplotlib/matplotlib
-
-3. Make a new directory for the release and move to it::
-
- mkdir matplotlib-1.1.0rc1
- cd matplotlib-1.1.0rc1
-
-4. Upload all of the files in the current directory on your local machine::
-
- put *
-
-If this release is a final release, the default download for the
-matplotlib project should also be updated. Login to Sourceforge and
-visit the `matplotlib files page
-`_.
-Navigate to the tarball of the release you just updated, click on
-"Details" icon (it looks like a lower case ``i``), and make it the
-default download for all platforms.
-
-There is a list of direct links to downloads on matplotlib's main
-website. This needs to be manually generated and updated every time
-new files are posted.
-
-1. Clone the matplotlib documentation repository and `cd` into it::
-
- git clone git@github.com:matplotlib/matplotlib.github.com.git
- cd matplotlib.github.com
-
-2. Update the list of downloads that you want to display by editing
- the `downloads.txt` file. Generally, this should contain the last two
- final releases and any active release candidates.
-
-3. Update the downloads webpage by running the `update_downloads.py`
- script. This script requires `paramiko` (for `sftp` support) and
- `jinja2` for templating. Both of these dependencies can be
- installed using pip::
-
- pip install paramiko
- pip install jinja2
-
- Then update the download page::
-
- ./update_downloads.py
-
- You will be prompted for your Sourceforge username and password.
-
-4. Commit the changes and push them up to github::
-
- git commit -m "Updating download list"
- git push
-
-Update PyPI
-===========
-
-Once the tarball has been posted on Sourceforge, you can register a
-link to the new release on PyPI. This should only be done with final
-(non-release-candidate) releases, since doing so will hide any
-available stable releases.
-
-You may need to set up your `.pypirc` file as described in the
-`distutils register command documentation
-`_.
-
-Then updating the record on PyPI is as simple as::
-
- python setup.py register
-
-This will hide any previous releases automatically.
-
-Documentation updates
-=====================
-
-The built documentation exists in the `matplotlib.github.com
-`_ repository.
-Pushing changes to master automatically updates the website.
-
-The documentation is organized by version. At the root of the tree is
-always the documentation for the latest stable release. Under that,
-there are directories containing the documentation for older versions
-as well as the bleeding edge release version called `dev` (usually
-based on what's on master in the github repository, but it may also
-temporarily be a staging area for proposed changes). There is also a
-symlink directory with the name of the most recently released version
-that points to the root. With each new release, these directories may
-need to be reorganized accordingly. Any time these version
-directories are added or removed, the `versions.html` file (which
-contains a list of the available documentation versions for the user)
-must also be updated.
-
-To make sure everyone's hard work gets credited, regenerate the github
-stats. `cd` into the tools directory and run::
-
- python github_stats.py $TAG > ../doc/users/github_stats.rst
-
-where `$TAG` is the tag of the last major release. This will generate
-stats for all work done since that release.
-
-In the matplotlib source repository, build the documentation::
-
- cd doc
- python make.py html
- python make.py latex
-
-Then copy the build products into your local checkout of the
-`matplotlib.github.com` repository (assuming here to be checked out in
-`~/matplotlib.github.com`::
-
- cp -r build/html/* ~/matplotlib.github.com
- cp build/latex/Matplotlib.pdf ~/matplotlib.github.com
-
-Then, from the `matplotlib.github.com` directory, commit and push the
-changes upstream::
-
- git commit -m "Updating for v1.0.1"
- git push upstream master
-
-Announcing
-==========
-
-Announce the release on matplotlib-announce, matplotlib-users, and
-matplotlib-devel. Final (non-release-candidate) versions should also
-be announced on python-announce. Include a summary of highlights from
-the CHANGELOG and/or post the whole CHANGELOG since the last release.
diff --git a/dev/_sources/devel/testing.txt b/dev/_sources/devel/testing.txt
deleted file mode 100644
index 7d778041c68..00000000000
--- a/dev/_sources/devel/testing.txt
+++ /dev/null
@@ -1,251 +0,0 @@
-.. _testing:
-
-Testing
-=======
-
-Matplotlib has a testing infrastructure based on nose_, making it easy
-to write new tests. The tests are in :mod:`matplotlib.tests`, and
-customizations to the nose testing infrastructure are in
-:mod:`matplotlib.testing`. (There is other old testing cruft around,
-please ignore it while we consolidate our testing to these locations.)
-
-.. _nose: http://somethingaboutorange.com/mrl/projects/nose/
-
-Requirements
-------------
-
-The following software is required to run the tests:
-
- - nose_, version 1.0 or later
-
- - `Ghostscript `_ (to render PDF
- files)
-
- - `Inkscape `_ (to render SVG files)
-
-Running the tests
------------------
-
-Running the tests is simple. Make sure you have nose installed and run
-the script :file:`tests.py` in the root directory of the distribution.
-The script can take any of the usual `nosetest arguments`_, such as
-
-=================== ===========
-``-v`` increase verbosity
-``-d`` detailed error messages
-``--with-coverage`` enable collecting coverage information
-=================== ===========
-
-To run a single test from the command line, you can provide a
-dot-separated path to the module followed by the function separated by
-a colon, e.g., (this is assuming the test is installed)::
-
- python tests.py matplotlib.tests.test_simplification:test_clipping
-
-An alternative implementation that does not look at command line
-arguments works from within Python::
-
- import matplotlib
- matplotlib.test()
-
-
-.. _`nosetest arguments`: http://somethingaboutorange.com/mrl/projects/nose/1.0.0/usage.html
-
-
-Running tests by any means other than `matplotlib.test()`
-does not load the nose "knownfailureif" (Known failing tests) plugin,
-causing known-failing tests to fail for real.
-
-Writing a simple test
----------------------
-
-Many elements of Matplotlib can be tested using standard tests. For
-example, here is a test from :mod:`matplotlib.tests.test_basic`::
-
- from nose.tools import assert_equal
-
- def test_simple():
- """
- very simple example test
- """
- assert_equal(1+1,2)
-
-Nose determines which functions are tests by searching for functions
-beginning with "test" in their name.
-
-If the test has side effects that need to be cleaned up, such as
-creating figures using the pyplot interface, use the ``@cleanup``
-decorator::
-
- from matplotlib.testing.decorators import cleanup
-
- @cleanup
- def test_create_figure():
- """
- very simple example test that creates a figure using pyplot.
- """
- fig = figure()
- ...
-
-
-Writing an image comparison test
---------------------------------
-
-Writing an image based test is only slightly more difficult than a
-simple test. The main consideration is that you must specify the
-"baseline", or expected, images in the
-:func:`~matplotlib.testing.decorators.image_comparison` decorator. For
-example, this test generates a single image and automatically tests
-it::
-
- import numpy as np
- import matplotlib
- from matplotlib.testing.decorators import image_comparison
- import matplotlib.pyplot as plt
-
- @image_comparison(baseline_images=['spines_axes_positions'])
- def test_spines_axes_positions():
- # SF bug 2852168
- fig = plt.figure()
- x = np.linspace(0,2*np.pi,100)
- y = 2*np.sin(x)
- ax = fig.add_subplot(1,1,1)
- ax.set_title('centered spines')
- ax.plot(x,y)
- ax.spines['right'].set_position(('axes',0.1))
- ax.yaxis.set_ticks_position('right')
- ax.spines['top'].set_position(('axes',0.25))
- ax.xaxis.set_ticks_position('top')
- ax.spines['left'].set_color('none')
- ax.spines['bottom'].set_color('none')
-
-The first time this test is run, there will be no baseline image to
-compare against, so the test will fail. Copy the output images (in
-this case `result_images/test_category/spines_axes_positions.*`) to
-the correct subdirectory of `baseline_images` tree in the source
-directory (in this case
-`lib/matplotlib/tests/baseline_images/test_category`). Note carefully
-the `.*` at the end: this will copy only the images we need to include
-in the `git` repository. The files ending in `_pdf.png` and
-`_svg.png` are converted from the `pdf` and `svg` originals on the fly
-and do not need to be in the respository. Put these new files under
-source code revision control (with `git add`). When rerunning the
-tests, they should now pass.
-
-There are two optional keyword arguments to the `image_comparison`
-decorator:
-
- - `extensions`: If you only wish to test some of the image formats
- (rather than the default `png`, `svg` and `pdf` formats), pass a
- list of the extensions to test.
-
- - `tol`: This is the image matching tolerance, the default `1e-3`.
- If some variation is expected in the image between runs, this
- value may be adjusted.
-
-Known failing tests
--------------------
-
-If you're writing a test, you may mark it as a known failing test with
-the :func:`~matplotlib.testing.decorators.knownfailureif`
-decorator. This allows the test to be added to the test suite and run
-on the buildbots without causing undue alarm. For example, although
-the following test will fail, it is an expected failure::
-
- from nose.tools import assert_equal
- from matplotlib.testing.decorators import knownfailureif
-
- @knownfailureif(True)
- def test_simple_fail():
- '''very simple example test that should fail'''
- assert_equal(1+1,3)
-
-Note that the first argument to the
-:func:`~matplotlib.testing.decorators.knownfailureif` decorator is a
-fail condition, which can be a value such as True, False, or
-'indeterminate', or may be a dynamically evaluated expression.
-
-Creating a new module in matplotlib.tests
------------------------------------------
-
-We try to keep the tests categorized by the primary module they are
-testing. For example, the tests related to the ``mathtext.py`` module
-are in ``test_mathtext.py``.
-
-Let's say you've added a new module named ``whizbang.py`` and you want
-to add tests for it in ``matplotlib.tests.test_whizbang``. To add
-this module to the list of default tests, append its name to
-``default_test_modules`` in :file:`lib/matplotlib/__init__.py`.
-
-Using tox
----------
-
-`Tox `_ is a tool for running tests against
-multiple Python environments, including multiple versions of Python
-(e.g., 2.6, 2.7, 3.2, etc.) and even different Python implementations
-altogether (e.g., CPython, PyPy, Jython, etc.)
-
-Testing all 4 versions of Python (2.6, 2.7, 3.1, and 3.2) requires
-having four versions of Python installed on your system and on the
-PATH. Depending on your operating system, you may want to use your
-package manager (such as apt-get, yum or MacPorts) to do this, or use
-`pythonbrew `_.
-
-tox makes it easy to determine if your working copy introduced any
-regressions before submitting a pull request. Here's how to use it:
-
-.. code-block:: bash
-
- $ pip install tox
- $ tox
-
-You can also run tox on a subset of environments:
-
-.. code-block:: bash
-
- $ tox -e py26,py27
-
-Tox processes everything serially so it can take a long time to test
-several environments. To speed it up, you might try using a new,
-parallelized version of tox called ``detox``. Give this a try:
-
-.. code-block:: bash
-
- $ pip install -U -i http://pypi.testrun.org detox
- $ detox
-
-Tox is configured using a file called ``tox.ini``. You may need to
-edit this file if you want to add new environments to test (e.g.,
-``py33``) or if you want to tweak the dependencies or the way the
-tests are run. For more info on the ``tox.ini`` file, see the `Tox
-Configuration Specification
-`_.
-
-Using Travis CI
----------------
-
-`Travis CI `_ is a hosted CI system "in the
-cloud".
-
-Travis is configured to receive notifications of new commits to GitHub
-repos (via GitHub "service hooks") and to run builds or tests when it
-sees these new commits. It looks for a YAML file called
-``.travis.yml`` in the root of the repository to see how to test the
-project.
-
-Travis CI is already enabled for the `main matplotlib GitHub
-repository `_ -- for
-example, see `its Travis page
-`_.
-
-If you want to enable Travis CI for your personal matplotlib GitHub
-repo, simply enable the repo to use Travis CI in either the Travis CI
-UI or the GitHub UI (Admin | Service Hooks). For details, see `the
-Travis CI Getting Started page
-`_. This
-generally isn't necessary, since any pull request submitted against
-the main matplotlib repository will be tested.
-
-Once this is configured, you can see the Travis CI results at
-http://travis-ci.org/#!/your_GitHub_user_name/matplotlib -- here's `an
-example `_.
diff --git a/dev/_sources/devel/transformations.txt b/dev/_sources/devel/transformations.txt
deleted file mode 100644
index 1164031094f..00000000000
--- a/dev/_sources/devel/transformations.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-==============================
- Working with transformations
-==============================
-
-.. inheritance-diagram:: matplotlib.transforms matplotlib.path
- :parts: 1
-
-:mod:`matplotlib.transforms`
-=============================
-
-.. automodule:: matplotlib.transforms
- :members: TransformNode, BboxBase, Bbox, TransformedBbox, Transform,
- TransformWrapper, AffineBase, Affine2DBase, Affine2D, IdentityTransform,
- BlendedGenericTransform, BlendedAffine2D, blended_transform_factory,
- CompositeGenericTransform, CompositeAffine2D,
- composite_transform_factory, BboxTransform, BboxTransformTo,
- BboxTransformFrom, ScaledTranslation, TransformedPath, nonsingular,
- interval_contains, interval_contains_open
- :show-inheritance:
-
diff --git a/dev/_sources/examples/animation/animate_decay.txt b/dev/_sources/examples/animation/animate_decay.txt
deleted file mode 100644
index 15d0b970cc4..00000000000
--- a/dev/_sources/examples/animation/animate_decay.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-.. _animation-animate_decay:
-
-animation example code: animate_decay.py
-========================================
-
-[`source code `_]
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.animation as animation
-
- def data_gen():
- t = data_gen.t
- cnt = 0
- while cnt < 1000:
- cnt+=1
- t += 0.05
- yield t, np.sin(2*np.pi*t) * np.exp(-t/10.)
- data_gen.t = 0
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- line, = ax.plot([], [], lw=2)
- ax.set_ylim(-1.1, 1.1)
- ax.set_xlim(0, 5)
- ax.grid()
- xdata, ydata = [], []
- def run(data):
- # update the data
- t,y = data
- xdata.append(t)
- ydata.append(y)
- xmin, xmax = ax.get_xlim()
-
- if t >= xmax:
- ax.set_xlim(xmin, 2*xmax)
- ax.figure.canvas.draw()
- line.set_data(xdata, ydata)
-
- return line,
-
- ani = animation.FuncAnimation(fig, run, data_gen, blit=True, interval=10,
- repeat=False)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/basic_example.txt b/dev/_sources/examples/animation/basic_example.txt
deleted file mode 100644
index c257414d632..00000000000
--- a/dev/_sources/examples/animation/basic_example.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-.. _animation-basic_example:
-
-animation example code: basic_example.py
-========================================
-
-[`source code `_]
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.animation as animation
-
- def update_line(num, data, line):
- line.set_data(data[...,:num])
- return line,
-
- fig1 = plt.figure()
-
- data = np.random.rand(2, 25)
- l, = plt.plot([], [], 'r-')
- plt.xlim(0, 1)
- plt.ylim(0, 1)
- plt.xlabel('x')
- plt.title('test')
- line_ani = animation.FuncAnimation(fig1, update_line, 25, fargs=(data, l),
- interval=50, blit=True)
- #line_ani.save('lines.mp4')
-
- fig2 = plt.figure()
-
- x = np.arange(-9, 10)
- y = np.arange(-9, 10).reshape(-1, 1)
- base = np.hypot(x, y)
- ims = []
- for add in np.arange(15):
- ims.append((plt.pcolor(x, y, base + add, norm=plt.Normalize(0, 30)),))
-
- im_ani = animation.ArtistAnimation(fig2, ims, interval=50, repeat_delay=3000,
- blit=True)
- #im_ani.save('im.mp4', metadata={'artist':'Guido'})
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/basic_example_writer.txt b/dev/_sources/examples/animation/basic_example_writer.txt
deleted file mode 100644
index 72cd0bb5a89..00000000000
--- a/dev/_sources/examples/animation/basic_example_writer.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-.. _animation-basic_example_writer:
-
-animation example code: basic_example_writer.py
-===============================================
-
-[`source code `_]
-
-::
-
- # Same as basic_example, but writes files using a single MovieWriter instance
- # without putting on screen
- # -*- noplot -*-
- import numpy as np
- import matplotlib
- matplotlib.use("Agg")
- import matplotlib.pyplot as plt
- import matplotlib.animation as animation
-
- def update_line(num, data, line):
- line.set_data(data[...,:num])
- return line,
-
- # Set up formatting for the movie files
- Writer = animation.writers['ffmpeg']
- writer = Writer(fps=15, metadata=dict(artist='Me'), bitrate=1800)
-
-
- fig1 = plt.figure()
-
- data = np.random.rand(2, 25)
- l, = plt.plot([], [], 'r-')
- plt.xlim(0, 1)
- plt.ylim(0, 1)
- plt.xlabel('x')
- plt.title('test')
- line_ani = animation.FuncAnimation(fig1, update_line, 25, fargs=(data, l),
- interval=50, blit=True)
- line_ani.save('lines.mp4', writer=writer)
-
- fig2 = plt.figure()
-
- x = np.arange(-9, 10)
- y = np.arange(-9, 10).reshape(-1, 1)
- base = np.hypot(x, y)
- ims = []
- for add in np.arange(15):
- ims.append((plt.pcolor(x, y, base + add, norm=plt.Normalize(0, 30)),))
-
- im_ani = animation.ArtistAnimation(fig2, ims, interval=50, repeat_delay=3000,
- blit=True)
- im_ani.save('im.mp4', writer=writer)
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/bayes_update.txt b/dev/_sources/examples/animation/bayes_update.txt
deleted file mode 100644
index 4edcfe3e3b8..00000000000
--- a/dev/_sources/examples/animation/bayes_update.txt
+++ /dev/null
@@ -1,59 +0,0 @@
-.. _animation-bayes_update:
-
-animation example code: bayes_update.py
-=======================================
-
-[`source code `_]
-
-::
-
- # update a distribution based on new data.
- import numpy as np
- import matplotlib.pyplot as plt
- import scipy.stats as ss
- from matplotlib.animation import FuncAnimation
-
- class UpdateDist(object):
- def __init__(self, ax, prob=0.5):
- self.success = 0
- self.prob = prob
- self.line, = ax.plot([], [], 'k-')
- self.x = np.linspace(0, 1, 200)
- self.ax = ax
-
- # Set up plot parameters
- self.ax.set_xlim(0, 1)
- self.ax.set_ylim(0, 15)
- self.ax.grid(True)
-
- # This vertical line represents the theoretical value, to
- # which the plotted distribution should converge.
- self.ax.axvline(prob, linestyle='--', color='black')
-
- def init(self):
- self.success = 0
- self.line.set_data([], [])
- return self.line,
-
- def __call__(self, i):
- # This way the plot can continuously run and we just keep
- # watching new realizations of the process
- if i == 0:
- return self.init()
-
- # Choose success based on exceed a threshold with a uniform pick
- if np.random.rand(1,) < self.prob:
- self.success += 1
- y = ss.beta.pdf(self.x, self.success + 1, (i - self.success) + 1)
- self.line.set_data(self.x, y)
- return self.line,
-
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1)
- ud = UpdateDist(ax, prob=0.7)
- anim = FuncAnimation(fig, ud, frames=np.arange(100), init_func=ud.init,
- interval=100, blit=True)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/double_pendulum_animated.txt b/dev/_sources/examples/animation/double_pendulum_animated.txt
deleted file mode 100644
index ba7837d7b03..00000000000
--- a/dev/_sources/examples/animation/double_pendulum_animated.txt
+++ /dev/null
@@ -1,100 +0,0 @@
-.. _animation-double_pendulum_animated:
-
-animation example code: double_pendulum_animated.py
-===================================================
-
-[`source code `_]
-
-::
-
- # Double pendulum formula translated from the C code at
- # http://www.physics.usyd.edu.au/~wheat/dpend_html/solve_dpend.c
-
- from numpy import sin, cos, pi, array
- import numpy as np
- import matplotlib.pyplot as plt
- import scipy.integrate as integrate
- import matplotlib.animation as animation
-
- G = 9.8 # acceleration due to gravity, in m/s^2
- L1 = 1.0 # length of pendulum 1 in m
- L2 = 1.0 # length of pendulum 2 in m
- M1 = 1.0 # mass of pendulum 1 in kg
- M2 = 1.0 # mass of pendulum 2 in kg
-
-
- def derivs(state, t):
-
- dydx = np.zeros_like(state)
- dydx[0] = state[1]
-
- del_ = state[2]-state[0]
- den1 = (M1+M2)*L1 - M2*L1*cos(del_)*cos(del_)
- dydx[1] = (M2*L1*state[1]*state[1]*sin(del_)*cos(del_)
- + M2*G*sin(state[2])*cos(del_) + M2*L2*state[3]*state[3]*sin(del_)
- - (M1+M2)*G*sin(state[0]))/den1
-
- dydx[2] = state[3]
-
- den2 = (L2/L1)*den1
- dydx[3] = (-M2*L2*state[3]*state[3]*sin(del_)*cos(del_)
- + (M1+M2)*G*sin(state[0])*cos(del_)
- - (M1+M2)*L1*state[1]*state[1]*sin(del_)
- - (M1+M2)*G*sin(state[2]))/den2
-
- return dydx
-
- # create a time array from 0..100 sampled at 0.1 second steps
- dt = 0.05
- t = np.arange(0.0, 20, dt)
-
- # th1 and th2 are the initial angles (degrees)
- # w10 and w20 are the initial angular velocities (degrees per second)
- th1 = 120.0
- w1 = 0.0
- th2 = -10.0
- w2 = 0.0
-
- rad = pi/180
-
- # initial state
- state = np.array([th1, w1, th2, w2])*pi/180.
-
- # integrate your ODE using scipy.integrate.
- y = integrate.odeint(derivs, state, t)
-
- x1 = L1*sin(y[:,0])
- y1 = -L1*cos(y[:,0])
-
- x2 = L2*sin(y[:,2]) + x1
- y2 = -L2*cos(y[:,2]) + y1
-
- fig = plt.figure()
- ax = fig.add_subplot(111, autoscale_on=False, xlim=(-2, 2), ylim=(-2, 2))
- ax.grid()
-
- line, = ax.plot([], [], 'o-', lw=2)
- time_template = 'time = %.1fs'
- time_text = ax.text(0.05, 0.9, '', transform=ax.transAxes)
-
- def init():
- line.set_data([], [])
- time_text.set_text('')
- return line, time_text
-
- def animate(i):
- thisx = [0, x1[i], x2[i]]
- thisy = [0, y1[i], y2[i]]
-
- line.set_data(thisx, thisy)
- time_text.set_text(time_template%(i*dt))
- return line, time_text
-
- ani = animation.FuncAnimation(fig, animate, np.arange(1, len(y)),
- interval=25, blit=True, init_func=init)
-
- #ani.save('double_pendulum.mp4', fps=15, clear_temp=True)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/dynamic_image.txt b/dev/_sources/examples/animation/dynamic_image.txt
deleted file mode 100644
index 00a56fc42ab..00000000000
--- a/dev/_sources/examples/animation/dynamic_image.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-.. _animation-dynamic_image:
-
-animation example code: dynamic_image.py
-========================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
- """
- An animated image
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.animation as animation
-
- fig = plt.figure()
-
- def f(x, y):
- return np.sin(x) + np.cos(y)
-
- x = np.linspace(0, 2 * np.pi, 120)
- y = np.linspace(0, 2 * np.pi, 100).reshape(-1, 1)
-
- im = plt.imshow(f(x, y), cmap=plt.get_cmap('jet'))
-
- def updatefig(*args):
- global x,y
- x += np.pi / 15.
- y += np.pi / 20.
- im.set_array(f(x,y))
- return im,
-
- ani = animation.FuncAnimation(fig, updatefig, interval=50, blit=True)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/dynamic_image2.txt b/dev/_sources/examples/animation/dynamic_image2.txt
deleted file mode 100644
index 71848d840d5..00000000000
--- a/dev/_sources/examples/animation/dynamic_image2.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-.. _animation-dynamic_image2:
-
-animation example code: dynamic_image2.py
-=========================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
- """
- An animated image
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.animation as animation
-
- fig = plt.figure()
-
- def f(x, y):
- return np.sin(x) + np.cos(y)
-
- x = np.linspace(0, 2 * np.pi, 120)
- y = np.linspace(0, 2 * np.pi, 100).reshape(-1, 1)
- # ims is a list of lists, each row is a list of artists to draw in the
- # current frame; here we are just animating one artist, the image, in
- # each frame
- ims = []
- for i in range(60):
- x += np.pi / 15.
- y += np.pi / 20.
- im = plt.imshow(f(x, y))
- ims.append([im])
-
- ani = animation.ArtistAnimation(fig, ims, interval=50, blit=True,
- repeat_delay=1000)
-
- #ani.save('dynamic_images.mp4')
-
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/histogram.txt b/dev/_sources/examples/animation/histogram.txt
deleted file mode 100644
index 2186041e480..00000000000
--- a/dev/_sources/examples/animation/histogram.txt
+++ /dev/null
@@ -1,74 +0,0 @@
-.. _animation-histogram:
-
-animation example code: histogram.py
-====================================
-
-[`source code `_]
-
-::
-
- """
- This example shows how to use a path patch to draw a bunch of
- rectangles for an animated histogram
- """
- import numpy as np
-
- import matplotlib.pyplot as plt
- import matplotlib.patches as patches
- import matplotlib.path as path
- import matplotlib.animation as animation
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- # histogram our data with numpy
- data = np.random.randn(1000)
- n, bins = np.histogram(data, 100)
-
- # get the corners of the rectangles for the histogram
- left = np.array(bins[:-1])
- right = np.array(bins[1:])
- bottom = np.zeros(len(left))
- top = bottom + n
- nrects = len(left)
-
- # here comes the tricky part -- we have to set up the vertex and path
- # codes arrays using moveto, lineto and closepoly
-
- # for each rect: 1 for the MOVETO, 3 for the LINETO, 1 for the
- # CLOSEPOLY; the vert for the closepoly is ignored but we still need
- # it to keep the codes aligned with the vertices
- nverts = nrects*(1+3+1)
- verts = np.zeros((nverts, 2))
- codes = np.ones(nverts, int) * path.Path.LINETO
- codes[0::5] = path.Path.MOVETO
- codes[4::5] = path.Path.CLOSEPOLY
- verts[0::5,0] = left
- verts[0::5,1] = bottom
- verts[1::5,0] = left
- verts[1::5,1] = top
- verts[2::5,0] = right
- verts[2::5,1] = top
- verts[3::5,0] = right
- verts[3::5,1] = bottom
-
- barpath = path.Path(verts, codes)
- patch = patches.PathPatch(barpath, facecolor='green', edgecolor='yellow', alpha=0.5)
- ax.add_patch(patch)
-
- ax.set_xlim(left[0], right[-1])
- ax.set_ylim(bottom.min(), top.max())
-
- def animate(i):
- # simulate new data coming in
- data = np.random.randn(1000)
- n, bins = np.histogram(data, 100)
- top = bottom + n
- verts[1::5,1] = top
- verts[2::5,1] = top
-
- ani = animation.FuncAnimation(fig, animate, 100, repeat=False)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/index.txt b/dev/_sources/examples/animation/index.txt
deleted file mode 100644
index ed1635b89f1..00000000000
--- a/dev/_sources/examples/animation/index.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-.. _animation-examples-index:
-
-##############################################
-animation Examples
-##############################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- animate_decay
- basic_example
- basic_example_writer
- bayes_update
- double_pendulum_animated
- dynamic_image
- dynamic_image2
- histogram
- moviewriter
- random_data
- simple_3danim
- simple_anim
- strip_chart_demo
- subplots
diff --git a/dev/_sources/examples/animation/moviewriter.txt b/dev/_sources/examples/animation/moviewriter.txt
deleted file mode 100644
index 1dcec5eab31..00000000000
--- a/dev/_sources/examples/animation/moviewriter.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-.. _animation-moviewriter:
-
-animation example code: moviewriter.py
-======================================
-
-[`source code `_]
-
-::
-
- # This example uses a MovieWriter directly to grab individual frames and
- # write them to a file. This avoids any event loop integration, but has
- # the advantage of working with even the Agg backend. This is not recommended
- # for use in an interactive setting.
- # -*- noplot -*-
-
- import numpy as np
- import matplotlib
- matplotlib.use("Agg")
- import matplotlib.pyplot as plt
- import matplotlib.animation as manimation
-
- FFMpegWriter = manimation.writers['ffmpeg']
- metadata = dict(title='Movie Test', artist='Matplotlib',
- comment='Movie support!')
- writer = FFMpegWriter(fps=15, metadata=metadata)
-
- fig = plt.figure()
- l, = plt.plot([], [], 'k-o')
-
- plt.xlim(-5, 5)
- plt.ylim(-5, 5)
-
- x0,y0 = 0, 0
-
- with writer.saving(fig, "writer_test.mp4", 100):
- for i in range(100):
- x0 += 0.1 * np.random.randn()
- y0 += 0.1 * np.random.randn()
- l.set_data(x0, y0)
- writer.grab_frame()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/random_data.txt b/dev/_sources/examples/animation/random_data.txt
deleted file mode 100644
index 98cf953ee8d..00000000000
--- a/dev/_sources/examples/animation/random_data.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-.. _animation-random_data:
-
-animation example code: random_data.py
-======================================
-
-[`source code `_]
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.animation as animation
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- line, = ax.plot(np.random.rand(10))
- ax.set_ylim(0, 1)
-
- def update(data):
- line.set_ydata(data)
- return line,
-
- def data_gen():
- while True: yield np.random.rand(10)
-
- ani = animation.FuncAnimation(fig, update, data_gen, interval=100)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/simple_3danim.txt b/dev/_sources/examples/animation/simple_3danim.txt
deleted file mode 100644
index 88d9d6fe088..00000000000
--- a/dev/_sources/examples/animation/simple_3danim.txt
+++ /dev/null
@@ -1,74 +0,0 @@
-.. _animation-simple_3danim:
-
-animation example code: simple_3danim.py
-========================================
-
-[`source code `_]
-
-::
-
- """
- A simple example of an animated plot... In 3D!
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import mpl_toolkits.mplot3d.axes3d as p3
- import matplotlib.animation as animation
-
- def Gen_RandLine(length, dims=2) :
- """
- Create a line using a random walk algorithm
-
- length is the number of points for the line.
- dims is the number of dimensions the line has.
- """
- lineData = np.empty((dims, length))
- lineData[:, 0] = np.random.rand(dims)
- for index in range(1, length) :
- # scaling the random numbers by 0.1 so
- # movement is small compared to position.
- # subtraction by 0.5 is to change the range to [-0.5, 0.5]
- # to allow a line to move backwards.
- step = ((np.random.rand(dims) - 0.5) * 0.1)
- lineData[:, index] = lineData[:, index-1] + step
-
- return lineData
-
- def update_lines(num, dataLines, lines) :
- for line, data in zip(lines, dataLines) :
- # NOTE: there is no .set_data() for 3 dim data...
- line.set_data(data[0:2, :num])
- line.set_3d_properties(data[2,:num])
- return lines
-
- # Attaching 3D axis to the figure
- fig = plt.figure()
- ax = p3.Axes3D(fig)
-
- # Fifty lines of random 3-D lines
- data = [Gen_RandLine(25, 3) for index in range(50)]
-
- # Creating fifty line objects.
- # NOTE: Can't pass empty arrays into 3d version of plot()
- lines = [ax.plot(dat[0, 0:1], dat[1, 0:1], dat[2, 0:1])[0] for dat in data]
-
- # Setting the axes properties
- ax.set_xlim3d([0.0, 1.0])
- ax.set_xlabel('X')
-
- ax.set_ylim3d([0.0, 1.0])
- ax.set_ylabel('Y')
-
- ax.set_zlim3d([0.0, 1.0])
- ax.set_zlabel('Z')
-
- ax.set_title('3D Test')
-
- # Creating the Animation object
- line_ani = animation.FuncAnimation(fig, update_lines, 25, fargs=(data, lines),
- interval=50, blit=False)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/simple_anim.txt b/dev/_sources/examples/animation/simple_anim.txt
deleted file mode 100644
index 5dfe47b9f18..00000000000
--- a/dev/_sources/examples/animation/simple_anim.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-.. _animation-simple_anim:
-
-animation example code: simple_anim.py
-======================================
-
-[`source code `_]
-
-::
-
- """
- A simple example of an animated plot
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.animation as animation
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- x = np.arange(0, 2*np.pi, 0.01) # x-array
- line, = ax.plot(x, np.sin(x))
-
- def animate(i):
- line.set_ydata(np.sin(x+i/10.0)) # update the data
- return line,
-
- #Init only required for blitting to give a clean slate.
- def init():
- line.set_ydata(np.ma.array(x, mask=True))
- return line,
-
- ani = animation.FuncAnimation(fig, animate, np.arange(1, 200), init_func=init,
- interval=25, blit=True)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/strip_chart_demo.txt b/dev/_sources/examples/animation/strip_chart_demo.txt
deleted file mode 100644
index cd698fc0cc2..00000000000
--- a/dev/_sources/examples/animation/strip_chart_demo.txt
+++ /dev/null
@@ -1,68 +0,0 @@
-.. _animation-strip_chart_demo:
-
-animation example code: strip_chart_demo.py
-===========================================
-
-[`source code `_]
-
-::
-
- """
- Emulate an oscilloscope. Requires the animation API introduced in
- matplotlib 1.0 SVN.
- """
- import matplotlib
- import numpy as np
- from matplotlib.lines import Line2D
- import matplotlib.pyplot as plt
- import matplotlib.animation as animation
-
- class Scope:
- def __init__(self, ax, maxt=2, dt=0.02):
- self.ax = ax
- self.dt = dt
- self.maxt = maxt
- self.tdata = [0]
- self.ydata = [0]
- self.line = Line2D(self.tdata, self.ydata)
- self.ax.add_line(self.line)
- self.ax.set_ylim(-.1, 1.1)
- self.ax.set_xlim(0, self.maxt)
-
- def update(self, y):
- lastt = self.tdata[-1]
- if lastt > self.tdata[0] + self.maxt: # reset the arrays
- self.tdata = [self.tdata[-1]]
- self.ydata = [self.ydata[-1]]
- self.ax.set_xlim(self.tdata[0], self.tdata[0] + self.maxt)
- self.ax.figure.canvas.draw()
-
- t = self.tdata[-1] + self.dt
- self.tdata.append(t)
- self.ydata.append(y)
- self.line.set_data(self.tdata, self.ydata)
- return self.line,
-
-
- def emitter(p=0.03):
- 'return a random value with probability p, else 0'
- while True:
- v = np.random.rand(1)
- if v > p:
- yield 0.
- else:
- yield np.random.rand(1)
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- scope = Scope(ax)
-
- # pass a generator in "emitter" to produce data for the update func
- ani = animation.FuncAnimation(fig, scope.update, emitter, interval=10,
- blit=True)
-
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/animation/subplots.txt b/dev/_sources/examples/animation/subplots.txt
deleted file mode 100644
index 01c1d971964..00000000000
--- a/dev/_sources/examples/animation/subplots.txt
+++ /dev/null
@@ -1,105 +0,0 @@
-.. _animation-subplots:
-
-animation example code: subplots.py
-===================================
-
-[`source code `_]
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
- from matplotlib.lines import Line2D
- import matplotlib.animation as animation
-
- # This example uses subclassing, but there is no reason that the proper function
- # couldn't be set up and then use FuncAnimation. The code is long, but not
- # really complex. The length is due solely to the fact that there are a total
- # of 9 lines that need to be changed for the animation as well as 3 subplots
- # that need initial set up.
- class SubplotAnimation(animation.TimedAnimation):
- def __init__(self):
- fig = plt.figure()
- ax1 = fig.add_subplot(1, 2, 1)
- ax2 = fig.add_subplot(2, 2, 2)
- ax3 = fig.add_subplot(2, 2, 4)
-
- self.t = np.linspace(0, 80, 400)
- self.x = np.cos(2 * np.pi * self.t / 10.)
- self.y = np.sin(2 * np.pi * self.t / 10.)
- self.z = 10 * self.t
-
- ax1.set_xlabel('x')
- ax1.set_ylabel('y')
- self.line1 = Line2D([], [], color='black')
- self.line1a = Line2D([], [], color='red', linewidth=2)
- self.line1e = Line2D([], [], color='red', marker='o', markeredgecolor='r')
- ax1.add_line(self.line1)
- ax1.add_line(self.line1a)
- ax1.add_line(self.line1e)
- ax1.set_xlim(-1, 1)
- ax1.set_ylim(-2, 2)
- ax1.set_aspect('equal', 'datalim')
-
- ax2.set_xlabel('y')
- ax2.set_ylabel('z')
- self.line2 = Line2D([], [], color='black')
- self.line2a = Line2D([], [], color='red', linewidth=2)
- self.line2e = Line2D([], [], color='red', marker='o', markeredgecolor='r')
- ax2.add_line(self.line2)
- ax2.add_line(self.line2a)
- ax2.add_line(self.line2e)
- ax2.set_xlim(-1, 1)
- ax2.set_ylim(0, 800)
-
- ax3.set_xlabel('x')
- ax3.set_ylabel('z')
- self.line3 = Line2D([], [], color='black')
- self.line3a = Line2D([], [], color='red', linewidth=2)
- self.line3e = Line2D([], [], color='red', marker='o', markeredgecolor='r')
- ax3.add_line(self.line3)
- ax3.add_line(self.line3a)
- ax3.add_line(self.line3e)
- ax3.set_xlim(-1, 1)
- ax3.set_ylim(0, 800)
-
- animation.TimedAnimation.__init__(self, fig, interval=50, blit=True)
-
- def _draw_frame(self, framedata):
- i = framedata
- head = i - 1
- head_len = 10
- head_slice = (self.t > self.t[i] - 1.0) & (self.t < self.t[i])
-
- self.line1.set_data(self.x[:i], self.y[:i])
- self.line1a.set_data(self.x[head_slice], self.y[head_slice])
- self.line1e.set_data(self.x[head], self.y[head])
-
- self.line2.set_data(self.y[:i], self.z[:i])
- self.line2a.set_data(self.y[head_slice], self.z[head_slice])
- self.line2e.set_data(self.y[head], self.z[head])
-
- self.line3.set_data(self.x[:i], self.z[:i])
- self.line3a.set_data(self.x[head_slice], self.z[head_slice])
- self.line3e.set_data(self.x[head], self.z[head])
-
- self._drawn_artists = [self.line1, self.line1a, self.line1e,
- self.line2, self.line2a, self.line2e,
- self.line3, self.line3a, self.line3e]
-
- def new_frame_seq(self):
- return iter(range(self.t.size))
-
- def _init_draw(self):
- lines = [self.line1, self.line1a, self.line1e,
- self.line2, self.line2a, self.line2e,
- self.line3, self.line3a, self.line3e]
- for l in lines:
- l.set_data([], [])
-
- ani = SubplotAnimation()
- #ani.save('test_sub.mp4')
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/agg_oo.txt b/dev/_sources/examples/api/agg_oo.txt
deleted file mode 100644
index 84afcab4a32..00000000000
--- a/dev/_sources/examples/api/agg_oo.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-.. _api-agg_oo:
-
-api example code: agg_oo.py
-===========================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
- # -*- noplot -*-
- """
- A pure OO (look Ma, no pylab!) example using the agg backend
- """
- from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
- from matplotlib.figure import Figure
-
- fig = Figure()
- canvas = FigureCanvas(fig)
- ax = fig.add_subplot(111)
- ax.plot([1,2,3])
- ax.set_title('hi mom')
- ax.grid(True)
- ax.set_xlabel('time')
- ax.set_ylabel('volts')
- canvas.print_figure('test')
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/artist_demo.txt b/dev/_sources/examples/api/artist_demo.txt
deleted file mode 100644
index 3b2492c8e02..00000000000
--- a/dev/_sources/examples/api/artist_demo.txt
+++ /dev/null
@@ -1,133 +0,0 @@
-.. _api-artist_demo:
-
-api example code: artist_demo.py
-================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/artist_demo.py
-
-::
-
- """
- Show examples of matplotlib artists
- http://matplotlib.org/api/artist_api.html
-
- Several examples of standard matplotlib graphics primitives (artists)
- are drawn using matplotlib API. Full list of artists and the
- documentation is available at
- http://matplotlib.org/api/artist_api.html
-
- Copyright (c) 2010, Bartosz Telenczuk
-
- License: This work is licensed under the BSD. A copy should be
- included with this source code, and is also available at
- http://www.opensource.org/licenses/bsd-license.php
- """
-
-
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib
- from matplotlib.collections import PatchCollection
- import matplotlib.path as mpath
- import matplotlib.patches as mpatches
- import matplotlib.lines as mlines
-
- font = "sans-serif"
- fig = plt.figure(figsize=(5,5))
- ax = plt.axes([0,0,1,1])
-
- # create 3x3 grid to plot the artists
- pos = np.mgrid[0.2:0.8:3j, 0.2:0.8:3j].reshape(2, -1)
-
- patches = []
-
- # add a circle
- art = mpatches.Circle(pos[:,0], 0.1,ec="none")
- patches.append(art)
- plt.text(pos[0,0], pos[1,0]-0.15, "Circle", ha="center",
- family=font, size=14)
-
- # add a rectangle
- art = mpatches.Rectangle(pos[:,1] - np.array([0.025, 0.05]), 0.05, 0.1,
- ec="none")
- patches.append(art)
- plt.text(pos[0,1], pos[1,1]-0.15, "Rectangle", ha="center",
- family=font, size=14)
-
- # add a wedge
- wedge = mpatches.Wedge(pos[:,2], 0.1, 30, 270, ec="none")
- patches.append(wedge)
- plt.text(pos[0,2], pos[1,2]-0.15, "Wedge", ha="center",
- family=font, size=14)
-
- # add a Polygon
- polygon = mpatches.RegularPolygon(pos[:,3], 5, 0.1)
- patches.append(polygon)
- plt.text(pos[0,3], pos[1,3]-0.15, "Polygon", ha="center",
- family=font, size=14)
-
- #add an ellipse
- ellipse = mpatches.Ellipse(pos[:,4], 0.2, 0.1)
- patches.append(ellipse)
- plt.text(pos[0,4], pos[1,4]-0.15, "Ellipse", ha="center",
- family=font, size=14)
-
- #add an arrow
- arrow = mpatches.Arrow(pos[0,5]-0.05, pos[1,5]-0.05, 0.1, 0.1, width=0.1)
- patches.append(arrow)
- plt.text(pos[0,5], pos[1,5]-0.15, "Arrow", ha="center",
- family=font, size=14)
-
- # add a path patch
- Path = mpath.Path
- verts = np.array([
- (0.158, -0.257),
- (0.035, -0.11),
- (-0.175, 0.20),
- (0.0375, 0.20),
- (0.085, 0.115),
- (0.22, 0.32),
- (0.3, 0.005),
- (0.20, -0.05),
- (0.158, -0.257),
- ])
- verts = verts-verts.mean(0)
- codes = [Path.MOVETO,
- Path.CURVE4, Path.CURVE4, Path.CURVE4, Path.LINETO,
- Path.CURVE4, Path.CURVE4, Path.CURVE4, Path.CLOSEPOLY]
-
- path = mpath.Path(verts/2.5+pos[:,6], codes)
- patch = mpatches.PathPatch(path)
- patches.append(patch)
- plt.text(pos[0,6], pos[1,6]-0.15, "PathPatch", ha="center",
- family=font, size=14)
-
- # add a fancy box
- fancybox = mpatches.FancyBboxPatch(
- pos[:,7]-np.array([0.025, 0.05]), 0.05, 0.1,
- boxstyle=mpatches.BoxStyle("Round", pad=0.02))
- patches.append(fancybox)
- plt.text(pos[0,7], pos[1,7]-0.15, "FancyBoxPatch", ha="center",
- family=font, size=14)
-
- # add a line
- x,y = np.array([[-0.06, 0.0, 0.1], [0.05,-0.05, 0.05]])
- line = mlines.Line2D(x+pos[0,8], y+pos[1,8], lw=5.,
- alpha=0.4)
- plt.text(pos[0,8], pos[1,8]-0.15, "Line2D", ha="center",
- family=font, size=14)
-
- colors = 100*np.random.rand(len(patches))
- collection = PatchCollection(patches, cmap=matplotlib.cm.jet, alpha=0.4)
- collection.set_array(np.array(colors))
- ax.add_collection(collection)
- ax.add_line(line)
- ax.set_xticks([])
- ax.set_yticks([])
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/barchart_demo.txt b/dev/_sources/examples/api/barchart_demo.txt
deleted file mode 100644
index 089de4cb260..00000000000
--- a/dev/_sources/examples/api/barchart_demo.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-.. _api-barchart_demo:
-
-api example code: barchart_demo.py
-==================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/barchart_demo.py
-
-::
-
-
- #!/usr/bin/env python
- # a bar plot with errorbars
- import numpy as np
- import matplotlib.pyplot as plt
-
- N = 5
- menMeans = (20, 35, 30, 35, 27)
- menStd = (2, 3, 4, 1, 2)
-
- ind = np.arange(N) # the x locations for the groups
- width = 0.35 # the width of the bars
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- rects1 = ax.bar(ind, menMeans, width, color='r', yerr=menStd)
-
- womenMeans = (25, 32, 34, 20, 25)
- womenStd = (3, 5, 2, 3, 3)
- rects2 = ax.bar(ind+width, womenMeans, width, color='y', yerr=womenStd)
-
- # add some
- ax.set_ylabel('Scores')
- ax.set_title('Scores by group and gender')
- ax.set_xticks(ind+width)
- ax.set_xticklabels( ('G1', 'G2', 'G3', 'G4', 'G5') )
-
- ax.legend( (rects1[0], rects2[0]), ('Men', 'Women') )
-
- def autolabel(rects):
- # attach some text labels
- for rect in rects:
- height = rect.get_height()
- ax.text(rect.get_x()+rect.get_width()/2., 1.05*height, '%d'%int(height),
- ha='center', va='bottom')
-
- autolabel(rects1)
- autolabel(rects2)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/bbox_intersect.txt b/dev/_sources/examples/api/bbox_intersect.txt
deleted file mode 100644
index b816836c3a2..00000000000
--- a/dev/_sources/examples/api/bbox_intersect.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-.. _api-bbox_intersect:
-
-api example code: bbox_intersect.py
-===================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/bbox_intersect.py
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
- from matplotlib.transforms import Bbox
- from matplotlib.path import Path
-
- rect = plt.Rectangle((-1, -1), 2, 2, facecolor="#aaaaaa")
- plt.gca().add_patch(rect)
- bbox = Bbox.from_bounds(-1, -1, 2, 2)
-
- for i in range(12):
- vertices = (np.random.random((2, 2)) - 0.5) * 6.0
- path = Path(vertices)
- if path.intersects_bbox(bbox):
- color = 'r'
- else:
- color = 'b'
- plt.plot(vertices[:,0], vertices[:,1], color=color)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/clippath_demo.txt b/dev/_sources/examples/api/clippath_demo.txt
deleted file mode 100644
index 6995c42d3cb..00000000000
--- a/dev/_sources/examples/api/clippath_demo.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-.. _api-clippath_demo:
-
-api example code: clippath_demo.py
-==================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/clippath_demo.py
-
-::
-
- """
- Clipping to arbitrary patches and paths
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.patches as patches
-
-
- fig = plt.figure()
- ax = fig.add_subplot(111, frameon=False, xticks=[], yticks=[])
-
- im = ax.imshow(np.random.rand(10,10))
-
- patch = patches.Circle((300,300), radius=100)
- im.set_clip_path(patch)
-
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/collections_demo.txt b/dev/_sources/examples/api/collections_demo.txt
deleted file mode 100644
index 4a797dc74a2..00000000000
--- a/dev/_sources/examples/api/collections_demo.txt
+++ /dev/null
@@ -1,147 +0,0 @@
-.. _api-collections_demo:
-
-api example code: collections_demo.py
-=====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/collections_demo.py
-
-::
-
- #!/usr/bin/env python
- '''Demonstration of LineCollection, PolyCollection, and
- RegularPolyCollection with autoscaling.
-
- For the first two subplots, we will use spirals. Their
- size will be set in plot units, not data units. Their positions
- will be set in data units by using the "offsets" and "transOffset"
- kwargs of the LineCollection and PolyCollection.
-
- The third subplot will make regular polygons, with the same
- type of scaling and positioning as in the first two.
-
- The last subplot illustrates the use of "offsets=(xo,yo)",
- that is, a single tuple instead of a list of tuples, to generate
- successively offset curves, with the offset given in data
- units. This behavior is available only for the LineCollection.
-
- '''
-
- import matplotlib.pyplot as plt
- from matplotlib import collections, transforms
- from matplotlib.colors import colorConverter
- import numpy as np
-
- nverts = 50
- npts = 100
-
- # Make some spirals
- r = np.array(range(nverts))
- theta = np.array(range(nverts)) * (2*np.pi)/(nverts-1)
- xx = r * np.sin(theta)
- yy = r * np.cos(theta)
- spiral = list(zip(xx,yy))
-
- # Make some offsets
- rs = np.random.RandomState([12345678])
- xo = rs.randn(npts)
- yo = rs.randn(npts)
- xyo = list(zip(xo, yo))
-
- # Make a list of colors cycling through the rgbcmyk series.
- colors = [colorConverter.to_rgba(c) for c in ('r','g','b','c','y','m','k')]
-
- fig = plt.figure()
-
- a = fig.add_subplot(2,2,1)
- col = collections.LineCollection([spiral], offsets=xyo,
- transOffset=a.transData)
- trans = fig.dpi_scale_trans + transforms.Affine2D().scale(1.0/72.0)
- col.set_transform(trans) # the points to pixels transform
- # Note: the first argument to the collection initializer
- # must be a list of sequences of x,y tuples; we have only
- # one sequence, but we still have to put it in a list.
- a.add_collection(col, autolim=True)
- # autolim=True enables autoscaling. For collections with
- # offsets like this, it is neither efficient nor accurate,
- # but it is good enough to generate a plot that you can use
- # as a starting point. If you know beforehand the range of
- # x and y that you want to show, it is better to set them
- # explicitly, leave out the autolim kwarg (or set it to False),
- # and omit the 'a.autoscale_view()' call below.
-
- # Make a transform for the line segments such that their size is
- # given in points:
- col.set_color(colors)
-
- a.autoscale_view() # See comment above, after a.add_collection.
- a.set_title('LineCollection using offsets')
-
-
- # The same data as above, but fill the curves.
-
- a = fig.add_subplot(2,2,2)
-
- col = collections.PolyCollection([spiral], offsets=xyo,
- transOffset=a.transData)
- trans = transforms.Affine2D().scale(fig.dpi/72.0)
- col.set_transform(trans) # the points to pixels transform
- a.add_collection(col, autolim=True)
- col.set_color(colors)
-
-
- a.autoscale_view()
- a.set_title('PolyCollection using offsets')
-
- # 7-sided regular polygons
-
- a = fig.add_subplot(2,2,3)
-
- col = collections.RegularPolyCollection(7,
- sizes = np.fabs(xx)*10.0, offsets=xyo,
- transOffset=a.transData)
- trans = transforms.Affine2D().scale(fig.dpi/72.0)
- col.set_transform(trans) # the points to pixels transform
- a.add_collection(col, autolim=True)
- col.set_color(colors)
- a.autoscale_view()
- a.set_title('RegularPolyCollection using offsets')
-
-
- # Simulate a series of ocean current profiles, successively
- # offset by 0.1 m/s so that they form what is sometimes called
- # a "waterfall" plot or a "stagger" plot.
-
- a = fig.add_subplot(2,2,4)
-
- nverts = 60
- ncurves = 20
- offs = (0.1, 0.0)
-
- yy = np.linspace(0, 2*np.pi, nverts)
- ym = np.amax(yy)
- xx = (0.2 + (ym-yy)/ym)**2 * np.cos(yy-0.4) * 0.5
- segs = []
- for i in range(ncurves):
- xxx = xx + 0.02*rs.randn(nverts)
- curve = list(zip(xxx, yy*100))
- segs.append(curve)
-
- col = collections.LineCollection(segs, offsets=offs)
- a.add_collection(col, autolim=True)
- col.set_color(colors)
- a.autoscale_view()
- a.set_title('Successive data offsets')
- a.set_xlabel('Zonal velocity component (m/s)')
- a.set_ylabel('Depth (m)')
- # Reverse the y-axis so depth increases downward
- a.set_ylim(a.get_ylim()[::-1])
-
-
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/color_cycle.txt b/dev/_sources/examples/api/color_cycle.txt
deleted file mode 100644
index 26ab1463af1..00000000000
--- a/dev/_sources/examples/api/color_cycle.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-.. _api-color_cycle:
-
-api example code: color_cycle.py
-================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/color_cycle.py
-
-::
-
- """
- Illustrate the API for changing the cycle of colors used
- when plotting multiple lines on a single Axes.
- """
-
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib as mpl
-
- yy = np.arange(24)
- yy.shape = 6,4
-
- mpl.rc('lines', linewidth=4)
-
- fig = plt.figure()
- mpl.rcParams['axes.color_cycle'] = ['r', 'g', 'b', 'c']
- ax = fig.add_subplot(2,1,1)
- ax.plot(yy)
- ax.set_title('Changed default color cycle to rgbc')
-
- ax = fig.add_subplot(2,1,2)
- ax.set_color_cycle(['c', 'm', 'y', 'k'])
- ax.plot(yy)
- ax.set_title('This axes only, cycle is cmyk')
-
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/colorbar_only.txt b/dev/_sources/examples/api/colorbar_only.txt
deleted file mode 100644
index 030bf6e5451..00000000000
--- a/dev/_sources/examples/api/colorbar_only.txt
+++ /dev/null
@@ -1,87 +0,0 @@
-.. _api-colorbar_only:
-
-api example code: colorbar_only.py
-==================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/colorbar_only.py
-
-::
-
- '''
- Make a colorbar as a separate figure.
- '''
-
- from matplotlib import pyplot
-
- # Make a figure and axes with dimensions as desired.
- fig = pyplot.figure(figsize=(8,3))
- ax1 = fig.add_axes([0.05, 0.80, 0.9, 0.15])
- ax2 = fig.add_axes([0.05, 0.475, 0.9, 0.15])
- ax3 = fig.add_axes([0.05, 0.15, 0.9, 0.15])
-
- # Set the colormap and norm to correspond to the data for which
- # the colorbar will be used.
- cmap = mpl.cm.cool
- norm = mpl.colors.Normalize(vmin=5, vmax=10)
-
- # ColorbarBase derives from ScalarMappable and puts a colorbar
- # in a specified axes, so it has everything needed for a
- # standalone colorbar. There are many more kwargs, but the
- # following gives a basic continuous colorbar with ticks
- # and labels.
- cb1 = mpl.colorbar.ColorbarBase(ax1, cmap=cmap,
- norm=norm,
- orientation='horizontal')
- cb1.set_label('Some Units')
-
- # The second example illustrates the use of a ListedColormap, a
- # BoundaryNorm, and extended ends to show the "over" and "under"
- # value colors.
- cmap = mpl.colors.ListedColormap(['r', 'g', 'b', 'c'])
- cmap.set_over('0.25')
- cmap.set_under('0.75')
-
- # If a ListedColormap is used, the length of the bounds array must be
- # one greater than the length of the color list. The bounds must be
- # monotonically increasing.
- bounds = [1, 2, 4, 7, 8]
- norm = mpl.colors.BoundaryNorm(bounds, cmap.N)
- cb2 = mpl.colorbar.ColorbarBase(ax2, cmap=cmap,
- norm=norm,
- # to use 'extend', you must
- # specify two extra boundaries:
- boundaries=[0]+bounds+[13],
- extend='both',
- ticks=bounds, # optional
- spacing='proportional',
- orientation='horizontal')
- cb2.set_label('Discrete intervals, some other units')
-
- # The third example illustrates the use of custom length colorbar
- # extensions, used on a colorbar with discrete intervals.
- cmap = mpl.colors.ListedColormap([[0., .4, 1.], [0., .8, 1.],
- [1., .8, 0.], [1., .4, 0.]])
- cmap.set_over((1., 0., 0.))
- cmap.set_under((0., 0., 1.))
-
- bounds = [-1., -.5, 0., .5, 1.]
- norm = mpl.colors.BoundaryNorm(bounds, cmap.N)
- cb3 = mpl.colorbar.ColorbarBase(ax3, cmap=cmap,
- norm=norm,
- boundaries=[-10]+bounds+[10],
- extend='both',
- # Make the length of each extension
- # the same as the length of the
- # interior colors:
- extendfrac='auto',
- ticks=bounds,
- spacing='uniform',
- orientation='horizontal')
- cb3.set_label('Custom extension lengths, some other units')
-
- pyplot.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/compound_path.txt b/dev/_sources/examples/api/compound_path.txt
deleted file mode 100644
index 870f7d7d7be..00000000000
--- a/dev/_sources/examples/api/compound_path.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-.. _api-compound_path:
-
-api example code: compound_path.py
-==================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/compound_path.py
-
-::
-
- """
- Make a compund path -- in this case two simple polygons, a rectangle
- and a triangle. Use CLOSEOPOLY and MOVETO for the different parts of
- the compound path
- """
- import numpy as np
- from matplotlib.path import Path
- from matplotlib.patches import PathPatch
- import matplotlib.pyplot as plt
-
-
- vertices = []
- codes = []
-
- codes = [Path.MOVETO] + [Path.LINETO]*3 + [Path.CLOSEPOLY]
- vertices = [(1,1), (1,2), (2, 2), (2, 1), (0,0)]
-
- codes += [Path.MOVETO] + [Path.LINETO]*2 + [Path.CLOSEPOLY]
- vertices += [(4,4), (5,5), (5, 4), (0,0)]
-
- vertices = np.array(vertices, float)
- path = Path(vertices, codes)
-
- pathpatch = PathPatch(path, facecolor='None', edgecolor='green')
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.add_patch(pathpatch)
- ax.set_title('A compound path')
-
- ax.dataLim.update_from_data_xy(vertices)
- ax.autoscale_view()
-
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/custom_projection_example.txt b/dev/_sources/examples/api/custom_projection_example.txt
deleted file mode 100644
index 85b30b74904..00000000000
--- a/dev/_sources/examples/api/custom_projection_example.txt
+++ /dev/null
@@ -1,493 +0,0 @@
-.. _api-custom_projection_example:
-
-api example code: custom_projection_example.py
-==============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/custom_projection_example.py
-
-::
-
- from __future__ import unicode_literals
-
- import matplotlib
- from matplotlib.axes import Axes
- from matplotlib.patches import Circle
- from matplotlib.path import Path
- from matplotlib.ticker import NullLocator, Formatter, FixedLocator
- from matplotlib.transforms import Affine2D, BboxTransformTo, Transform
- from matplotlib.projections import register_projection
- import matplotlib.spines as mspines
- import matplotlib.axis as maxis
-
- import numpy as np
-
- # This example projection class is rather long, but it is designed to
- # illustrate many features, not all of which will be used every time.
- # It is also common to factor out a lot of these methods into common
- # code used by a number of projections with similar characteristics
- # (see geo.py).
-
- class HammerAxes(Axes):
- """
- A custom class for the Aitoff-Hammer projection, an equal-area map
- projection.
-
- http://en.wikipedia.org/wiki/Hammer_projection
- """
- # The projection must specify a name. This will be used be the
- # user to select the projection, i.e. ``subplot(111,
- # projection='custom_hammer')``.
- name = 'custom_hammer'
-
- def __init__(self, *args, **kwargs):
- Axes.__init__(self, *args, **kwargs)
- self.set_aspect(0.5, adjustable='box', anchor='C')
- self.cla()
-
- def _init_axis(self):
- self.xaxis = maxis.XAxis(self)
- self.yaxis = maxis.YAxis(self)
- # Do not register xaxis or yaxis with spines -- as done in
- # Axes._init_axis() -- until HammerAxes.xaxis.cla() works.
- # self.spines['hammer'].register_axis(self.yaxis)
- self._update_transScale()
-
- def cla(self):
- """
- Override to set up some reasonable defaults.
- """
- # Don't forget to call the base class
- Axes.cla(self)
-
- # Set up a default grid spacing
- self.set_longitude_grid(30)
- self.set_latitude_grid(15)
- self.set_longitude_grid_ends(75)
-
- # Turn off minor ticking altogether
- self.xaxis.set_minor_locator(NullLocator())
- self.yaxis.set_minor_locator(NullLocator())
-
- # Do not display ticks -- we only want gridlines and text
- self.xaxis.set_ticks_position('none')
- self.yaxis.set_ticks_position('none')
-
- # The limits on this projection are fixed -- they are not to
- # be changed by the user. This makes the math in the
- # transformation itself easier, and since this is a toy
- # example, the easier, the better.
- Axes.set_xlim(self, -np.pi, np.pi)
- Axes.set_ylim(self, -np.pi / 2.0, np.pi / 2.0)
-
- def _set_lim_and_transforms(self):
- """
- This is called once when the plot is created to set up all the
- transforms for the data, text and grids.
- """
- # There are three important coordinate spaces going on here:
- #
- # 1. Data space: The space of the data itself
- #
- # 2. Axes space: The unit rectangle (0, 0) to (1, 1)
- # covering the entire plot area.
- #
- # 3. Display space: The coordinates of the resulting image,
- # often in pixels or dpi/inch.
-
- # This function makes heavy use of the Transform classes in
- # ``lib/matplotlib/transforms.py.`` For more information, see
- # the inline documentation there.
-
- # The goal of the first two transformations is to get from the
- # data space (in this case longitude and latitude) to axes
- # space. It is separated into a non-affine and affine part so
- # that the non-affine part does not have to be recomputed when
- # a simple affine change to the figure has been made (such as
- # resizing the window or changing the dpi).
-
- # 1) The core transformation from data space into
- # rectilinear space defined in the HammerTransform class.
- self.transProjection = self.HammerTransform()
-
- # 2) The above has an output range that is not in the unit
- # rectangle, so scale and translate it so it fits correctly
- # within the axes. The peculiar calculations of xscale and
- # yscale are specific to a Aitoff-Hammer projection, so don't
- # worry about them too much.
- xscale = 2.0 * np.sqrt(2.0) * np.sin(0.5 * np.pi)
- yscale = np.sqrt(2.0) * np.sin(0.5 * np.pi)
- self.transAffine = Affine2D() \
- .scale(0.5 / xscale, 0.5 / yscale) \
- .translate(0.5, 0.5)
-
- # 3) This is the transformation from axes space to display
- # space.
- self.transAxes = BboxTransformTo(self.bbox)
-
- # Now put these 3 transforms together -- from data all the way
- # to display coordinates. Using the '+' operator, these
- # transforms will be applied "in order". The transforms are
- # automatically simplified, if possible, by the underlying
- # transformation framework.
- self.transData = \
- self.transProjection + \
- self.transAffine + \
- self.transAxes
-
- # The main data transformation is set up. Now deal with
- # gridlines and tick labels.
-
- # Longitude gridlines and ticklabels. The input to these
- # transforms are in display space in x and axes space in y.
- # Therefore, the input values will be in range (-xmin, 0),
- # (xmax, 1). The goal of these transforms is to go from that
- # space to display space. The tick labels will be offset 4
- # pixels from the equator.
- self._xaxis_pretransform = \
- Affine2D() \
- .scale(1.0, np.pi) \
- .translate(0.0, -np.pi)
- self._xaxis_transform = \
- self._xaxis_pretransform + \
- self.transData
- self._xaxis_text1_transform = \
- Affine2D().scale(1.0, 0.0) + \
- self.transData + \
- Affine2D().translate(0.0, 4.0)
- self._xaxis_text2_transform = \
- Affine2D().scale(1.0, 0.0) + \
- self.transData + \
- Affine2D().translate(0.0, -4.0)
-
- # Now set up the transforms for the latitude ticks. The input to
- # these transforms are in axes space in x and display space in
- # y. Therefore, the input values will be in range (0, -ymin),
- # (1, ymax). The goal of these transforms is to go from that
- # space to display space. The tick labels will be offset 4
- # pixels from the edge of the axes ellipse.
- yaxis_stretch = Affine2D().scale(np.pi * 2.0, 1.0).translate(-np.pi, 0.0)
- yaxis_space = Affine2D().scale(1.0, 1.1)
- self._yaxis_transform = \
- yaxis_stretch + \
- self.transData
- yaxis_text_base = \
- yaxis_stretch + \
- self.transProjection + \
- (yaxis_space + \
- self.transAffine + \
- self.transAxes)
- self._yaxis_text1_transform = \
- yaxis_text_base + \
- Affine2D().translate(-8.0, 0.0)
- self._yaxis_text2_transform = \
- yaxis_text_base + \
- Affine2D().translate(8.0, 0.0)
-
- def get_xaxis_transform(self,which='grid'):
- """
- Override this method to provide a transformation for the
- x-axis grid and ticks.
- """
- assert which in ['tick1','tick2','grid']
- return self._xaxis_transform
-
- def get_xaxis_text1_transform(self, pixelPad):
- """
- Override this method to provide a transformation for the
- x-axis tick labels.
-
- Returns a tuple of the form (transform, valign, halign)
- """
- return self._xaxis_text1_transform, 'bottom', 'center'
-
- def get_xaxis_text2_transform(self, pixelPad):
- """
- Override this method to provide a transformation for the
- secondary x-axis tick labels.
-
- Returns a tuple of the form (transform, valign, halign)
- """
- return self._xaxis_text2_transform, 'top', 'center'
-
- def get_yaxis_transform(self,which='grid'):
- """
- Override this method to provide a transformation for the
- y-axis grid and ticks.
- """
- assert which in ['tick1','tick2','grid']
- return self._yaxis_transform
-
- def get_yaxis_text1_transform(self, pixelPad):
- """
- Override this method to provide a transformation for the
- y-axis tick labels.
-
- Returns a tuple of the form (transform, valign, halign)
- """
- return self._yaxis_text1_transform, 'center', 'right'
-
- def get_yaxis_text2_transform(self, pixelPad):
- """
- Override this method to provide a transformation for the
- secondary y-axis tick labels.
-
- Returns a tuple of the form (transform, valign, halign)
- """
- return self._yaxis_text2_transform, 'center', 'left'
-
- def _gen_axes_patch(self):
- """
- Override this method to define the shape that is used for the
- background of the plot. It should be a subclass of Patch.
-
- In this case, it is a Circle (that may be warped by the axes
- transform into an ellipse). Any data and gridlines will be
- clipped to this shape.
- """
- return Circle((0.5, 0.5), 0.5)
-
- def _gen_axes_spines(self):
- return {'custom_hammer':mspines.Spine.circular_spine(self,
- (0.5, 0.5), 0.5)}
-
- # Prevent the user from applying scales to one or both of the
- # axes. In this particular case, scaling the axes wouldn't make
- # sense, so we don't allow it.
- def set_xscale(self, *args, **kwargs):
- if args[0] != 'linear':
- raise NotImplementedError
- Axes.set_xscale(self, *args, **kwargs)
-
- def set_yscale(self, *args, **kwargs):
- if args[0] != 'linear':
- raise NotImplementedError
- Axes.set_yscale(self, *args, **kwargs)
-
- # Prevent the user from changing the axes limits. In our case, we
- # want to display the whole sphere all the time, so we override
- # set_xlim and set_ylim to ignore any input. This also applies to
- # interactive panning and zooming in the GUI interfaces.
- def set_xlim(self, *args, **kwargs):
- Axes.set_xlim(self, -np.pi, np.pi)
- Axes.set_ylim(self, -np.pi / 2.0, np.pi / 2.0)
- set_ylim = set_xlim
-
- def format_coord(self, lon, lat):
- """
- Override this method to change how the values are displayed in
- the status bar.
-
- In this case, we want them to be displayed in degrees N/S/E/W.
- """
- lon = lon * (180.0 / np.pi)
- lat = lat * (180.0 / np.pi)
- if lat >= 0.0:
- ns = 'N'
- else:
- ns = 'S'
- if lon >= 0.0:
- ew = 'E'
- else:
- ew = 'W'
- # \u00b0 : degree symbol
- return '%f\u00b0%s, %f\u00b0%s' % (abs(lat), ns, abs(lon), ew)
-
- class DegreeFormatter(Formatter):
- """
- This is a custom formatter that converts the native unit of
- radians into (truncated) degrees and adds a degree symbol.
- """
- def __init__(self, round_to=1.0):
- self._round_to = round_to
-
- def __call__(self, x, pos=None):
- degrees = (x / np.pi) * 180.0
- degrees = round(degrees / self._round_to) * self._round_to
- # \u00b0 : degree symbol
- return "%d\u00b0" % degrees
-
- def set_longitude_grid(self, degrees):
- """
- Set the number of degrees between each longitude grid.
-
- This is an example method that is specific to this projection
- class -- it provides a more convenient interface to set the
- ticking than set_xticks would.
- """
- # Set up a FixedLocator at each of the points, evenly spaced
- # by degrees.
- number = (360.0 / degrees) + 1
- self.xaxis.set_major_locator(
- plt.FixedLocator(
- np.linspace(-np.pi, np.pi, number, True)[1:-1]))
- # Set the formatter to display the tick labels in degrees,
- # rather than radians.
- self.xaxis.set_major_formatter(self.DegreeFormatter(degrees))
-
- def set_latitude_grid(self, degrees):
- """
- Set the number of degrees between each longitude grid.
-
- This is an example method that is specific to this projection
- class -- it provides a more convenient interface than
- set_yticks would.
- """
- # Set up a FixedLocator at each of the points, evenly spaced
- # by degrees.
- number = (180.0 / degrees) + 1
- self.yaxis.set_major_locator(
- FixedLocator(
- np.linspace(-np.pi / 2.0, np.pi / 2.0, number, True)[1:-1]))
- # Set the formatter to display the tick labels in degrees,
- # rather than radians.
- self.yaxis.set_major_formatter(self.DegreeFormatter(degrees))
-
- def set_longitude_grid_ends(self, degrees):
- """
- Set the latitude(s) at which to stop drawing the longitude grids.
-
- Often, in geographic projections, you wouldn't want to draw
- longitude gridlines near the poles. This allows the user to
- specify the degree at which to stop drawing longitude grids.
-
- This is an example method that is specific to this projection
- class -- it provides an interface to something that has no
- analogy in the base Axes class.
- """
- longitude_cap = degrees * (np.pi / 180.0)
- # Change the xaxis gridlines transform so that it draws from
- # -degrees to degrees, rather than -pi to pi.
- self._xaxis_pretransform \
- .clear() \
- .scale(1.0, longitude_cap * 2.0) \
- .translate(0.0, -longitude_cap)
-
- def get_data_ratio(self):
- """
- Return the aspect ratio of the data itself.
-
- This method should be overridden by any Axes that have a
- fixed data ratio.
- """
- return 1.0
-
- # Interactive panning and zooming is not supported with this projection,
- # so we override all of the following methods to disable it.
- def can_zoom(self):
- """
- Return True if this axes support the zoom box
- """
- return False
- def start_pan(self, x, y, button):
- pass
- def end_pan(self):
- pass
- def drag_pan(self, button, key, x, y):
- pass
-
- # Now, the transforms themselves.
-
- class HammerTransform(Transform):
- """
- The base Hammer transform.
- """
- input_dims = 2
- output_dims = 2
- is_separable = False
-
- def transform_non_affine(self, ll):
- """
- Override the transform_non_affine method to implement the custom
- transform.
-
- The input and output are Nx2 numpy arrays.
- """
- longitude = ll[:, 0:1]
- latitude = ll[:, 1:2]
-
- # Pre-compute some values
- half_long = longitude / 2.0
- cos_latitude = np.cos(latitude)
- sqrt2 = np.sqrt(2.0)
-
- alpha = 1.0 + cos_latitude * np.cos(half_long)
- x = (2.0 * sqrt2) * (cos_latitude * np.sin(half_long)) / alpha
- y = (sqrt2 * np.sin(latitude)) / alpha
- return np.concatenate((x, y), 1)
-
- # This is where things get interesting. With this projection,
- # straight lines in data space become curves in display space.
- # This is done by interpolating new values between the input
- # values of the data. Since ``transform`` must not return a
- # differently-sized array, any transform that requires
- # changing the length of the data array must happen within
- # ``transform_path``.
- def transform_path_non_affine(self, path):
- ipath = path.interpolated(path._interpolation_steps)
- return Path(self.transform(ipath.vertices), ipath.codes)
- transform_path_non_affine.__doc__ = \
- Transform.transform_path_non_affine.__doc__
-
- if matplotlib.__version__ < '1.2':
- # Note: For compatibility with matplotlib v1.1 and older, you'll
- # need to explicitly implement a ``transform`` method as well.
- # Otherwise a ``NotImplementedError`` will be raised. This isn't
- # necessary for v1.2 and newer, however.
- transform = transform_non_affine
-
- # Similarly, we need to explicitly override ``transform_path`` if
- # compatibility with older matplotlib versions is needed. With v1.2
- # and newer, only overriding the ``transform_path_non_affine``
- # method is sufficient.
- transform_path = transform_path_non_affine
- transform_path.__doc__ = Transform.transform_path.__doc__
-
- def inverted(self):
- return HammerAxes.InvertedHammerTransform()
- inverted.__doc__ = Transform.inverted.__doc__
-
- class InvertedHammerTransform(Transform):
- input_dims = 2
- output_dims = 2
- is_separable = False
-
- def transform_non_affine(self, xy):
- x = xy[:, 0:1]
- y = xy[:, 1:2]
-
- quarter_x = 0.25 * x
- half_y = 0.5 * y
- z = np.sqrt(1.0 - quarter_x*quarter_x - half_y*half_y)
- longitude = 2 * np.arctan((z*x) / (2.0 * (2.0*z*z - 1.0)))
- latitude = np.arcsin(y*z)
- return np.concatenate((longitude, latitude), 1)
- transform_non_affine.__doc__ = Transform.transform_non_affine.__doc__
-
- # As before, we need to implement the "transform" method for
- # compatibility with matplotlib v1.1 and older.
- if matplotlib.__version__ < '1.2':
- transform = transform_non_affine
-
- def inverted(self):
- # The inverse of the inverse is the original transform... ;)
- return HammerAxes.HammerTransform()
- inverted.__doc__ = Transform.inverted.__doc__
-
- # Now register the projection with matplotlib so the user can select
- # it.
- register_projection(HammerAxes)
-
- if __name__ == '__main__':
- import matplotlib.pyplot as plt
- # Now make a simple example using the custom projection.
- plt.subplot(111, projection="custom_hammer")
- p = plt.plot([-1, 1, 1], [-1, -1, 1], "o-")
- plt.grid(True)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/custom_scale_example.txt b/dev/_sources/examples/api/custom_scale_example.txt
deleted file mode 100644
index bd215c100d5..00000000000
--- a/dev/_sources/examples/api/custom_scale_example.txt
+++ /dev/null
@@ -1,187 +0,0 @@
-.. _api-custom_scale_example:
-
-api example code: custom_scale_example.py
-=========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/custom_scale_example.py
-
-::
-
- from __future__ import unicode_literals
-
- import numpy as np
- from numpy import ma
- from matplotlib import scale as mscale
- from matplotlib import transforms as mtransforms
- from matplotlib.ticker import Formatter, FixedLocator
-
-
- class MercatorLatitudeScale(mscale.ScaleBase):
- """
- Scales data in range -pi/2 to pi/2 (-90 to 90 degrees) using
- the system used to scale latitudes in a Mercator projection.
-
- The scale function:
- ln(tan(y) + sec(y))
-
- The inverse scale function:
- atan(sinh(y))
-
- Since the Mercator scale tends to infinity at +/- 90 degrees,
- there is user-defined threshold, above and below which nothing
- will be plotted. This defaults to +/- 85 degrees.
-
- source:
- http://en.wikipedia.org/wiki/Mercator_projection
- """
-
- # The scale class must have a member ``name`` that defines the
- # string used to select the scale. For example,
- # ``gca().set_yscale("mercator")`` would be used to select this
- # scale.
- name = 'mercator'
-
-
- def __init__(self, axis, **kwargs):
- """
- Any keyword arguments passed to ``set_xscale`` and
- ``set_yscale`` will be passed along to the scale's
- constructor.
-
- thresh: The degree above which to crop the data.
- """
- mscale.ScaleBase.__init__(self)
- thresh = kwargs.pop("thresh", (85 / 180.0) * np.pi)
- if thresh >= np.pi / 2.0:
- raise ValueError("thresh must be less than pi/2")
- self.thresh = thresh
-
- def get_transform(self):
- """
- Override this method to return a new instance that does the
- actual transformation of the data.
-
- The MercatorLatitudeTransform class is defined below as a
- nested class of this one.
- """
- return self.MercatorLatitudeTransform(self.thresh)
-
- def set_default_locators_and_formatters(self, axis):
- """
- Override to set up the locators and formatters to use with the
- scale. This is only required if the scale requires custom
- locators and formatters. Writing custom locators and
- formatters is rather outside the scope of this example, but
- there are many helpful examples in ``ticker.py``.
-
- In our case, the Mercator example uses a fixed locator from
- -90 to 90 degrees and a custom formatter class to put convert
- the radians to degrees and put a degree symbol after the
- value::
- """
- class DegreeFormatter(Formatter):
- def __call__(self, x, pos=None):
- # \u00b0 : degree symbol
- return "%d\u00b0" % ((x / np.pi) * 180.0)
-
- deg2rad = np.pi / 180.0
- axis.set_major_locator(FixedLocator(
- np.arange(-90, 90, 10) * deg2rad))
- axis.set_major_formatter(DegreeFormatter())
- axis.set_minor_formatter(DegreeFormatter())
-
- def limit_range_for_scale(self, vmin, vmax, minpos):
- """
- Override to limit the bounds of the axis to the domain of the
- transform. In the case of Mercator, the bounds should be
- limited to the threshold that was passed in. Unlike the
- autoscaling provided by the tick locators, this range limiting
- will always be adhered to, whether the axis range is set
- manually, determined automatically or changed through panning
- and zooming.
- """
- return max(vmin, -self.thresh), min(vmax, self.thresh)
-
- class MercatorLatitudeTransform(mtransforms.Transform):
- # There are two value members that must be defined.
- # ``input_dims`` and ``output_dims`` specify number of input
- # dimensions and output dimensions to the transformation.
- # These are used by the transformation framework to do some
- # error checking and prevent incompatible transformations from
- # being connected together. When defining transforms for a
- # scale, which are, by definition, separable and have only one
- # dimension, these members should always be set to 1.
- input_dims = 1
- output_dims = 1
- is_separable = True
-
- def __init__(self, thresh):
- mtransforms.Transform.__init__(self)
- self.thresh = thresh
-
- def transform_non_affine(self, a):
- """
- This transform takes an Nx1 ``numpy`` array and returns a
- transformed copy. Since the range of the Mercator scale
- is limited by the user-specified threshold, the input
- array must be masked to contain only valid values.
- ``matplotlib`` will handle masked arrays and remove the
- out-of-range data from the plot. Importantly, the
- ``transform`` method *must* return an array that is the
- same shape as the input array, since these values need to
- remain synchronized with values in the other dimension.
- """
- masked = ma.masked_where((a < -self.thresh) | (a > self.thresh), a)
- if masked.mask.any():
- return ma.log(np.abs(ma.tan(masked) + 1.0 / ma.cos(masked)))
- else:
- return np.log(np.abs(np.tan(a) + 1.0 / np.cos(a)))
-
- def inverted(self):
- """
- Override this method so matplotlib knows how to get the
- inverse transform for this transform.
- """
- return MercatorLatitudeScale.InvertedMercatorLatitudeTransform(self.thresh)
-
- class InvertedMercatorLatitudeTransform(mtransforms.Transform):
- input_dims = 1
- output_dims = 1
- is_separable = True
-
- def __init__(self, thresh):
- mtransforms.Transform.__init__(self)
- self.thresh = thresh
-
- def transform_non_affine(self, a):
- return np.arctan(np.sinh(a))
-
- def inverted(self):
- return MercatorLatitudeScale.MercatorLatitudeTransform(self.thresh)
-
- # Now that the Scale class has been defined, it must be registered so
- # that ``matplotlib`` can find it.
- mscale.register_scale(MercatorLatitudeScale)
-
-
- if __name__ == '__main__':
- import matplotlib.pyplot as plt
-
- t = np.arange(-180.0, 180.0, 0.1)
- s = t / 360.0 * np.pi
-
- plt.plot(t, s, '-', lw=2)
- plt.gca().set_yscale('mercator')
-
- plt.xlabel('Longitude')
- plt.ylabel('Latitude')
- plt.title('Mercator: Projection of the Oppressor')
- plt.grid(True)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/date_demo.txt b/dev/_sources/examples/api/date_demo.txt
deleted file mode 100644
index 1dda61a4faa..00000000000
--- a/dev/_sources/examples/api/date_demo.txt
+++ /dev/null
@@ -1,69 +0,0 @@
-.. _api-date_demo:
-
-api example code: date_demo.py
-==============================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/date_demo.py
-
-::
-
- #!/usr/bin/env python
- """
- Show how to make date plots in matplotlib using date tick locators and
- formatters. See major_minor_demo1.py for more information on
- controlling major and minor ticks
-
- All matplotlib date plotting is done by converting date instances into
- days since the 0001-01-01 UTC. The conversion, tick locating and
- formatting is done behind the scenes so this is most transparent to
- you. The dates module provides several converter functions date2num
- and num2date
-
- """
- import datetime
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.dates as mdates
- import matplotlib.cbook as cbook
-
- years = mdates.YearLocator() # every year
- months = mdates.MonthLocator() # every month
- yearsFmt = mdates.DateFormatter('%Y')
-
- # load a numpy record array from yahoo csv data with fields date,
- # open, close, volume, adj_close from the mpl-data/example directory.
- # The record array stores python datetime.date as an object array in
- # the date column
- datafile = cbook.get_sample_data('goog.npy')
- r = np.load(datafile).view(np.recarray)
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.plot(r.date, r.adj_close)
-
-
- # format the ticks
- ax.xaxis.set_major_locator(years)
- ax.xaxis.set_major_formatter(yearsFmt)
- ax.xaxis.set_minor_locator(months)
-
- datemin = datetime.date(r.date.min().year, 1, 1)
- datemax = datetime.date(r.date.max().year+1, 1, 1)
- ax.set_xlim(datemin, datemax)
-
- # format the coords message box
- def price(x): return '$%1.2f'%x
- ax.format_xdata = mdates.DateFormatter('%Y-%m-%d')
- ax.format_ydata = price
- ax.grid(True)
-
- # rotates and right aligns the x labels, and moves the bottom of the
- # axes up to make room for them
- fig.autofmt_xdate()
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/date_index_formatter.txt b/dev/_sources/examples/api/date_index_formatter.txt
deleted file mode 100644
index 938df85c4cd..00000000000
--- a/dev/_sources/examples/api/date_index_formatter.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-.. _api-date_index_formatter:
-
-api example code: date_index_formatter.py
-=========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/date_index_formatter.py
-
-::
-
- """
- When plotting time series, eg financial time series, one often wants
- to leave out days on which there is no data, eh weekends. The example
- below shows how to use an 'index formatter' to achieve the desired plot
- """
- from __future__ import print_function
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.mlab as mlab
- import matplotlib.cbook as cbook
- import matplotlib.ticker as ticker
-
- datafile = cbook.get_sample_data('aapl.csv', asfileobj=False)
- print ('loading %s' % datafile)
- r = mlab.csv2rec(datafile)
-
- r.sort()
- r = r[-30:] # get the last 30 days
-
-
- # first we'll do it the default way, with gaps on weekends
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.plot(r.date, r.adj_close, 'o-')
- fig.autofmt_xdate()
-
- # next we'll write a custom formatter
- N = len(r)
- ind = np.arange(N) # the evenly spaced plot indices
-
- def format_date(x, pos=None):
- thisind = np.clip(int(x+0.5), 0, N-1)
- return r.date[thisind].strftime('%Y-%m-%d')
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.plot(ind, r.adj_close, 'o-')
- ax.xaxis.set_major_formatter(ticker.FuncFormatter(format_date))
- fig.autofmt_xdate()
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/demo_affine_image.txt b/dev/_sources/examples/api/demo_affine_image.txt
deleted file mode 100644
index 05e978c3138..00000000000
--- a/dev/_sources/examples/api/demo_affine_image.txt
+++ /dev/null
@@ -1,80 +0,0 @@
-.. _api-demo_affine_image:
-
-api example code: demo_affine_image.py
-======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/demo_affine_image.py
-
-::
-
- #!/usr/bin/env python
-
-
- """
- For the backends that supports draw_image with optional affine
- transform (e.g., agg, ps backend), the image of the output should
- have its boundary matches the red rectangles.
- """
-
- import numpy as np
- import matplotlib.cm as cm
- import matplotlib.mlab as mlab
- import matplotlib.pyplot as plt
- import matplotlib.transforms as mtransforms
-
- def get_image():
- delta = 0.25
- x = y = np.arange(-3.0, 3.0, delta)
- X, Y = np.meshgrid(x, y)
- Z1 = mlab.bivariate_normal(X, Y, 1.0, 1.0, 0.0, 0.0)
- Z2 = mlab.bivariate_normal(X, Y, 1.5, 0.5, 1, 1)
- Z = Z2-Z1 # difference of Gaussians
- return Z
-
- def imshow_affine(ax, z, *kl, **kwargs):
- im = ax.imshow(z, *kl, **kwargs)
- x1, x2, y1, y2 = im.get_extent()
- im._image_skew_coordinate = (x2, y1)
- return im
-
-
- if 1:
-
- # image rotation
-
- ax1 = plt.subplot(121)
- Z = get_image()
- im1 = imshow_affine(ax1, Z, interpolation='none', cmap=cm.jet,
- origin='lower',
- extent=[-2, 4, -3, 2], clip_on=True)
-
- trans_data2 = mtransforms.Affine2D().rotate_deg(30) + ax1.transData
- im1.set_transform(trans_data2)
-
- # display intended extent of the image
- x1, x2, y1, y2 = im1.get_extent()
- x3, y3 = x2, y1
-
- ax1.plot([x1, x2, x2, x1, x1], [y1, y1, y2, y2, y1], "r--", lw=3,
- transform=trans_data2)
-
- ax1.set_xlim(-3, 5)
- ax1.set_ylim(-4, 4)
-
-
- # image skew
-
- ax2 = plt.subplot(122)
- im2 = ax2.imshow(Z, interpolation='none', cmap=cm.jet,
- origin='lower',
- extent=[-2, 4, -3, 2], clip_on=True)
- im2._image_skew_coordinate = (3, -2)
-
-
- plt.show()
- #plt.savefig("demo_affine_image")
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/donut_demo.txt b/dev/_sources/examples/api/donut_demo.txt
deleted file mode 100644
index 514f86caacb..00000000000
--- a/dev/_sources/examples/api/donut_demo.txt
+++ /dev/null
@@ -1,68 +0,0 @@
-.. _api-donut_demo:
-
-api example code: donut_demo.py
-===============================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/donut_demo.py
-
-::
-
- import numpy as np
- import matplotlib.path as mpath
- import matplotlib.patches as mpatches
- import matplotlib.pyplot as plt
-
- def wise(v):
- if v == 1:
- return "CCW"
- else:
- return "CW"
-
- def make_circle(r):
- t = np.arange(0, np.pi * 2.0, 0.01)
- t = t.reshape((len(t), 1))
- x = r * np.cos(t)
- y = r * np.sin(t)
- return np.hstack((x, y))
-
- Path = mpath.Path
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- inside_vertices = make_circle(0.5)
- outside_vertices = make_circle(1.0)
- codes = np.ones(len(inside_vertices), dtype=mpath.Path.code_type) * mpath.Path.LINETO
- codes[0] = mpath.Path.MOVETO
-
- for i, (inside, outside) in enumerate(((1, 1), (1, -1), (-1, 1), (-1, -1))):
- # Concatenate the inside and outside subpaths together, changing their
- # order as needed
- vertices = np.concatenate((outside_vertices[::outside],
- inside_vertices[::inside]))
- # Shift the path
- vertices[:, 0] += i * 2.5
- # The codes will be all "LINETO" commands, except for "MOVETO"s at the
- # beginning of each subpath
- all_codes = np.concatenate((codes, codes))
- # Create the Path object
- path = mpath.Path(vertices, all_codes)
- # Add plot it
- patch = mpatches.PathPatch(path, facecolor='#885500', edgecolor='black')
- ax.add_patch(patch)
-
- ax.annotate("Outside %s,\nInside %s" % (wise(outside), wise(inside)),
- (i * 2.5, -1.5), va="top", ha="center")
-
- ax.set_xlim(-2,10)
- ax.set_ylim(-3,2)
- ax.set_title('Mmm, donuts!')
- ax.set_aspect(1.0)
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/engineering_formatter.txt b/dev/_sources/examples/api/engineering_formatter.txt
deleted file mode 100644
index 3836c725a60..00000000000
--- a/dev/_sources/examples/api/engineering_formatter.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-.. _api-engineering_formatter:
-
-api example code: engineering_formatter.py
-==========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/engineering_formatter.py
-
-::
-
- '''
- Demo to show use of the engineering Formatter.
- '''
-
- import matplotlib.pyplot as plt
- import numpy as np
-
- from matplotlib.ticker import EngFormatter
-
- ax = plt.subplot(111)
- ax.set_xscale('log')
- formatter = EngFormatter(unit='Hz', places=1)
- ax.xaxis.set_major_formatter(formatter)
-
- xs = np.logspace(1, 9, 100)
- ys = (0.8 + 0.4 * np.random.uniform(size=100)) * np.log10(xs)**2
- ax.plot(xs, ys)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/fahrenheit_celsius_scales.txt b/dev/_sources/examples/api/fahrenheit_celsius_scales.txt
deleted file mode 100644
index 3adc4555f1f..00000000000
--- a/dev/_sources/examples/api/fahrenheit_celsius_scales.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-.. _api-fahrenheit_celsius_scales:
-
-api example code: fahrenheit_celsius_scales.py
-==============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/fahrenheit_celsius_scales.py
-
-::
-
- """
- Show how to display two scales on the left and right y axis -- Fahrenheit and Celsius
- """
-
- import matplotlib.pyplot as plt
-
- fig = plt.figure()
- ax1 = fig.add_subplot(111) # the Fahrenheit scale
- ax2 = ax1.twinx() # the Celsius scale
-
- def Tc(Tf):
- return (5./9.)*(Tf-32)
-
-
- def update_ax2(ax1):
- y1, y2 = ax1.get_ylim()
- ax2.set_ylim(Tc(y1), Tc(y2))
- ax2.figure.canvas.draw()
-
- # automatically update ylim of ax2 when ylim of ax1 changes.
- ax1.callbacks.connect("ylim_changed", update_ax2)
- ax1.plot([78, 79, 79, 77])
-
- ax1.set_title('Two scales: Fahrenheit and Celsius')
- ax1.set_ylabel('Fahrenheit')
- ax2.set_ylabel('Celsius')
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/font_family_rc.txt b/dev/_sources/examples/api/font_family_rc.txt
deleted file mode 100644
index f1789ce34ed..00000000000
--- a/dev/_sources/examples/api/font_family_rc.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-.. _api-font_family_rc:
-
-api example code: font_family_rc.py
-===================================
-
-[`source code `_]
-
-::
-
- """
- You can explicitly set which font family is picked up for a given font
- style (eg 'serif', 'sans-serif', or 'monospace').
-
- In the example below, we only allow one font family (Tahoma) for the
- san-serif font style. You the default family with the font.family rc
- param, eg::
-
- rcParams['font.family'] = 'sans-serif'
-
- and for the font.family you set a list of font styles to try to find
- in order::
-
- rcParams['font.sans-serif'] = ['Tahoma', 'Bitstream Vera Sans', 'Lucida Grande', 'Verdana']
-
- """
-
- # -*- noplot -*-
-
- from matplotlib import rcParams
- rcParams['font.family'] = 'sans-serif'
- rcParams['font.sans-serif'] = ['Tahoma']
- import matplotlib.pyplot as plt
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.plot([1,2,3], label='test')
-
- ax.legend()
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/font_file.txt b/dev/_sources/examples/api/font_file.txt
deleted file mode 100644
index d90270bf615..00000000000
--- a/dev/_sources/examples/api/font_file.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-.. _api-font_file:
-
-api example code: font_file.py
-==============================
-
-[`source code `_]
-
-::
-
- # -*- noplot -*-
- """
- Although it is usually not a good idea to explicitly point to a single
- ttf file for a font instance, you can do so using the
- font_manager.FontProperties fname argument (for a more flexible
- solution, see the font_fmaily_rc.py and fonts_demo.py examples).
- """
- import sys
- import os
- import matplotlib.font_manager as fm
-
- import matplotlib.pyplot as plt
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.plot([1,2,3])
-
- if sys.platform == 'win32':
- fpath = 'C:\\Windows\\Fonts\\Tahoma.ttf'
- elif sys.platform.startswith('linux'):
- fonts = ['/usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf',
- '/usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf',
- '/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf',
- ]
- for fpath in fonts:
- if os.path.exists(fpath):
- break
- else:
- fpath = '/Library/Fonts/Tahoma.ttf'
-
- if os.path.exists(fpath):
- prop = fm.FontProperties(fname=fpath)
- fname = os.path.split(fpath)[1]
- ax.set_title('this is a special font: %s' % fname, fontproperties=prop)
- else:
- ax.set_title('Demo fails--cannot find a demo font')
- ax.set_xlabel('This is the default font')
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/hinton_demo.txt b/dev/_sources/examples/api/hinton_demo.txt
deleted file mode 100644
index 3ad6465be21..00000000000
--- a/dev/_sources/examples/api/hinton_demo.txt
+++ /dev/null
@@ -1,74 +0,0 @@
-.. _api-hinton_demo:
-
-api example code: hinton_demo.py
-================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/hinton_demo.py
-
-::
-
- #Initial idea from David Warde-Farley on the SciPy Cookbook
- import numpy as np
- import matplotlib.pyplot as plt
- from matplotlib.patches import Rectangle
- from matplotlib.ticker import NullLocator
- #from matplotlib.collections import RegularPolyCollection
- #from matplotlib.colors import BoundaryNorm, ListedColormap
-
- def hinton(W, maxWeight=None, ax=None):
- """
- Draws a Hinton diagram for visualizing a weight matrix.
- """
- if not ax:
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1)
-
- if not maxWeight:
- maxWeight = 2**np.ceil(np.log(np.abs(W).max())/np.log(2))
-
- ax.patch.set_facecolor('gray')
- ax.set_aspect('equal', 'box')
- ax.xaxis.set_major_locator(NullLocator())
- ax.yaxis.set_major_locator(NullLocator())
-
- for (x,y),w in np.ndenumerate(W):
- if w > 0: color = 'white'
- else: color = 'black'
- size = np.sqrt(np.abs(w))
- rect = Rectangle([x - size / 2, y - size / 2], size, size,
- facecolor=color, edgecolor=color)
- ax.add_patch(rect)
- ax.autoscale_view()
-
- # Reverse the yaxis limits
- ax.set_ylim(*ax.get_ylim()[::-1])
-
- ## Potential way using polygon collections that just has an issue with
- ## easily getting the squares scaled by the data.
-
- # height,width = W.shape
- # x = np.arange(width)
- # y = np.arange(height)
- # X,Y = np.meshgrid(x, y)
- # xy = np.array([X.flatten(),Y.flatten()]).T
- # scaled_data = W.flatten() / maxWeight
- # cmap = ListedColormap(['black', 'white'])
- # norm = BoundaryNorm([-1., 0., 1.], cmap.N)
-
- # rect_col = RegularPolyCollection(4, rotation=np.pi/4,
- # sizes=np.abs(scaled_data) * 72 / ax.figure.get_dpi(), offsets=xy,
- # transOffset=ax.transData, norm=norm, cmap=cmap, edgecolor='none')
- # ax.add_collection(rect_col)
- # rect_col.set_array(scaled_data)
- # ax.autoscale_view()
-
- if __name__ == '__main__':
- hinton(np.random.rand(20, 20) - 0.5)
- plt.title('Hinton Example')
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/histogram_demo.txt b/dev/_sources/examples/api/histogram_demo.txt
deleted file mode 100644
index dd743205ba9..00000000000
--- a/dev/_sources/examples/api/histogram_demo.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-.. _api-histogram_demo:
-
-api example code: histogram_demo.py
-===================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/histogram_demo.py
-
-::
-
- """
- Make a histogram of normally distributed random numbers and plot the
- analytic PDF over it
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.mlab as mlab
-
- mu, sigma = 100, 15
- x = mu + sigma * np.random.randn(10000)
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- # the histogram of the data
- n, bins, patches = ax.hist(x, 50, normed=1, facecolor='green', alpha=0.75)
-
- # hist uses np.histogram under the hood to create 'n' and 'bins'.
- # np.histogram returns the bin edges, so there will be 50 probability
- # density values in n, 51 bin edges in bins and 50 patches. To get
- # everything lined up, we'll compute the bin centers
- bincenters = 0.5*(bins[1:]+bins[:-1])
- # add a 'best fit' line for the normal PDF
- y = mlab.normpdf( bincenters, mu, sigma)
- l = ax.plot(bincenters, y, 'r--', linewidth=1)
-
- ax.set_xlabel('Smarts')
- ax.set_ylabel('Probability')
- #ax.set_title(r'$\mathrm{Histogram\ of\ IQ:}\ \mu=100,\ \sigma=15$')
- ax.set_xlim(40, 160)
- ax.set_ylim(0, 0.03)
- ax.grid(True)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/histogram_path_demo.txt b/dev/_sources/examples/api/histogram_path_demo.txt
deleted file mode 100644
index cf60cc79cba..00000000000
--- a/dev/_sources/examples/api/histogram_path_demo.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-.. _api-histogram_path_demo:
-
-api example code: histogram_path_demo.py
-========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/histogram_path_demo.py
-
-::
-
- """
- This example shows how to use a path patch to draw a bunch of
- rectangles. The technique of using lots of Rectangle instances, or
- the faster method of using PolyCollections, were implemented before we
- had proper paths with moveto/lineto, closepoly etc in mpl. Now that
- we have them, we can draw collections of regularly shaped objects with
- homogeous properties more efficiently with a PathCollection. This
- example makes a histogram -- its more work to set up the vertex arrays
- at the outset, but it should be much faster for large numbers of
- objects
- """
-
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.patches as patches
- import matplotlib.path as path
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- # histogram our data with numpy
- data = np.random.randn(1000)
- n, bins = np.histogram(data, 50)
-
- # get the corners of the rectangles for the histogram
- left = np.array(bins[:-1])
- right = np.array(bins[1:])
- bottom = np.zeros(len(left))
- top = bottom + n
-
-
- # we need a (numrects x numsides x 2) numpy array for the path helper
- # function to build a compound path
- XY = np.array([[left,left,right,right], [bottom,top,top,bottom]]).T
-
- # get the Path object
- barpath = path.Path.make_compound_path_from_polys(XY)
-
- # make a patch out of it
- patch = patches.PathPatch(barpath, facecolor='blue', edgecolor='gray', alpha=0.8)
- ax.add_patch(patch)
-
- # update the view limits
- ax.set_xlim(left[0], right[-1])
- ax.set_ylim(bottom.min(), top.max())
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/image_zcoord.txt b/dev/_sources/examples/api/image_zcoord.txt
deleted file mode 100644
index d2c8b100b95..00000000000
--- a/dev/_sources/examples/api/image_zcoord.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-.. _api-image_zcoord:
-
-api example code: image_zcoord.py
-=================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/image_zcoord.py
-
-::
-
- """
- Show how to modify the coordinate formatter to report the image "z"
- value of the nearest pixel given x and y
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.cm as cm
-
- X = 10*np.random.rand(5,3)
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.imshow(X, cmap=cm.jet, interpolation='nearest')
-
- numrows, numcols = X.shape
- def format_coord(x, y):
- col = int(x+0.5)
- row = int(y+0.5)
- if col>=0 and col=0 and row
- barchart_demo
- bbox_intersect
- collections_demo
- colorbar_only
- compound_path
- custom_projection_example
- custom_scale_example
- date_demo
- date_index_formatter
- demo_affine_image
- donut_demo
- engineering_formatter
- fahrenheit_celsius_scales
- font_family_rc
- font_file
- histogram_path_demo
- image_zcoord
- joinstyle
- legend_demo
- line_with_text
- logo2
- mathtext_asarray
- patch_collection
- quad_bezier
- radar_chart
- sankey_demo_basics
- sankey_demo_links
- sankey_demo_old
- sankey_demo_rankine
- scatter_piecharts
- span_regions
- two_scales
- unicode_minus
- watermark_image
- watermark_text
diff --git a/dev/_sources/examples/api/joinstyle.txt b/dev/_sources/examples/api/joinstyle.txt
deleted file mode 100644
index 623cd710628..00000000000
--- a/dev/_sources/examples/api/joinstyle.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-.. _api-joinstyle:
-
-api example code: joinstyle.py
-==============================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/joinstyle.py
-
-::
-
- #!/usr/bin/env python
- """
- Illustrate the three different join styles
- """
-
- import numpy as np
- import matplotlib
- import matplotlib.pyplot as plt
-
- def plot_angle(ax, x, y, angle, style):
- phi = angle/180*np.pi
- xx = [x+.5,x,x+.5*np.cos(phi)]
- yy = [y,y,y+.5*np.sin(phi)]
- ax.plot(xx, yy, lw=8, color='blue', solid_joinstyle=style)
- ax.plot(xx[1:], yy[1:], lw=1, color='black')
- ax.plot(xx[1::-1], yy[1::-1], lw=1, color='black')
- ax.plot(xx[1:2], yy[1:2], 'o', color='red', markersize=3)
- ax.text(x,y+.2,'%.0f degrees' % angle)
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.set_title('Join style')
-
- for x,style in enumerate((('miter', 'round', 'bevel'))):
- ax.text(x, 5, style)
- for i in range(5):
- plot_angle(ax, x, i, pow(2.0,3+i), style)
-
- ax.set_xlim(-.5,2.75)
- ax.set_ylim(-.5,5.5)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/legend_demo.txt b/dev/_sources/examples/api/legend_demo.txt
deleted file mode 100644
index 29073b1f991..00000000000
--- a/dev/_sources/examples/api/legend_demo.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-.. _api-legend_demo:
-
-api example code: legend_demo.py
-================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/legend_demo.py
-
-::
-
- """
- Demo of the legend function with a few features.
-
- In addition to the basic legend, this demo shows a few optional features:
-
- * Custom legend placement.
- * A keyword argument to a drop-shadow.
- * Setting the background color.
- * Setting the font size.
- * Setting the line width.
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
-
- # Example data
- a = np.arange(0,3, .02)
- b = np.arange(0,3, .02)
- c = np.exp(a)
- d = c[::-1]
-
- # Create plots with pre-defined labels.
- # Alternatively, you can pass labels explicitly when calling `legend`.
- fig, ax = plt.subplots()
- ax.plot(a, c, 'k--', label='Model length')
- ax.plot(a, d, 'k:', label='Data length')
- ax.plot(a, c+d, 'k', label='Total message length')
-
- # Now add the legend with some customizations.
- legend = ax.legend(loc='upper center', shadow=True)
-
- # The frame is matplotlib.patches.Rectangle instance surrounding the legend.
- frame = legend.get_frame()
- frame.set_facecolor('0.90')
-
- # Set the fontsize
- for label in legend.get_texts():
- label.set_fontsize('large')
-
- for label in legend.get_lines():
- label.set_linewidth(1.5) # the legend line width
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/line_with_text.txt b/dev/_sources/examples/api/line_with_text.txt
deleted file mode 100644
index a082e538769..00000000000
--- a/dev/_sources/examples/api/line_with_text.txt
+++ /dev/null
@@ -1,79 +0,0 @@
-.. _api-line_with_text:
-
-api example code: line_with_text.py
-===================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/line_with_text.py
-
-::
-
- """
- Show how to override basic methods so an artist can contain another
- artist. In this case, the line contains a Text instance to label it.
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.lines as lines
- import matplotlib.transforms as mtransforms
- import matplotlib.text as mtext
-
-
- class MyLine(lines.Line2D):
-
- def __init__(self, *args, **kwargs):
- # we'll update the position when the line data is set
- self.text = mtext.Text(0, 0, '')
- lines.Line2D.__init__(self, *args, **kwargs)
-
- # we can't access the label attr until *after* the line is
- # inited
- self.text.set_text(self.get_label())
-
- def set_figure(self, figure):
- self.text.set_figure(figure)
- lines.Line2D.set_figure(self, figure)
-
- def set_axes(self, axes):
- self.text.set_axes(axes)
- lines.Line2D.set_axes(self, axes)
-
- def set_transform(self, transform):
- # 2 pixel offset
- texttrans = transform + mtransforms.Affine2D().translate(2, 2)
- self.text.set_transform(texttrans)
- lines.Line2D.set_transform(self, transform)
-
-
- def set_data(self, x, y):
- if len(x):
- self.text.set_position((x[-1], y[-1]))
-
- lines.Line2D.set_data(self, x, y)
-
- def draw(self, renderer):
- # draw my label at the end of the line with 2 pixel offset
- lines.Line2D.draw(self, renderer)
- self.text.draw(renderer)
-
-
-
-
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- x, y = np.random.rand(2, 20)
- line = MyLine(x, y, mfc='red', ms=12, label='line label')
- #line.text.set_text('line label')
- line.text.set_color('red')
- line.text.set_fontsize(16)
-
-
- ax.add_line(line)
-
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/logo2.txt b/dev/_sources/examples/api/logo2.txt
deleted file mode 100644
index c288da37f1c..00000000000
--- a/dev/_sources/examples/api/logo2.txt
+++ /dev/null
@@ -1,93 +0,0 @@
-.. _api-logo2:
-
-api example code: logo2.py
-==========================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/logo2.py
-
-::
-
- """
- Thanks to Tony Yu for the logo design
- """
-
- import numpy as np
- import matplotlib as mpl
- import matplotlib.pyplot as plt
- import matplotlib.cm as cm
-
- mpl.rcParams['xtick.labelsize'] = 10
- mpl.rcParams['ytick.labelsize'] = 12
- mpl.rcParams['axes.edgecolor'] = 'gray'
-
-
- axalpha = 0.05
- #figcolor = '#EFEFEF'
- figcolor = 'white'
- dpi = 80
- fig = plt.figure(figsize=(6, 1.1),dpi=dpi)
- fig.figurePatch.set_edgecolor(figcolor)
- fig.figurePatch.set_facecolor(figcolor)
-
-
- def add_math_background():
- ax = fig.add_axes([0., 0., 1., 1.])
-
- text = []
- text.append((r"$W^{3\beta}_{\delta_1 \rho_1 \sigma_2} = U^{3\beta}_{\delta_1 \rho_1} + \frac{1}{8 \pi 2} \int^{\alpha_2}_{\alpha_2} d \alpha^\prime_2 \left[\frac{ U^{2\beta}_{\delta_1 \rho_1} - \alpha^\prime_2U^{1\beta}_{\rho_1 \sigma_2} }{U^{0\beta}_{\rho_1 \sigma_2}}\right]$", (0.7, 0.2), 20))
- text.append((r"$\frac{d\rho}{d t} + \rho \vec{v}\cdot\nabla\vec{v} = -\nabla p + \mu\nabla^2 \vec{v} + \rho \vec{g}$",
- (0.35, 0.9), 20))
- text.append((r"$\int_{-\infty}^\infty e^{-x^2}dx=\sqrt{\pi}$",
- (0.15, 0.3), 25))
- #text.append((r"$E = mc^2 = \sqrt{{m_0}^2c^4 + p^2c^2}$",
- # (0.7, 0.42), 30))
- text.append((r"$F_G = G\frac{m_1m_2}{r^2}$",
- (0.85, 0.7), 30))
- for eq, (x, y), size in text:
- ax.text(x, y, eq, ha='center', va='center', color="#11557c", alpha=0.25,
- transform=ax.transAxes, fontsize=size)
- ax.set_axis_off()
- return ax
-
- def add_matplotlib_text(ax):
- ax.text(0.95, 0.5, 'matplotlib', color='#11557c', fontsize=65,
- ha='right', va='center', alpha=1.0, transform=ax.transAxes)
-
- def add_polar_bar():
- ax = fig.add_axes([0.025, 0.075, 0.2, 0.85], polar=True)
-
-
- ax.axesPatch.set_alpha(axalpha)
- ax.set_axisbelow(True)
- N = 7
- arc = 2. * np.pi
- theta = np.arange(0.0, arc, arc/N)
- radii = 10 * np.array([0.2, 0.6, 0.8, 0.7, 0.4, 0.5, 0.8])
- width = np.pi / 4 * np.array([0.4, 0.4, 0.6, 0.8, 0.2, 0.5, 0.3])
- bars = ax.bar(theta, radii, width=width, bottom=0.0)
- for r, bar in zip(radii, bars):
- bar.set_facecolor(cm.jet(r/10.))
- bar.set_alpha(0.6)
-
- for label in ax.get_xticklabels() + ax.get_yticklabels():
- label.set_visible(False)
-
- for line in ax.get_ygridlines() + ax.get_xgridlines():
- line.set_lw(0.8)
- line.set_alpha(0.9)
- line.set_ls('-')
- line.set_color('0.5')
-
- ax.set_yticks(np.arange(1, 9, 2))
- ax.set_rmax(9)
-
- if __name__ == '__main__':
- main_axes = add_math_background()
- add_polar_bar()
- add_matplotlib_text(main_axes)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/mathtext_asarray.txt b/dev/_sources/examples/api/mathtext_asarray.txt
deleted file mode 100644
index 574b8a866e3..00000000000
--- a/dev/_sources/examples/api/mathtext_asarray.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-.. _api-mathtext_asarray:
-
-api example code: mathtext_asarray.py
-=====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/mathtext_asarray.py
-
-::
-
- """
- Load a mathtext image as numpy array
- """
-
- import numpy as np
- import matplotlib.mathtext as mathtext
- import matplotlib.pyplot as plt
- import matplotlib
- matplotlib.rc('image', origin='upper')
-
- parser = mathtext.MathTextParser("Bitmap")
-
-
- parser.to_png('test2.png', r'$\left[\left\lfloor\frac{5}{\frac{\left(3\right)}{4}} y\right)\right]$', color='green', fontsize=14, dpi=100)
-
-
- rgba1, depth1 = parser.to_rgba(r'IQ: $\sigma_i=15$', color='blue', fontsize=20, dpi=200)
- rgba2, depth2 = parser.to_rgba(r'some other string', color='red', fontsize=20, dpi=200)
-
- fig = plt.figure()
- fig.figimage(rgba1.astype(float)/255., 100, 100)
- fig.figimage(rgba2.astype(float)/255., 100, 300)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/patch_collection.txt b/dev/_sources/examples/api/patch_collection.txt
deleted file mode 100644
index bda30449f94..00000000000
--- a/dev/_sources/examples/api/patch_collection.txt
+++ /dev/null
@@ -1,62 +0,0 @@
-.. _api-patch_collection:
-
-api example code: patch_collection.py
-=====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/patch_collection.py
-
-::
-
- import numpy as np
- import matplotlib
- from matplotlib.patches import Circle, Wedge, Polygon
- from matplotlib.collections import PatchCollection
- import matplotlib.pyplot as plt
-
-
- fig=plt.figure()
- ax=fig.add_subplot(111)
-
- resolution = 50 # the number of vertices
- N = 3
- x = np.random.rand(N)
- y = np.random.rand(N)
- radii = 0.1*np.random.rand(N)
- patches = []
- for x1,y1,r in zip(x, y, radii):
- circle = Circle((x1,y1), r)
- patches.append(circle)
-
- x = np.random.rand(N)
- y = np.random.rand(N)
- radii = 0.1*np.random.rand(N)
- theta1 = 360.0*np.random.rand(N)
- theta2 = 360.0*np.random.rand(N)
- for x1,y1,r,t1,t2 in zip(x, y, radii, theta1, theta2):
- wedge = Wedge((x1,y1), r, t1, t2)
- patches.append(wedge)
-
- # Some limiting conditions on Wedge
- patches += [
- Wedge((.3,.7), .1, 0, 360), # Full circle
- Wedge((.7,.8), .2, 0, 360, width=0.05), # Full ring
- Wedge((.8,.3), .2, 0, 45), # Full sector
- Wedge((.8,.3), .2, 45, 90, width=0.10), # Ring sector
- ]
-
- for i in range(N):
- polygon = Polygon(np.random.rand(N,2), True)
- patches.append(polygon)
-
- colors = 100*np.random.rand(len(patches))
- p = PatchCollection(patches, cmap=matplotlib.cm.jet, alpha=0.4)
- p.set_array(np.array(colors))
- ax.add_collection(p)
- plt.colorbar(p)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/path_patch_demo.txt b/dev/_sources/examples/api/path_patch_demo.txt
deleted file mode 100644
index f1d4d801a90..00000000000
--- a/dev/_sources/examples/api/path_patch_demo.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-.. _api-path_patch_demo:
-
-api example code: path_patch_demo.py
-====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/path_patch_demo.py
-
-::
-
- import numpy as np
- import matplotlib.path as mpath
- import matplotlib.patches as mpatches
- import matplotlib.pyplot as plt
-
- Path = mpath.Path
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- pathdata = [
- (Path.MOVETO, (1.58, -2.57)),
- (Path.CURVE4, (0.35, -1.1)),
- (Path.CURVE4, (-1.75, 2.0)),
- (Path.CURVE4, (0.375, 2.0)),
- (Path.LINETO, (0.85, 1.15)),
- (Path.CURVE4, (2.2, 3.2)),
- (Path.CURVE4, (3, 0.05)),
- (Path.CURVE4, (2.0, -0.5)),
- (Path.CLOSEPOLY, (1.58, -2.57)),
- ]
-
- codes, verts = zip(*pathdata)
- path = mpath.Path(verts, codes)
- patch = mpatches.PathPatch(path, facecolor='red', edgecolor='yellow', alpha=0.5)
- ax.add_patch(patch)
-
- x, y = zip(*path.vertices)
- line, = ax.plot(x, y, 'go-')
- ax.grid()
- ax.set_xlim(-3,4)
- ax.set_ylim(-3,4)
- ax.set_title('spline paths')
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/quad_bezier.txt b/dev/_sources/examples/api/quad_bezier.txt
deleted file mode 100644
index e35d4cf98f9..00000000000
--- a/dev/_sources/examples/api/quad_bezier.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-.. _api-quad_bezier:
-
-api example code: quad_bezier.py
-================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/quad_bezier.py
-
-::
-
- import numpy as np
- import matplotlib.path as mpath
- import matplotlib.patches as mpatches
- import matplotlib.pyplot as plt
-
- Path = mpath.Path
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- pp1 = mpatches.PathPatch(
- Path([(0, 0), (1, 0), (1, 1), (0, 0)],
- [Path.MOVETO, Path.CURVE3, Path.CURVE3, Path.CLOSEPOLY]),
- fc="none", transform=ax.transData)
-
- ax.add_patch(pp1)
- ax.plot([0.75], [0.25], "ro")
- ax.set_title('The red point should be on the path')
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/radar_chart.txt b/dev/_sources/examples/api/radar_chart.txt
deleted file mode 100644
index 9f0ac200190..00000000000
--- a/dev/_sources/examples/api/radar_chart.txt
+++ /dev/null
@@ -1,209 +0,0 @@
-.. _api-radar_chart:
-
-api example code: radar_chart.py
-================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/radar_chart.py
-
-::
-
- """
- Example of creating a radar chart (a.k.a. a spider or star chart) [1]_.
-
- Although this example allows a frame of either 'circle' or 'polygon', polygon
- frames don't have proper gridlines (the lines are circles instead of polygons).
- It's possible to get a polygon grid by setting GRIDLINE_INTERPOLATION_STEPS in
- matplotlib.axis to the desired number of vertices, but the orientation of the
- polygon is not aligned with the radial axes.
-
- .. [1] http://en.wikipedia.org/wiki/Radar_chart
- """
- import numpy as np
-
- import matplotlib.pyplot as plt
- from matplotlib.path import Path
- from matplotlib.spines import Spine
- from matplotlib.projections.polar import PolarAxes
- from matplotlib.projections import register_projection
-
-
- def radar_factory(num_vars, frame='circle'):
- """Create a radar chart with `num_vars` axes.
-
- This function creates a RadarAxes projection and registers it.
-
- Parameters
- ----------
- num_vars : int
- Number of variables for radar chart.
- frame : {'circle' | 'polygon'}
- Shape of frame surrounding axes.
-
- """
- # calculate evenly-spaced axis angles
- theta = 2*np.pi * np.linspace(0, 1-1./num_vars, num_vars)
- # rotate theta such that the first axis is at the top
- theta += np.pi/2
-
- def draw_poly_patch(self):
- verts = unit_poly_verts(theta)
- return plt.Polygon(verts, closed=True, edgecolor='k')
-
- def draw_circle_patch(self):
- # unit circle centered on (0.5, 0.5)
- return plt.Circle((0.5, 0.5), 0.5)
-
- patch_dict = {'polygon': draw_poly_patch, 'circle': draw_circle_patch}
- if frame not in patch_dict:
- raise ValueError('unknown value for `frame`: %s' % frame)
-
- class RadarAxes(PolarAxes):
-
- name = 'radar'
- # use 1 line segment to connect specified points
- RESOLUTION = 1
- # define draw_frame method
- draw_patch = patch_dict[frame]
-
- def fill(self, *args, **kwargs):
- """Override fill so that line is closed by default"""
- closed = kwargs.pop('closed', True)
- return super(RadarAxes, self).fill(closed=closed, *args, **kwargs)
-
- def plot(self, *args, **kwargs):
- """Override plot so that line is closed by default"""
- lines = super(RadarAxes, self).plot(*args, **kwargs)
- for line in lines:
- self._close_line(line)
-
- def _close_line(self, line):
- x, y = line.get_data()
- # FIXME: markers at x[0], y[0] get doubled-up
- if x[0] != x[-1]:
- x = np.concatenate((x, [x[0]]))
- y = np.concatenate((y, [y[0]]))
- line.set_data(x, y)
-
- def set_varlabels(self, labels):
- self.set_thetagrids(theta * 180/np.pi, labels)
-
- def _gen_axes_patch(self):
- return self.draw_patch()
-
- def _gen_axes_spines(self):
- if frame == 'circle':
- return PolarAxes._gen_axes_spines(self)
- # The following is a hack to get the spines (i.e. the axes frame)
- # to draw correctly for a polygon frame.
-
- # spine_type must be 'left', 'right', 'top', 'bottom', or `circle`.
- spine_type = 'circle'
- verts = unit_poly_verts(theta)
- # close off polygon by repeating first vertex
- verts.append(verts[0])
- path = Path(verts)
-
- spine = Spine(self, spine_type, path)
- spine.set_transform(self.transAxes)
- return {'polar': spine}
-
- register_projection(RadarAxes)
- return theta
-
-
- def unit_poly_verts(theta):
- """Return vertices of polygon for subplot axes.
-
- This polygon is circumscribed by a unit circle centered at (0.5, 0.5)
- """
- x0, y0, r = [0.5] * 3
- verts = [(r*np.cos(t) + x0, r*np.sin(t) + y0) for t in theta]
- return verts
-
-
- def example_data():
- #The following data is from the Denver Aerosol Sources and Health study.
- #See doi:10.1016/j.atmosenv.2008.12.017
- #
- #The data are pollution source profile estimates for five modeled pollution
- #sources (e.g., cars, wood-burning, etc) that emit 7-9 chemical species.
- #The radar charts are experimented with here to see if we can nicely
- #visualize how the modeled source profiles change across four scenarios:
- # 1) No gas-phase species present, just seven particulate counts on
- # Sulfate
- # Nitrate
- # Elemental Carbon (EC)
- # Organic Carbon fraction 1 (OC)
- # Organic Carbon fraction 2 (OC2)
- # Organic Carbon fraction 3 (OC3)
- # Pyrolized Organic Carbon (OP)
- # 2)Inclusion of gas-phase specie carbon monoxide (CO)
- # 3)Inclusion of gas-phase specie ozone (O3).
- # 4)Inclusion of both gas-phase speciesis present...
- data = {
- 'column names':
- ['Sulfate', 'Nitrate', 'EC', 'OC1', 'OC2', 'OC3', 'OP', 'CO',
- 'O3'],
- 'Basecase':
- [[0.88, 0.01, 0.03, 0.03, 0.00, 0.06, 0.01, 0.00, 0.00],
- [0.07, 0.95, 0.04, 0.05, 0.00, 0.02, 0.01, 0.00, 0.00],
- [0.01, 0.02, 0.85, 0.19, 0.05, 0.10, 0.00, 0.00, 0.00],
- [0.02, 0.01, 0.07, 0.01, 0.21, 0.12, 0.98, 0.00, 0.00],
- [0.01, 0.01, 0.02, 0.71, 0.74, 0.70, 0.00, 0.00, 0.00]],
- 'With CO':
- [[0.88, 0.02, 0.02, 0.02, 0.00, 0.05, 0.00, 0.05, 0.00],
- [0.08, 0.94, 0.04, 0.02, 0.00, 0.01, 0.12, 0.04, 0.00],
- [0.01, 0.01, 0.79, 0.10, 0.00, 0.05, 0.00, 0.31, 0.00],
- [0.00, 0.02, 0.03, 0.38, 0.31, 0.31, 0.00, 0.59, 0.00],
- [0.02, 0.02, 0.11, 0.47, 0.69, 0.58, 0.88, 0.00, 0.00]],
- 'With O3':
- [[0.89, 0.01, 0.07, 0.00, 0.00, 0.05, 0.00, 0.00, 0.03],
- [0.07, 0.95, 0.05, 0.04, 0.00, 0.02, 0.12, 0.00, 0.00],
- [0.01, 0.02, 0.86, 0.27, 0.16, 0.19, 0.00, 0.00, 0.00],
- [0.01, 0.03, 0.00, 0.32, 0.29, 0.27, 0.00, 0.00, 0.95],
- [0.02, 0.00, 0.03, 0.37, 0.56, 0.47, 0.87, 0.00, 0.00]],
- 'CO & O3':
- [[0.87, 0.01, 0.08, 0.00, 0.00, 0.04, 0.00, 0.00, 0.01],
- [0.09, 0.95, 0.02, 0.03, 0.00, 0.01, 0.13, 0.06, 0.00],
- [0.01, 0.02, 0.71, 0.24, 0.13, 0.16, 0.00, 0.50, 0.00],
- [0.01, 0.03, 0.00, 0.28, 0.24, 0.23, 0.00, 0.44, 0.88],
- [0.02, 0.00, 0.18, 0.45, 0.64, 0.55, 0.86, 0.00, 0.16]]}
- return data
-
-
- if __name__ == '__main__':
- N = 9
- theta = radar_factory(N, frame='polygon')
-
- data = example_data()
- spoke_labels = data.pop('column names')
-
- fig = plt.figure(figsize=(9, 9))
- fig.subplots_adjust(wspace=0.25, hspace=0.20, top=0.85, bottom=0.05)
-
- colors = ['b', 'r', 'g', 'm', 'y']
- # Plot the four cases from the example data on separate axes
- for n, title in enumerate(data.keys()):
- ax = fig.add_subplot(2, 2, n+1, projection='radar')
- plt.rgrids([0.2, 0.4, 0.6, 0.8])
- ax.set_title(title, weight='bold', size='medium', position=(0.5, 1.1),
- horizontalalignment='center', verticalalignment='center')
- for d, color in zip(data[title], colors):
- ax.plot(theta, d, color=color)
- ax.fill(theta, d, facecolor=color, alpha=0.25)
- ax.set_varlabels(spoke_labels)
-
- # add legend relative to top-left plot
- plt.subplot(2, 2, 1)
- labels = ('Factor 1', 'Factor 2', 'Factor 3', 'Factor 4', 'Factor 5')
- legend = plt.legend(labels, loc=(0.9, .95), labelspacing=0.1)
- plt.setp(legend.get_texts(), fontsize='small')
-
- plt.figtext(0.5, 0.965, '5-Factor Solution Profiles Across Four Scenarios',
- ha='center', color='black', weight='bold', size='large')
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/sankey_demo_basics.txt b/dev/_sources/examples/api/sankey_demo_basics.txt
deleted file mode 100644
index 3844c3b3616..00000000000
--- a/dev/_sources/examples/api/sankey_demo_basics.txt
+++ /dev/null
@@ -1,92 +0,0 @@
-.. _api-sankey_demo_basics:
-
-api example code: sankey_demo_basics.py
-=======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/sankey_demo_basics.py
-
-::
-
- """Demonstrate the Sankey class by producing three basic diagrams.
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
- from matplotlib.sankey import Sankey
-
-
- # Example 1 -- Mostly defaults
- # This demonstrates how to create a simple diagram by implicitly calling the
- # Sankey.add() method and by appending finish() to the call to the class.
- Sankey(flows=[0.25, 0.15, 0.60, -0.20, -0.15, -0.05, -0.50, -0.10],
- labels=['', '', '', 'First', 'Second', 'Third', 'Fourth', 'Fifth'],
- orientations=[-1, 1, 0, 1, 1, 1, 0, -1]).finish()
- plt.title("The default settings produce a diagram like this.")
- # Notice:
- # 1. Axes weren't provided when Sankey() was instantiated, so they were
- # created automatically.
- # 2. The scale argument wasn't necessary since the data was already
- # normalized.
- # 3. By default, the lengths of the paths are justified.
-
- # Example 2
- # This demonstrates:
- # 1. Setting one path longer than the others
- # 2. Placing a label in the middle of the diagram
- # 3. Using the the scale argument to normalize the flows
- # 4. Implicitly passing keyword arguments to PathPatch()
- # 5. Changing the angle of the arrow heads
- # 6. Changing the offset between the tips of the paths and their labels
- # 7. Formatting the numbers in the path labels and the associated unit
- # 8. Changing the appearance of the patch and the labels after the figure is
- # created
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1, xticks=[], yticks=[],
- title="Flow Diagram of a Widget")
- sankey = Sankey(ax=ax, scale=0.01, offset=0.2, head_angle=180,
- format='%.0f', unit='%')
- sankey.add(flows=[25, 0, 60, -10, -20, -5, -15, -10, -40],
- labels = ['', '', '', 'First', 'Second', 'Third', 'Fourth',
- 'Fifth', 'Hurray!'],
- orientations=[-1, 1, 0, 1, 1, 1, -1, -1, 0],
- pathlengths = [0.25, 0.25, 0.25, 0.25, 0.25, 0.6, 0.25, 0.25,
- 0.25],
- patchlabel="Widget\nA",
- alpha=0.2, lw=2.0) # Arguments to matplotlib.patches.PathPatch()
- diagrams = sankey.finish()
- diagrams[0].patch.set_facecolor('#37c959')
- diagrams[0].texts[-1].set_color('r')
- diagrams[0].text.set_fontweight('bold')
- # Notice:
- # 1. Since the sum of the flows is nonzero, the width of the trunk isn't
- # uniform. If verbose.level is helpful (in matplotlibrc), a message is
- # given in the terminal window.
- # 2. The second flow doesn't appear because its value is zero. Again, if
- # verbose.level is helpful, a message is given in the terminal window.
-
- # Example 3
- # This demonstrates:
- # 1. Connecting two systems
- # 2. Turning off the labels of the quantities
- # 3. Adding a legend
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1, xticks=[], yticks=[], title="Two Systems")
- flows = [0.25, 0.15, 0.60, -0.10, -0.05, -0.25, -0.15, -0.10, -0.35]
- sankey = Sankey(ax=ax, unit=None)
- sankey.add(flows=flows, label='one',
- orientations=[-1, 1, 0, 1, 1, 1, -1, -1, 0])
- sankey.add(flows=[-0.25, 0.15, 0.1], fc='#37c959', label='two',
- orientations=[-1, -1, -1], prior=0, connect=(0, 0))
- diagrams = sankey.finish()
- diagrams[-1].patch.set_hatch('/')
- plt.legend(loc='best')
- # Notice that only one connection is specified, but the systems form a
- # circuit since: (1) the lengths of the paths are justified and (2) the
- # orientation and ordering of the flows is mirrored.
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/sankey_demo_links.txt b/dev/_sources/examples/api/sankey_demo_links.txt
deleted file mode 100644
index ffa6556dbf4..00000000000
--- a/dev/_sources/examples/api/sankey_demo_links.txt
+++ /dev/null
@@ -1,68 +0,0 @@
-.. _api-sankey_demo_links:
-
-api example code: sankey_demo_links.py
-======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/sankey_demo_links.py
-
-::
-
- """Demonstrate/test the Sankey class by producing a long chain of connections.
- """
-
- from itertools import cycle
-
- import matplotlib.pyplot as plt
- from matplotlib.sankey import Sankey
-
- links_per_side = 6
-
-
- def side(sankey, n=1):
- """Generate a side chain."""
- prior = len(sankey.diagrams)
- colors = cycle(['orange', 'b', 'g', 'r', 'c', 'm', 'y'])
- for i in range(0, 2*n, 2):
- sankey.add(flows=[1, -1], orientations=[-1, -1],
- patchlabel=str(prior+i), facecolor=next(colors),
- prior=prior+i-1, connect=(1, 0), alpha=0.5)
- sankey.add(flows=[1, -1], orientations=[1, 1],
- patchlabel=str(prior+i+1), facecolor=next(colors),
- prior=prior+i, connect=(1, 0), alpha=0.5)
-
-
- def corner(sankey):
- """Generate a corner link."""
- prior = len(sankey.diagrams)
- sankey.add(flows=[1, -1], orientations=[0, 1],
- patchlabel=str(prior), facecolor='k',
- prior=prior-1, connect=(1, 0), alpha=0.5)
-
-
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1, xticks=[], yticks=[],
- title="Why would you want to do this?\n(But you could.)")
- sankey = Sankey(ax=ax, unit=None)
- sankey.add(flows=[1, -1], orientations=[0, 1],
- patchlabel="0", facecolor='k',
- rotation=45)
- side(sankey, n=links_per_side)
- corner(sankey)
- side(sankey, n=links_per_side)
- corner(sankey)
- side(sankey, n=links_per_side)
- corner(sankey)
- side(sankey, n=links_per_side)
- sankey.finish()
- # Notice:
- # 1. The alignment doesn't drift significantly (if at all; with 16007
- # subdiagrams there is still closure).
- # 2. The first diagram is rotated 45 deg, so all other diagrams are rotated
- # accordingly.
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/sankey_demo_old.txt b/dev/_sources/examples/api/sankey_demo_old.txt
deleted file mode 100644
index 5e1240915ca..00000000000
--- a/dev/_sources/examples/api/sankey_demo_old.txt
+++ /dev/null
@@ -1,203 +0,0 @@
-.. _api-sankey_demo_old:
-
-api example code: sankey_demo_old.py
-====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/sankey_demo_old.py
-
-::
-
- #!/usr/bin/env python
-
- from __future__ import print_function
-
- __author__ = "Yannick Copin "
- __version__ = "Time-stamp: <10/02/2010 16:49 ycopin@lyopc548.in2p3.fr>"
-
- import numpy as np
-
-
- def sankey(ax,
- outputs=[100.], outlabels=None,
- inputs=[100.], inlabels='',
- dx=40, dy=10, outangle=45, w=3, inangle=30, offset=2, **kwargs):
- """Draw a Sankey diagram.
-
- outputs: array of outputs, should sum up to 100%
- outlabels: output labels (same length as outputs),
- or None (use default labels) or '' (no labels)
- inputs and inlabels: similar for inputs
- dx: horizontal elongation
- dy: vertical elongation
- outangle: output arrow angle [deg]
- w: output arrow shoulder
- inangle: input dip angle
- offset: text offset
- **kwargs: propagated to Patch (e.g., fill=False)
-
- Return (patch,[intexts,outtexts]).
- """
- import matplotlib.patches as mpatches
- from matplotlib.path import Path
-
- outs = np.absolute(outputs)
- outsigns = np.sign(outputs)
- outsigns[-1] = 0 # Last output
-
- ins = np.absolute(inputs)
- insigns = np.sign(inputs)
- insigns[0] = 0 # First input
-
- assert sum(outs) == 100, "Outputs don't sum up to 100%"
- assert sum(ins) == 100, "Inputs don't sum up to 100%"
-
- def add_output(path, loss, sign=1):
- h = (loss/2 + w)*np.tan(outangle/180. * np.pi) # Arrow tip height
- move, (x, y) = path[-1] # Use last point as reference
- if sign == 0: # Final loss (horizontal)
- path.extend([(Path.LINETO, [x+dx, y]),
- (Path.LINETO, [x+dx, y+w]),
- (Path.LINETO, [x+dx+h, y-loss/2]), # Tip
- (Path.LINETO, [x+dx, y-loss-w]),
- (Path.LINETO, [x+dx, y-loss])])
- outtips.append((sign, path[-3][1]))
- else: # Intermediate loss (vertical)
- path.extend([(Path.CURVE4, [x+dx/2, y]),
- (Path.CURVE4, [x+dx, y]),
- (Path.CURVE4, [x+dx, y+sign*dy]),
- (Path.LINETO, [x+dx-w, y+sign*dy]),
- (Path.LINETO, [x+dx+loss/2, y+sign*(dy+h)]), # Tip
- (Path.LINETO, [x+dx+loss+w, y+sign*dy]),
- (Path.LINETO, [x+dx+loss, y+sign*dy]),
- (Path.CURVE3, [x+dx+loss, y-sign*loss]),
- (Path.CURVE3, [x+dx/2+loss, y-sign*loss])])
- outtips.append((sign, path[-5][1]))
-
- def add_input(path, gain, sign=1):
- h = (gain/2)*np.tan(inangle/180. * np.pi) # Dip depth
- move, (x, y) = path[-1] # Use last point as reference
- if sign == 0: # First gain (horizontal)
- path.extend([(Path.LINETO, [x-dx, y]),
- (Path.LINETO, [x-dx+h, y+gain/2]), # Dip
- (Path.LINETO, [x-dx, y+gain])])
- xd, yd = path[-2][1] # Dip position
- indips.append((sign, [xd-h, yd]))
- else: # Intermediate gain (vertical)
- path.extend([(Path.CURVE4, [x-dx/2, y]),
- (Path.CURVE4, [x-dx, y]),
- (Path.CURVE4, [x-dx, y+sign*dy]),
- (Path.LINETO, [x-dx-gain/2, y+sign*(dy-h)]), # Dip
- (Path.LINETO, [x-dx-gain, y+sign*dy]),
- (Path.CURVE3, [x-dx-gain, y-sign*gain]),
- (Path.CURVE3, [x-dx/2-gain, y-sign*gain])])
- xd, yd = path[-4][1] # Dip position
- indips.append((sign, [xd, yd+sign*h]))
-
- outtips = [] # Output arrow tip dir. and positions
- urpath = [(Path.MOVETO, [0, 100])] # 1st point of upper right path
- lrpath = [(Path.LINETO, [0, 0])] # 1st point of lower right path
- for loss, sign in zip(outs, outsigns):
- add_output(sign>=0 and urpath or lrpath, loss, sign=sign)
-
- indips = [] # Input arrow tip dir. and positions
- llpath = [(Path.LINETO, [0, 0])] # 1st point of lower left path
- ulpath = [(Path.MOVETO, [0, 100])] # 1st point of upper left path
- for gain, sign in reversed(list(zip(ins, insigns))):
- add_input(sign<=0 and llpath or ulpath, gain, sign=sign)
-
- def revert(path):
- """A path is not just revertable by path[::-1] because of Bezier
- curves."""
- rpath = []
- nextmove = Path.LINETO
- for move, pos in path[::-1]:
- rpath.append((nextmove, pos))
- nextmove = move
- return rpath
-
- # Concatenate subpathes in correct order
- path = urpath + revert(lrpath) + llpath + revert(ulpath)
-
- codes, verts = zip(*path)
- verts = np.array(verts)
-
- # Path patch
- path = Path(verts, codes)
- patch = mpatches.PathPatch(path, **kwargs)
- ax.add_patch(patch)
-
- if False: # DEBUG
- print("urpath", urpath)
- print("lrpath", revert(lrpath))
- print("llpath", llpath)
- print("ulpath", revert(ulpath))
- xs, ys = zip(*verts)
- ax.plot(xs, ys, 'go-')
-
- # Labels
-
- def set_labels(labels, values):
- """Set or check labels according to values."""
- if labels == '': # No labels
- return labels
- elif labels is None: # Default labels
- return ['%2d%%' % val for val in values]
- else:
- assert len(labels) == len(values)
- return labels
-
- def put_labels(labels, positions, output=True):
- """Put labels to positions."""
- texts = []
- lbls = output and labels or labels[::-1]
- for i, label in enumerate(lbls):
- s, (x, y) = positions[i] # Label direction and position
- if s == 0:
- t = ax.text(x+offset, y, label,
- ha=output and 'left' or 'right', va='center')
- elif s > 0:
- t = ax.text(x, y+offset, label, ha='center', va='bottom')
- else:
- t = ax.text(x, y-offset, label, ha='center', va='top')
- texts.append(t)
- return texts
-
- outlabels = set_labels(outlabels, outs)
- outtexts = put_labels(outlabels, outtips, output=True)
-
- inlabels = set_labels(inlabels, ins)
- intexts = put_labels(inlabels, indips, output=False)
-
- # Axes management
- ax.set_xlim(verts[:, 0].min()-dx, verts[:, 0].max()+dx)
- ax.set_ylim(verts[:, 1].min()-dy, verts[:, 1].max()+dy)
- ax.set_aspect('equal', adjustable='datalim')
-
- return patch, [intexts, outtexts]
-
-
- if __name__=='__main__':
-
- import matplotlib.pyplot as plt
-
- outputs = [10., -20., 5., 15., -10., 40.]
- outlabels = ['First', 'Second', 'Third', 'Fourth', 'Fifth', 'Hurray!']
- outlabels = [s+'\n%d%%' % abs(l) for l, s in zip(outputs, outlabels)]
-
- inputs = [60., -25., 15.]
-
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1, xticks=[], yticks=[], title="Sankey diagram")
-
- patch, (intexts, outtexts) = sankey(ax, outputs=outputs,
- outlabels=outlabels, inputs=inputs,
- inlabels=None, fc='g', alpha=0.2)
- outtexts[1].set_color('r')
- outtexts[-1].set_fontweight('bold')
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/sankey_demo_rankine.txt b/dev/_sources/examples/api/sankey_demo_rankine.txt
deleted file mode 100644
index b14d7a53c40..00000000000
--- a/dev/_sources/examples/api/sankey_demo_rankine.txt
+++ /dev/null
@@ -1,91 +0,0 @@
-.. _api-sankey_demo_rankine:
-
-api example code: sankey_demo_rankine.py
-========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/sankey_demo_rankine.py
-
-::
-
- """Demonstrate the Sankey class with a practicle example of a Rankine power cycle.
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
- from matplotlib.sankey import Sankey
-
- fig = plt.figure(figsize=(8, 9))
- ax = fig.add_subplot(1, 1, 1, xticks=[], yticks=[],
- title="Rankine Power Cycle: Example 8.6 from Moran and Shapiro\n"
- + "\x22Fundamentals of Engineering Thermodynamics\x22, 6th ed., 2008")
- Hdot = [260.431, 35.078, 180.794, 221.115, 22.700,
- 142.361, 10.193, 10.210, 43.670, 44.312,
- 68.631, 10.758, 10.758, 0.017, 0.642,
- 232.121, 44.559, 100.613, 132.168] # MW
- sankey = Sankey(ax=ax, format='%.3G', unit=' MW', gap=0.5, scale=1.0/Hdot[0])
- sankey.add(patchlabel='\n\nPump 1', rotation=90, facecolor='#37c959',
- flows=[Hdot[13], Hdot[6], -Hdot[7]],
- labels=['Shaft power', '', None],
- pathlengths=[0.4, 0.883, 0.25],
- orientations=[1, -1, 0])
- sankey.add(patchlabel='\n\nOpen\nheater', facecolor='#37c959',
- flows=[Hdot[11], Hdot[7], Hdot[4], -Hdot[8]],
- labels=[None, '', None, None],
- pathlengths=[0.25, 0.25, 1.93, 0.25],
- orientations=[1, 0, -1, 0], prior=0, connect=(2, 1))
- sankey.add(patchlabel='\n\nPump 2', facecolor='#37c959',
- flows=[Hdot[14], Hdot[8], -Hdot[9]],
- labels=['Shaft power', '', None],
- pathlengths=[0.4, 0.25, 0.25],
- orientations=[1, 0, 0], prior=1, connect=(3, 1))
- sankey.add(patchlabel='Closed\nheater', trunklength=2.914, fc='#37c959',
- flows=[Hdot[9], Hdot[1], -Hdot[11], -Hdot[10]],
- pathlengths=[0.25, 1.543, 0.25, 0.25],
- labels=['', '', None, None],
- orientations=[0, -1, 1, -1], prior=2, connect=(2, 0))
- sankey.add(patchlabel='Trap', facecolor='#37c959', trunklength=5.102,
- flows=[Hdot[11], -Hdot[12]],
- labels=['\n', None],
- pathlengths=[1.0, 1.01],
- orientations=[1, 1], prior=3, connect=(2, 0))
- sankey.add(patchlabel='Steam\ngenerator', facecolor='#ff5555',
- flows=[Hdot[15], Hdot[10], Hdot[2], -Hdot[3], -Hdot[0]],
- labels=['Heat rate', '', '', None, None],
- pathlengths=0.25,
- orientations=[1, 0, -1, -1, -1], prior=3, connect=(3, 1))
- sankey.add(patchlabel='\n\n\nTurbine 1', facecolor='#37c959',
- flows=[Hdot[0], -Hdot[16], -Hdot[1], -Hdot[2]],
- labels=['', None, None, None],
- pathlengths=[0.25, 0.153, 1.543, 0.25],
- orientations=[0, 1, -1, -1], prior=5, connect=(4, 0))
- sankey.add(patchlabel='\n\n\nReheat', facecolor='#37c959',
- flows=[Hdot[2], -Hdot[2]],
- labels=[None, None],
- pathlengths=[0.725, 0.25],
- orientations=[-1, 0], prior=6, connect=(3, 0))
- sankey.add(patchlabel='Turbine 2', trunklength=3.212, facecolor='#37c959',
- flows=[Hdot[3], Hdot[16], -Hdot[5], -Hdot[4], -Hdot[17]],
- labels=[None, 'Shaft power', None, '', 'Shaft power'],
- pathlengths=[0.751, 0.15, 0.25, 1.93, 0.25],
- orientations=[0, -1, 0, -1, 1], prior=6, connect=(1, 1))
- sankey.add(patchlabel='Condenser', facecolor='#58b1fa', trunklength=1.764,
- flows=[Hdot[5], -Hdot[18], -Hdot[6]],
- labels=['', 'Heat rate', None],
- pathlengths=[0.45, 0.25, 0.883],
- orientations=[-1, 1, 0], prior=8, connect=(2, 0))
- diagrams = sankey.finish()
- for diagram in diagrams:
- diagram.text.set_fontweight('bold')
- diagram.text.set_fontsize('10')
- for text in diagram.texts:
- text.set_fontsize('10')
- # Notice that the explicit connections are handled automatically, but the
- # implicit ones currently are not. The lengths of the paths and the trunks
- # must be adjusted manually, and that is a bit tricky.
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/scatter_piecharts.txt b/dev/_sources/examples/api/scatter_piecharts.txt
deleted file mode 100644
index 406089d0f39..00000000000
--- a/dev/_sources/examples/api/scatter_piecharts.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-.. _api-scatter_piecharts:
-
-api example code: scatter_piecharts.py
-======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/scatter_piecharts.py
-
-::
-
- """
- This example makes custom 'pie charts' as the markers for a scatter plotqu
-
- Thanks to Manuel Metz for the example
- """
- import math
- import numpy as np
- import matplotlib.pyplot as plt
-
- # first define the ratios
- r1 = 0.2 # 20%
- r2 = r1 + 0.4 # 40%
-
- # define some sizes of the scatter marker
- sizes = [60,80,120]
-
- # calculate the points of the first pie marker
- #
- # these are just the origin (0,0) +
- # some points on a circle cos,sin
- x = [0] + np.cos(np.linspace(0, 2*math.pi*r1, 10)).tolist()
- y = [0] + np.sin(np.linspace(0, 2*math.pi*r1, 10)).tolist()
- xy1 = list(zip(x,y))
-
- # ...
- x = [0] + np.cos(np.linspace(2*math.pi*r1, 2*math.pi*r2, 10)).tolist()
- y = [0] + np.sin(np.linspace(2*math.pi*r1, 2*math.pi*r2, 10)).tolist()
- xy2 = list(zip(x,y))
-
- x = [0] + np.cos(np.linspace(2*math.pi*r2, 2*math.pi, 10)).tolist()
- y = [0] + np.sin(np.linspace(2*math.pi*r2, 2*math.pi, 10)).tolist()
- xy3 = list(zip(x,y))
-
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.scatter( np.arange(3), np.arange(3), marker=(xy1,0), s=sizes, facecolor='blue' )
- ax.scatter( np.arange(3), np.arange(3), marker=(xy2,0), s=sizes, facecolor='green' )
- ax.scatter( np.arange(3), np.arange(3), marker=(xy3,0), s=sizes, facecolor='red' )
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/span_regions.txt b/dev/_sources/examples/api/span_regions.txt
deleted file mode 100644
index 4d10cd84900..00000000000
--- a/dev/_sources/examples/api/span_regions.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-.. _api-span_regions:
-
-api example code: span_regions.py
-=================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/span_regions.py
-
-::
-
- """
- Illustrate some helper functions for shading regions where a logical
- mask is True
-
- See :meth:`matplotlib.collections.BrokenBarHCollection.span_where`
- """
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.collections as collections
-
-
- t = np.arange(0.0, 2, 0.01)
- s1 = np.sin(2*np.pi*t)
- s2 = 1.2*np.sin(4*np.pi*t)
-
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.set_title('using span_where')
- ax.plot(t, s1, color='black')
- ax.axhline(0, color='black', lw=2)
-
- collection = collections.BrokenBarHCollection.span_where(
- t, ymin=0, ymax=1, where=s1>0, facecolor='green', alpha=0.5)
- ax.add_collection(collection)
-
- collection = collections.BrokenBarHCollection.span_where(
- t, ymin=-1, ymax=0, where=s1<0, facecolor='red', alpha=0.5)
- ax.add_collection(collection)
-
-
-
- plt.show()
-
-
-
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/two_scales.txt b/dev/_sources/examples/api/two_scales.txt
deleted file mode 100644
index f26ad2fa797..00000000000
--- a/dev/_sources/examples/api/two_scales.txt
+++ /dev/null
@@ -1,60 +0,0 @@
-.. _api-two_scales:
-
-api example code: two_scales.py
-===============================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/two_scales.py
-
-::
-
- #!/usr/bin/env python
- """
-
- Demonstrate how to do two plots on the same axes with different left
- right scales.
-
-
- The trick is to use *2 different axes*. Turn the axes rectangular
- frame off on the 2nd axes to keep it from obscuring the first.
- Manually set the tick locs and labels as desired. You can use
- separate matplotlib.ticker formatters and locators as desired since
- the two axes are independent.
-
- This is achieved in the following example by calling the Axes.twinx()
- method, which performs this work. See the source of twinx() in
- axes.py for an example of how to do it for different x scales. (Hint:
- use the xaxis instance and call tick_bottom and tick_top in place of
- tick_left and tick_right.)
-
- The twinx and twiny methods are also exposed as pyplot functions.
-
- """
-
- import numpy as np
- import matplotlib.pyplot as plt
-
- fig = plt.figure()
- ax1 = fig.add_subplot(111)
- t = np.arange(0.01, 10.0, 0.01)
- s1 = np.exp(t)
- ax1.plot(t, s1, 'b-')
- ax1.set_xlabel('time (s)')
- # Make the y-axis label and tick labels match the line color.
- ax1.set_ylabel('exp', color='b')
- for tl in ax1.get_yticklabels():
- tl.set_color('b')
-
-
- ax2 = ax1.twinx()
- s2 = np.sin(2*np.pi*t)
- ax2.plot(t, s2, 'r.')
- ax2.set_ylabel('sin', color='r')
- for tl in ax2.get_yticklabels():
- tl.set_color('r')
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/unicode_minus.txt b/dev/_sources/examples/api/unicode_minus.txt
deleted file mode 100644
index 2c27295f7e0..00000000000
--- a/dev/_sources/examples/api/unicode_minus.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-.. _api-unicode_minus:
-
-api example code: unicode_minus.py
-==================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/unicode_minus.py
-
-::
-
- """
- You can use the proper typesetting unicode minus (see
- http://en.wikipedia.org/wiki/Plus_sign#Plus_sign) or the ASCII hypen
- for minus, which some people prefer. The matplotlibrc param
- axes.unicode_minus controls the default behavior.
-
- The default is to use the unicode minus
- """
- import numpy as np
- import matplotlib
- import matplotlib.pyplot as plt
-
- matplotlib.rcParams['axes.unicode_minus'] = False
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.plot(10*np.random.randn(100), 10*np.random.randn(100), 'o')
- ax.set_title('Using hypen instead of unicode minus')
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/watermark_image.txt b/dev/_sources/examples/api/watermark_image.txt
deleted file mode 100644
index 04f809c0fbf..00000000000
--- a/dev/_sources/examples/api/watermark_image.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-.. _api-watermark_image:
-
-api example code: watermark_image.py
-====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/watermark_image.py
-
-::
-
- """
- Use a PNG file as a watermark
- """
- from __future__ import print_function
- import numpy as np
- import matplotlib
- import matplotlib.cbook as cbook
- import matplotlib.image as image
- import matplotlib.pyplot as plt
-
- datafile = cbook.get_sample_data('logo2.png', asfileobj=False)
- print ('loading %s' % datafile)
- im = image.imread(datafile)
- im[:,:,-1] = 0.5 # set the alpha channel
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- ax.plot(np.random.rand(20), '-o', ms=20, lw=2, alpha=0.7, mfc='orange')
- ax.grid()
- fig.figimage(im, 10, 10)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/api/watermark_text.txt b/dev/_sources/examples/api/watermark_text.txt
deleted file mode 100644
index a66af2ba574..00000000000
--- a/dev/_sources/examples/api/watermark_text.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-.. _api-watermark_text:
-
-api example code: watermark_text.py
-===================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/api/watermark_text.py
-
-::
-
- """
- Use a Text as a watermark
- """
- import numpy as np
- #import matplotlib
- #matplotlib.use('Agg')
-
- import matplotlib.pyplot as plt
-
- fig = plt.figure()
-
- ax = fig.add_subplot(111)
- ax.plot(np.random.rand(20), '-o', ms=20, lw=2, alpha=0.7, mfc='orange')
- ax.grid()
-
- # position bottom right
- fig.text(0.95, 0.05, 'Property of MPL',
- fontsize=50, color='gray',
- ha='right', va='bottom', alpha=0.5)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_axes_divider.txt b/dev/_sources/examples/axes_grid/demo_axes_divider.txt
deleted file mode 100644
index 092cd19e15d..00000000000
--- a/dev/_sources/examples/axes_grid/demo_axes_divider.txt
+++ /dev/null
@@ -1,143 +0,0 @@
-.. _axes_grid-demo_axes_divider:
-
-axes_grid example code: demo_axes_divider.py
-============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_axes_divider.py
-
-::
-
- import matplotlib.pyplot as plt
-
- def get_demo_image():
- import numpy as np
- from matplotlib.cbook import get_sample_data
- f = get_sample_data("axes_grid/bivariate_normal.npy", asfileobj=False)
- z = np.load(f)
- # z is a numpy array of 15x15
- return z, (-3,4,-4,3)
-
-
- def demo_simple_image(ax):
- Z, extent = get_demo_image()
-
- im = ax.imshow(Z, extent=extent, interpolation="nearest")
- cb = plt.colorbar(im)
- plt.setp(cb.ax.get_yticklabels(), visible=False)
-
-
- def demo_locatable_axes_hard(fig1):
-
- from mpl_toolkits.axes_grid1 \
- import SubplotDivider, LocatableAxes, Size
-
- divider = SubplotDivider(fig1, 2, 2, 2, aspect=True)
-
- # axes for image
- ax = LocatableAxes(fig1, divider.get_position())
-
- # axes for colorbar
- ax_cb = LocatableAxes(fig1, divider.get_position())
-
- h = [Size.AxesX(ax), # main axes
- Size.Fixed(0.05), # padding, 0.1 inch
- Size.Fixed(0.2), # colorbar, 0.3 inch
- ]
-
- v = [Size.AxesY(ax)]
-
- divider.set_horizontal(h)
- divider.set_vertical(v)
-
- ax.set_axes_locator(divider.new_locator(nx=0, ny=0))
- ax_cb.set_axes_locator(divider.new_locator(nx=2, ny=0))
-
- fig1.add_axes(ax)
- fig1.add_axes(ax_cb)
-
- ax_cb.axis["left"].toggle(all=False)
- ax_cb.axis["right"].toggle(ticks=True)
-
- Z, extent = get_demo_image()
-
- im = ax.imshow(Z, extent=extent, interpolation="nearest")
- plt.colorbar(im, cax=ax_cb)
- plt.setp(ax_cb.get_yticklabels(), visible=False)
-
-
- def demo_locatable_axes_easy(ax):
- from mpl_toolkits.axes_grid1 import make_axes_locatable
-
- divider = make_axes_locatable(ax)
-
- ax_cb = divider.new_horizontal(size="5%", pad=0.05)
- fig1 = ax.get_figure()
- fig1.add_axes(ax_cb)
-
- Z, extent = get_demo_image()
- im = ax.imshow(Z, extent=extent, interpolation="nearest")
-
- plt.colorbar(im, cax=ax_cb)
- ax_cb.yaxis.tick_right()
- for tl in ax_cb.get_yticklabels():
- tl.set_visible(False)
- ax_cb.yaxis.tick_right()
-
-
- def demo_images_side_by_sied(ax):
- from mpl_toolkits.axes_grid1 import make_axes_locatable
-
- divider = make_axes_locatable(ax)
-
- Z, extent = get_demo_image()
- ax2 = divider.new_horizontal(size="100%", pad=0.05)
- fig1 = ax.get_figure()
- fig1.add_axes(ax2)
-
- ax.imshow(Z, extent=extent, interpolation="nearest")
- ax2.imshow(Z, extent=extent, interpolation="nearest")
- for tl in ax2.get_yticklabels():
- tl.set_visible(False)
-
-
- def demo():
-
- fig1 = plt.figure(1, (6, 6))
- fig1.clf()
-
- ## PLOT 1
- # simple image & colorbar
- ax = fig1.add_subplot(2, 2, 1)
- demo_simple_image(ax)
-
- ## PLOT 2
- # image and colorbar whose location is adjusted in the drawing time.
- # a hard way
-
- demo_locatable_axes_hard(fig1)
-
-
- ## PLOT 3
- # image and colorbar whose location is adjusted in the drawing time.
- # a easy way
-
- ax = fig1.add_subplot(2, 2, 3)
- demo_locatable_axes_easy(ax)
-
-
- ## PLOT 4
- # two images side by side with fixed padding.
-
- ax = fig1.add_subplot(2, 2, 4)
- demo_images_side_by_sied(ax)
-
- plt.draw()
- plt.show()
-
-
- demo()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_axes_grid.txt b/dev/_sources/examples/axes_grid/demo_axes_grid.txt
deleted file mode 100644
index 75c57e776e0..00000000000
--- a/dev/_sources/examples/axes_grid/demo_axes_grid.txt
+++ /dev/null
@@ -1,113 +0,0 @@
-.. _axes_grid-demo_axes_grid:
-
-axes_grid example code: demo_axes_grid.py
-=========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_axes_grid.py
-
-::
-
- import matplotlib.pyplot as plt
- from mpl_toolkits.axes_grid1 import AxesGrid
-
- def get_demo_image():
- import numpy as np
- from matplotlib.cbook import get_sample_data
- f = get_sample_data("axes_grid/bivariate_normal.npy", asfileobj=False)
- z = np.load(f)
- # z is a numpy array of 15x15
- return z, (-3,4,-4,3)
-
- def demo_simple_grid(fig):
- """
- A grid of 2x2 images with 0.05 inch pad between images and only
- the lower-left axes is labeled.
- """
- grid = AxesGrid(fig, 131, # similar to subplot(131)
- nrows_ncols = (2, 2),
- axes_pad = 0.05,
- label_mode = "1",
- )
-
- Z, extent = get_demo_image()
- for i in range(4):
- im = grid[i].imshow(Z, extent=extent, interpolation="nearest")
-
- # This only affects axes in first column and second row as share_all = False.
- grid.axes_llc.set_xticks([-2, 0, 2])
- grid.axes_llc.set_yticks([-2, 0, 2])
-
-
- def demo_grid_with_single_cbar(fig):
- """
- A grid of 2x2 images with a single colorbar
- """
- grid = AxesGrid(fig, 132, # similar to subplot(132)
- nrows_ncols = (2, 2),
- axes_pad = 0.0,
- share_all=True,
- label_mode = "L",
- cbar_location = "top",
- cbar_mode="single",
- )
-
- Z, extent = get_demo_image()
- for i in range(4):
- im = grid[i].imshow(Z, extent=extent, interpolation="nearest")
- #plt.colorbar(im, cax = grid.cbar_axes[0])
- grid.cbar_axes[0].colorbar(im)
-
- for cax in grid.cbar_axes:
- cax.toggle_label(False)
-
- # This affects all axes as share_all = True.
- grid.axes_llc.set_xticks([-2, 0, 2])
- grid.axes_llc.set_yticks([-2, 0, 2])
-
-
- def demo_grid_with_each_cbar(fig):
- """
- A grid of 2x2 images. Each image has its own colorbar.
- """
-
- grid = AxesGrid(F, 133, # similar to subplot(122)
- nrows_ncols = (2, 2),
- axes_pad = 0.1,
- label_mode = "1",
- share_all = True,
- cbar_location="top",
- cbar_mode="each",
- cbar_size="7%",
- cbar_pad="2%",
- )
- Z, extent = get_demo_image()
- for i in range(4):
- im = grid[i].imshow(Z, extent=extent, interpolation="nearest")
- grid.cbar_axes[i].colorbar(im)
-
- for cax in grid.cbar_axes:
- cax.toggle_label(False)
-
- # This affects all axes because we set share_all = True.
- grid.axes_llc.set_xticks([-2, 0, 2])
- grid.axes_llc.set_yticks([-2, 0, 2])
-
-
-
- if 1:
- F = plt.figure(1, (5.5, 2.5))
-
- F.subplots_adjust(left=0.05, right=0.98)
-
- demo_simple_grid(F)
- demo_grid_with_single_cbar(F)
- demo_grid_with_each_cbar(F)
-
- plt.draw()
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_axes_grid2.txt b/dev/_sources/examples/axes_grid/demo_axes_grid2.txt
deleted file mode 100644
index 04cab31e56e..00000000000
--- a/dev/_sources/examples/axes_grid/demo_axes_grid2.txt
+++ /dev/null
@@ -1,127 +0,0 @@
-.. _axes_grid-demo_axes_grid2:
-
-axes_grid example code: demo_axes_grid2.py
-==========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_axes_grid2.py
-
-::
-
- import matplotlib.pyplot as plt
- from mpl_toolkits.axes_grid1 import ImageGrid
- import numpy as np
-
- def get_demo_image():
- from matplotlib.cbook import get_sample_data
- f = get_sample_data("axes_grid/bivariate_normal.npy", asfileobj=False)
- z = np.load(f)
- # z is a numpy array of 15x15
- return z, (-3,4,-4,3)
-
-
- def add_inner_title(ax, title, loc, size=None, **kwargs):
- from matplotlib.offsetbox import AnchoredText
- from matplotlib.patheffects import withStroke
- if size is None:
- size = dict(size=plt.rcParams['legend.fontsize'])
- at = AnchoredText(title, loc=loc, prop=size,
- pad=0., borderpad=0.5,
- frameon=False, **kwargs)
- ax.add_artist(at)
- at.txt._text.set_path_effects([withStroke(foreground="w", linewidth=3)])
- return at
-
- if 1:
- F = plt.figure(1, (6, 6))
- F.clf()
-
- # prepare images
- Z, extent = get_demo_image()
- ZS = [Z[i::3,:] for i in range(3)]
- extent = extent[0], extent[1]/3., extent[2], extent[3]
-
- # demo 1 : colorbar at each axes
-
- grid = ImageGrid(F, 211, # similar to subplot(111)
- nrows_ncols = (1, 3),
- direction="row",
- axes_pad = 0.05,
- add_all=True,
- label_mode = "1",
- share_all = True,
- cbar_location="top",
- cbar_mode="each",
- cbar_size="7%",
- cbar_pad="1%",
- )
-
-
- for ax, z in zip(grid, ZS):
- im = ax.imshow(z, origin="lower", extent=extent, interpolation="nearest")
- ax.cax.colorbar(im)
-
- for ax, im_title in zip(grid, ["Image 1", "Image 2", "Image 3"]):
- t = add_inner_title(ax, im_title, loc=3)
- t.patch.set_alpha(0.5)
-
- for ax, z in zip(grid, ZS):
- ax.cax.toggle_label(True)
- #axis = ax.cax.axis[ax.cax.orientation]
- #axis.label.set_text("counts s$^{-1}$")
- #axis.label.set_size(10)
- #axis.major_ticklabels.set_size(6)
-
- # changing the colorbar ticks
- grid[1].cax.set_xticks([-1, 0, 1])
- grid[2].cax.set_xticks([-1, 0, 1])
-
- grid[0].set_xticks([-2, 0])
- grid[0].set_yticks([-2, 0, 2])
-
-
- # demo 2 : shared colorbar
-
- grid2 = ImageGrid(F, 212,
- nrows_ncols = (1, 3),
- direction="row",
- axes_pad = 0.05,
- add_all=True,
- label_mode = "1",
- share_all = True,
- cbar_location="right",
- cbar_mode="single",
- cbar_size="10%",
- cbar_pad=0.05,
- )
-
- grid2[0].set_xlabel("X")
- grid2[0].set_ylabel("Y")
-
- vmax, vmin = np.max(ZS), np.min(ZS)
- import matplotlib.colors
- norm = matplotlib.colors.normalize(vmax=vmax, vmin=vmin)
-
- for ax, z in zip(grid2, ZS):
- im = ax.imshow(z, norm=norm,
- origin="lower", extent=extent,
- interpolation="nearest")
-
- # With cbar_mode="single", cax attribute of all axes are identical.
- ax.cax.colorbar(im)
- ax.cax.toggle_label(True)
-
- for ax, im_title in zip(grid2, ["(a)", "(b)", "(c)"]):
- t = add_inner_title(ax, im_title, loc=2)
- t.patch.set_ec("none")
- t.patch.set_alpha(0.5)
-
- grid2[0].set_xticks([-2, 0])
- grid2[0].set_yticks([-2, 0, 2])
-
- plt.draw()
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_axes_hbox_divider.txt b/dev/_sources/examples/axes_grid/demo_axes_hbox_divider.txt
deleted file mode 100644
index dae49190f99..00000000000
--- a/dev/_sources/examples/axes_grid/demo_axes_hbox_divider.txt
+++ /dev/null
@@ -1,66 +0,0 @@
-.. _axes_grid-demo_axes_hbox_divider:
-
-axes_grid example code: demo_axes_hbox_divider.py
-=================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_axes_hbox_divider.py
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
- from mpl_toolkits.axes_grid1.axes_divider import HBoxDivider
- import mpl_toolkits.axes_grid1.axes_size as Size
-
- def make_heights_equal(fig, rect, ax1, ax2, pad):
- # pad in inches
-
- h1, v1 = Size.AxesX(ax1), Size.AxesY(ax1)
- h2, v2 = Size.AxesX(ax2), Size.AxesY(ax2)
-
- pad_v = Size.Scaled(1)
- pad_h = Size.Fixed(pad)
-
- my_divider = HBoxDivider(fig, rect,
- horizontal=[h1, pad_h, h2],
- vertical=[v1, pad_v, v2])
-
-
- ax1.set_axes_locator(my_divider.new_locator(0))
- ax2.set_axes_locator(my_divider.new_locator(2))
-
-
- if __name__ == "__main__":
-
- fig1 = plt.figure()
-
- arr1 = np.arange(20).reshape((4,5))
- arr2 = np.arange(20).reshape((5,4))
-
- ax1 = plt.subplot(121)
- ax2 = plt.subplot(122)
-
- ax1.imshow(arr1, interpolation="nearest")
- ax2.imshow(arr2, interpolation="nearest")
-
- rect = 111 # subplot param for combined axes
- make_heights_equal(fig1, rect, ax1, ax2, pad=0.5) # pad in inches
-
- for ax in [ax1, ax2]:
- ax.locator_params(nbins=4)
-
- # annotate
- ax3 = plt.axes([0.5, 0.5, 0.001, 0.001], frameon=False)
- ax3.xaxis.set_visible(False)
- ax3.yaxis.set_visible(False)
- ax3.annotate("Location of two axes are adjusted\n so that they have equal heights\n while maintaining their aspect ratios", (0.5, 0.5),
- xycoords="axes fraction", va="center", ha="center",
- bbox=dict(boxstyle="round, pad=1", fc="w"))
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_axes_rgb.txt b/dev/_sources/examples/axes_grid/demo_axes_rgb.txt
deleted file mode 100644
index d13ba3df1fd..00000000000
--- a/dev/_sources/examples/axes_grid/demo_axes_rgb.txt
+++ /dev/null
@@ -1,104 +0,0 @@
-.. _axes_grid-demo_axes_rgb:
-
-axes_grid example code: demo_axes_rgb.py
-========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_axes_rgb.py
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
-
- from mpl_toolkits.axes_grid1.axes_rgb import make_rgb_axes, RGBAxes
-
- def get_demo_image():
- from matplotlib.cbook import get_sample_data
- f = get_sample_data("axes_grid/bivariate_normal.npy", asfileobj=False)
- z = np.load(f)
- # z is a numpy array of 15x15
- return z, (-3,4,-4,3)
-
-
-
- def get_rgb():
- Z, extent = get_demo_image()
-
- Z[Z<0] = 0.
- Z = Z/Z.max()
-
- R = Z[:13,:13]
- G = Z[2:,2:]
- B = Z[:13,2:]
-
- return R, G, B
-
-
- def make_cube(r, g, b):
- ny, nx = r.shape
- R = np.zeros([ny, nx, 3], dtype="d")
- R[:,:,0] = r
- G = np.zeros_like(R)
- G[:,:,1] = g
- B = np.zeros_like(R)
- B[:,:,2] = b
-
- RGB = R + G + B
-
- return R, G, B, RGB
-
-
-
- def demo_rgb():
- fig = plt.figure(1)
- fig.clf()
-
- ax = fig.add_subplot(111)
- ax_r, ax_g, ax_b = make_rgb_axes(ax, pad=0.02)
- #fig.add_axes(ax_r)
- #fig.add_axes(ax_g)
- #fig.add_axes(ax_b)
-
- r, g, b = get_rgb()
- im_r, im_g, im_b, im_rgb = make_cube(r, g, b)
- kwargs = dict(origin="lower", interpolation="nearest")
- ax.imshow(im_rgb, **kwargs)
- ax_r.imshow(im_r, **kwargs)
- ax_g.imshow(im_g, **kwargs)
- ax_b.imshow(im_b, **kwargs)
-
-
-
-
- def demo_rgb2():
- fig = plt.figure(2)
- ax = RGBAxes(fig, [0.1, 0.1, 0.8, 0.8], pad=0.0)
- #fig.add_axes(ax)
- #ax.add_RGB_to_figure()
-
- r, g, b = get_rgb()
- kwargs = dict(origin="lower", interpolation="nearest")
- ax.imshow_rgb(r, g, b, **kwargs)
-
- ax.RGB.set_xlim(0., 9.5)
- ax.RGB.set_ylim(0.9, 10.6)
-
- for ax1 in [ax.RGB, ax.R, ax.G, ax.B]:
- for sp1 in ax1.spines.values():
- sp1.set_color("w")
- for tick in ax1.xaxis.get_major_ticks() + ax1.yaxis.get_major_ticks():
- tick.tick1line.set_mec("w")
- tick.tick2line.set_mec("w")
-
- return ax
-
-
- demo_rgb()
- ax = demo_rgb2()
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_axisline_style.txt b/dev/_sources/examples/axes_grid/demo_axisline_style.txt
deleted file mode 100644
index 9554de0fd92..00000000000
--- a/dev/_sources/examples/axes_grid/demo_axisline_style.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-.. _axes_grid-demo_axisline_style:
-
-axes_grid example code: demo_axisline_style.py
-==============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_axisline_style.py
-
-::
-
-
- from mpl_toolkits.axes_grid.axislines import SubplotZero
- import matplotlib.pyplot as plt
- import numpy as np
-
- if 1:
- fig = plt.figure(1)
- ax = SubplotZero(fig, 111)
- fig.add_subplot(ax)
-
- for direction in ["xzero", "yzero"]:
- ax.axis[direction].set_axisline_style("-|>")
- ax.axis[direction].set_visible(True)
-
- for direction in ["left", "right", "bottom", "top"]:
- ax.axis[direction].set_visible(False)
-
- x = np.linspace(-0.5, 1., 100)
- ax.plot(x, np.sin(x*np.pi))
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_colorbar_with_inset_locator.txt b/dev/_sources/examples/axes_grid/demo_colorbar_with_inset_locator.txt
deleted file mode 100644
index 0a2a34e4246..00000000000
--- a/dev/_sources/examples/axes_grid/demo_colorbar_with_inset_locator.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-.. _axes_grid-demo_colorbar_with_inset_locator:
-
-axes_grid example code: demo_colorbar_with_inset_locator.py
-===========================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_colorbar_with_inset_locator.py
-
-::
-
- import matplotlib.pyplot as plt
-
- from mpl_toolkits.axes_grid1.inset_locator import inset_axes
-
- fig = plt.figure(1, [6, 3])
-
- # first subplot
- ax1 = fig.add_subplot(121)
-
- axins1 = inset_axes(ax1,
- width="50%", # width = 10% of parent_bbox width
- height="5%", # height : 50%
- loc=1)
-
- im1=ax1.imshow([[1,2],[2, 3]])
- plt.colorbar(im1, cax=axins1, orientation="horizontal", ticks=[1,2,3])
- axins1.xaxis.set_ticks_position("bottom")
-
- # first subplot
- ax = fig.add_subplot(122)
-
- axins = inset_axes(ax,
- width="5%", # width = 10% of parent_bbox width
- height="50%", # height : 50%
- loc=3,
- bbox_to_anchor=(1.05, 0., 1, 1),
- bbox_transform=ax.transAxes,
- borderpad=0,
- )
-
- # Controlling the placement of the inset axes is basically same as that
- # of the legend. you may want to play with the borderpad value and
- # the bbox_to_anchor coordinate.
-
- im=ax.imshow([[1,2],[2, 3]])
- plt.colorbar(im, cax=axins, ticks=[1,2,3])
-
- plt.draw()
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_curvelinear_grid.txt b/dev/_sources/examples/axes_grid/demo_curvelinear_grid.txt
deleted file mode 100644
index a67f345aec0..00000000000
--- a/dev/_sources/examples/axes_grid/demo_curvelinear_grid.txt
+++ /dev/null
@@ -1,147 +0,0 @@
-.. _axes_grid-demo_curvelinear_grid:
-
-axes_grid example code: demo_curvelinear_grid.py
-================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_curvelinear_grid.py
-
-::
-
- import numpy as np
- #from matplotlib.path import Path
-
- import matplotlib.pyplot as plt
- import matplotlib.cbook as cbook
-
- from mpl_toolkits.axisartist.grid_helper_curvelinear import GridHelperCurveLinear
- from mpl_toolkits.axisartist import Subplot
-
- from mpl_toolkits.axisartist import SubplotHost, \
- ParasiteAxesAuxTrans
-
-
- def curvelinear_test1(fig):
- """
- grid for custom transform.
- """
-
- def tr(x, y):
- x, y = np.asarray(x), np.asarray(y)
- return x, y-x
-
- def inv_tr(x,y):
- x, y = np.asarray(x), np.asarray(y)
- return x, y+x
-
-
- grid_helper = GridHelperCurveLinear((tr, inv_tr))
-
- ax1 = Subplot(fig, 1, 2, 1, grid_helper=grid_helper)
- # ax1 will have a ticks and gridlines defined by the given
- # transform (+ transData of the Axes). Note that the transform of
- # the Axes itself (i.e., transData) is not affected by the given
- # transform.
-
- fig.add_subplot(ax1)
-
- xx, yy = tr([3, 6], [5.0, 10.])
- ax1.plot(xx, yy)
-
- ax1.set_aspect(1.)
- ax1.set_xlim(0, 10.)
- ax1.set_ylim(0, 10.)
-
- ax1.axis["t"]=ax1.new_floating_axis(0, 3.)
- ax1.axis["t2"]=ax1.new_floating_axis(1, 7.)
- ax1.grid(True)
-
-
-
- import mpl_toolkits.axisartist.angle_helper as angle_helper
- from matplotlib.projections import PolarAxes
- from matplotlib.transforms import Affine2D
-
- def curvelinear_test2(fig):
- """
- polar projection, but in a rectangular box.
- """
-
- # PolarAxes.PolarTransform takes radian. However, we want our coordinate
- # system in degree
- tr = Affine2D().scale(np.pi/180., 1.) + PolarAxes.PolarTransform()
-
- # polar projection, which involves cycle, and also has limits in
- # its coordinates, needs a special method to find the extremes
- # (min, max of the coordinate within the view).
-
- # 20, 20 : number of sampling points along x, y direction
- extreme_finder = angle_helper.ExtremeFinderCycle(20, 20,
- lon_cycle = 360,
- lat_cycle = None,
- lon_minmax = None,
- lat_minmax = (0, np.inf),
- )
-
- grid_locator1 = angle_helper.LocatorDMS(12)
- # Find a grid values appropriate for the coordinate (degree,
- # minute, second).
-
- tick_formatter1 = angle_helper.FormatterDMS()
- # And also uses an appropriate formatter. Note that,the
- # acceptable Locator and Formatter class is a bit different than
- # that of mpl's, and you cannot directly use mpl's Locator and
- # Formatter here (but may be possible in the future).
-
- grid_helper = GridHelperCurveLinear(tr,
- extreme_finder=extreme_finder,
- grid_locator1=grid_locator1,
- tick_formatter1=tick_formatter1
- )
-
-
- ax1 = SubplotHost(fig, 1, 2, 2, grid_helper=grid_helper)
-
- # make ticklabels of right and top axis visible.
- ax1.axis["right"].major_ticklabels.set_visible(True)
- ax1.axis["top"].major_ticklabels.set_visible(True)
-
- # let right axis shows ticklabels for 1st coordinate (angle)
- ax1.axis["right"].get_helper().nth_coord_ticks=0
- # let bottom axis shows ticklabels for 2nd coordinate (radius)
- ax1.axis["bottom"].get_helper().nth_coord_ticks=1
-
- fig.add_subplot(ax1)
-
-
- # A parasite axes with given transform
- ax2 = ParasiteAxesAuxTrans(ax1, tr, "equal")
- # note that ax2.transData == tr + ax1.transData
- # Anthing you draw in ax2 will match the ticks and grids of ax1.
- ax1.parasites.append(ax2)
- intp = cbook.simple_linear_interpolation
- ax2.plot(intp(np.array([0, 30]), 50),
- intp(np.array([10., 10.]), 50))
-
- ax1.set_aspect(1.)
- ax1.set_xlim(-5, 12)
- ax1.set_ylim(-5, 10)
-
- ax1.grid(True)
-
- if 1:
- fig = plt.figure(1, figsize=(7, 4))
- fig.clf()
-
- curvelinear_test1(fig)
- curvelinear_test2(fig)
-
- plt.draw()
- plt.show()
-
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_curvelinear_grid2.txt b/dev/_sources/examples/axes_grid/demo_curvelinear_grid2.txt
deleted file mode 100644
index d280571c39d..00000000000
--- a/dev/_sources/examples/axes_grid/demo_curvelinear_grid2.txt
+++ /dev/null
@@ -1,77 +0,0 @@
-.. _axes_grid-demo_curvelinear_grid2:
-
-axes_grid example code: demo_curvelinear_grid2.py
-=================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_curvelinear_grid2.py
-
-::
-
- import numpy as np
- #from matplotlib.path import Path
-
- import matplotlib.pyplot as plt
-
- from mpl_toolkits.axes_grid.grid_helper_curvelinear import GridHelperCurveLinear
- from mpl_toolkits.axes_grid.axislines import Subplot
-
- import mpl_toolkits.axes_grid.angle_helper as angle_helper
-
- def curvelinear_test1(fig):
- """
- grid for custom transform.
- """
-
- def tr(x, y):
- sgn = np.sign(x)
- x, y = np.abs(np.asarray(x)), np.asarray(y)
- return sgn*x**.5, y
-
- def inv_tr(x,y):
- sgn = np.sign(x)
- x, y = np.asarray(x), np.asarray(y)
- return sgn*x**2, y
-
- extreme_finder = angle_helper.ExtremeFinderCycle(20, 20,
- lon_cycle = None,
- lat_cycle = None,
- lon_minmax = None, #(0, np.inf),
- lat_minmax = None,
- )
-
- grid_helper = GridHelperCurveLinear((tr, inv_tr),
- extreme_finder=extreme_finder)
-
- ax1 = Subplot(fig, 111, grid_helper=grid_helper)
- # ax1 will have a ticks and gridlines defined by the given
- # transform (+ transData of the Axes). Note that the transform of
- # the Axes itself (i.e., transData) is not affected by the given
- # transform.
-
- fig.add_subplot(ax1)
-
- ax1.imshow(np.arange(25).reshape(5,5),
- vmax = 50, cmap=plt.cm.gray_r,
- interpolation="nearest",
- origin="lower")
-
- # tick density
- grid_helper.grid_finder.grid_locator1._nbins = 6
- grid_helper.grid_finder.grid_locator2._nbins = 6
-
-
-
- if 1:
- fig = plt.figure(1, figsize=(7, 4))
- fig.clf()
-
- curvelinear_test1(fig)
- plt.show()
-
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_edge_colorbar.txt b/dev/_sources/examples/axes_grid/demo_edge_colorbar.txt
deleted file mode 100644
index 63ed6a5be84..00000000000
--- a/dev/_sources/examples/axes_grid/demo_edge_colorbar.txt
+++ /dev/null
@@ -1,103 +0,0 @@
-.. _axes_grid-demo_edge_colorbar:
-
-axes_grid example code: demo_edge_colorbar.py
-=============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_edge_colorbar.py
-
-::
-
- import matplotlib.pyplot as plt
- from mpl_toolkits.axes_grid1 import AxesGrid
-
- def get_demo_image():
- import numpy as np
- from matplotlib.cbook import get_sample_data
- f = get_sample_data("axes_grid/bivariate_normal.npy", asfileobj=False)
- z = np.load(f)
- # z is a numpy array of 15x15
- return z, (-3,4,-4,3)
-
-
- def demo_bottom_cbar(fig):
- """
- A grid of 2x2 images with a colorbar for each column.
- """
- grid = AxesGrid(fig, 121, # similar to subplot(132)
- nrows_ncols = (2, 2),
- axes_pad = 0.10,
- share_all=True,
- label_mode = "1",
- cbar_location = "bottom",
- cbar_mode="edge",
- cbar_pad = 0.25,
- cbar_size = "15%",
- direction="column"
- )
-
- Z, extent = get_demo_image()
- cmaps = [plt.get_cmap("autumn"), plt.get_cmap("summer")]
- for i in range(4):
- im = grid[i].imshow(Z, extent=extent, interpolation="nearest",
- cmap=cmaps[i//2])
- if i % 2:
- cbar = grid.cbar_axes[i//2].colorbar(im)
-
- for cax in grid.cbar_axes:
- cax.toggle_label(True)
- cax.axis[cax.orientation].set_label("Bar")
-
- # This affects all axes as share_all = True.
- grid.axes_llc.set_xticks([-2, 0, 2])
- grid.axes_llc.set_yticks([-2, 0, 2])
-
-
- def demo_right_cbar(fig):
- """
- A grid of 2x2 images. Each row has its own colorbar.
- """
-
- grid = AxesGrid(F, 122, # similar to subplot(122)
- nrows_ncols = (2, 2),
- axes_pad = 0.10,
- label_mode = "1",
- share_all = True,
- cbar_location="right",
- cbar_mode="edge",
- cbar_size="7%",
- cbar_pad="2%",
- )
- Z, extent = get_demo_image()
- cmaps = [plt.get_cmap("spring"), plt.get_cmap("winter")]
- for i in range(4):
- im = grid[i].imshow(Z, extent=extent, interpolation="nearest",
- cmap=cmaps[i//2])
- if i % 2:
- grid.cbar_axes[i//2].colorbar(im)
-
- for cax in grid.cbar_axes:
- cax.toggle_label(True)
- cax.axis[cax.orientation].set_label('Foo')
-
- # This affects all axes because we set share_all = True.
- grid.axes_llc.set_xticks([-2, 0, 2])
- grid.axes_llc.set_yticks([-2, 0, 2])
-
-
-
- if 1:
- F = plt.figure(1, (5.5, 2.5))
-
- F.subplots_adjust(left=0.05, right=0.93)
-
- demo_bottom_cbar(F)
- demo_right_cbar(F)
-
- plt.draw()
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_floating_axes.txt b/dev/_sources/examples/axes_grid/demo_floating_axes.txt
deleted file mode 100644
index 395d80c3456..00000000000
--- a/dev/_sources/examples/axes_grid/demo_floating_axes.txt
+++ /dev/null
@@ -1,171 +0,0 @@
-.. _axes_grid-demo_floating_axes:
-
-axes_grid example code: demo_floating_axes.py
-=============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_floating_axes.py
-
-::
-
- from matplotlib.transforms import Affine2D
-
- import mpl_toolkits.axisartist.floating_axes as floating_axes
-
- import numpy as np
- import mpl_toolkits.axisartist.angle_helper as angle_helper
- from matplotlib.projections import PolarAxes
- from mpl_toolkits.axisartist.grid_finder import FixedLocator, MaxNLocator, \
- DictFormatter
-
- def setup_axes1(fig, rect):
- """
- A simple one.
- """
- tr = Affine2D().scale(2, 1).rotate_deg(30)
-
- grid_helper = floating_axes.GridHelperCurveLinear(tr, extremes=(0, 4, 0, 4))
-
- ax1 = floating_axes.FloatingSubplot(fig, rect, grid_helper=grid_helper)
- fig.add_subplot(ax1)
-
- aux_ax = ax1.get_aux_axes(tr)
-
- grid_helper.grid_finder.grid_locator1._nbins = 4
- grid_helper.grid_finder.grid_locator2._nbins = 4
-
- return ax1, aux_ax
-
-
- def setup_axes2(fig, rect):
- """
- With custom locator and formatter.
- Note that the extreme values are swapped.
- """
-
- #tr_scale = Affine2D().scale(np.pi/180., 1.)
-
- tr = PolarAxes.PolarTransform()
-
- pi = np.pi
- angle_ticks = [(0, r"$0$"),
- (.25*pi, r"$\frac{1}{4}\pi$"),
- (.5*pi, r"$\frac{1}{2}\pi$")]
- grid_locator1 = FixedLocator([v for v, s in angle_ticks])
- tick_formatter1 = DictFormatter(dict(angle_ticks))
-
- grid_locator2 = MaxNLocator(2)
-
- grid_helper = floating_axes.GridHelperCurveLinear(tr,
- extremes=(.5*pi, 0, 2, 1),
- grid_locator1=grid_locator1,
- grid_locator2=grid_locator2,
- tick_formatter1=tick_formatter1,
- tick_formatter2=None,
- )
-
- ax1 = floating_axes.FloatingSubplot(fig, rect, grid_helper=grid_helper)
- fig.add_subplot(ax1)
-
- # create a parasite axes whose transData in RA, cz
- aux_ax = ax1.get_aux_axes(tr)
-
- aux_ax.patch = ax1.patch # for aux_ax to have a clip path as in ax
- ax1.patch.zorder=0.9 # but this has a side effect that the patch is
- # drawn twice, and possibly over some other
- # artists. So, we decrease the zorder a bit to
- # prevent this.
-
- return ax1, aux_ax
-
-
- def setup_axes3(fig, rect):
- """
- Sometimes, things like axis_direction need to be adjusted.
- """
-
- # rotate a bit for better orientation
- tr_rotate = Affine2D().translate(-95, 0)
-
- # scale degree to radians
- tr_scale = Affine2D().scale(np.pi/180., 1.)
-
- tr = tr_rotate + tr_scale + PolarAxes.PolarTransform()
-
- grid_locator1 = angle_helper.LocatorHMS(4)
- tick_formatter1 = angle_helper.FormatterHMS()
-
- grid_locator2 = MaxNLocator(3)
-
- ra0, ra1 = 8.*15, 14.*15
- cz0, cz1 = 0, 14000
- grid_helper = floating_axes.GridHelperCurveLinear(tr,
- extremes=(ra0, ra1, cz0, cz1),
- grid_locator1=grid_locator1,
- grid_locator2=grid_locator2,
- tick_formatter1=tick_formatter1,
- tick_formatter2=None,
- )
-
- ax1 = floating_axes.FloatingSubplot(fig, rect, grid_helper=grid_helper)
- fig.add_subplot(ax1)
-
- # adjust axis
- ax1.axis["left"].set_axis_direction("bottom")
- ax1.axis["right"].set_axis_direction("top")
-
- ax1.axis["bottom"].set_visible(False)
- ax1.axis["top"].set_axis_direction("bottom")
- ax1.axis["top"].toggle(ticklabels=True, label=True)
- ax1.axis["top"].major_ticklabels.set_axis_direction("top")
- ax1.axis["top"].label.set_axis_direction("top")
-
- ax1.axis["left"].label.set_text(r"cz [km$^{-1}$]")
- ax1.axis["top"].label.set_text(r"$\alpha_{1950}$")
-
-
- # create a parasite axes whose transData in RA, cz
- aux_ax = ax1.get_aux_axes(tr)
-
- aux_ax.patch = ax1.patch # for aux_ax to have a clip path as in ax
- ax1.patch.zorder=0.9 # but this has a side effect that the patch is
- # drawn twice, and possibly over some other
- # artists. So, we decrease the zorder a bit to
- # prevent this.
-
- return ax1, aux_ax
-
-
-
- if 1:
- import matplotlib.pyplot as plt
- fig = plt.figure(1, figsize=(8, 4))
- fig.subplots_adjust(wspace=0.3, left=0.05, right=0.95)
-
- ax1, aux_ax2 = setup_axes1(fig, 131)
- aux_ax2.bar([0, 1, 2, 3], [3, 2, 1, 3])
-
- #theta = np.random.rand(10) #*.5*np.pi
- #radius = np.random.rand(10) #+1.
- #aux_ax1.scatter(theta, radius)
-
-
- ax2, aux_ax2 = setup_axes2(fig, 132)
-
- theta = np.random.rand(10)*.5*np.pi
- radius = np.random.rand(10)+1.
- aux_ax2.scatter(theta, radius)
-
-
- ax3, aux_ax3 = setup_axes3(fig, 133)
-
- theta = (8 + np.random.rand(10)*(14-8))*15. # in degrees
- radius = np.random.rand(10)*14000.
- aux_ax3.scatter(theta, radius)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_floating_axis.txt b/dev/_sources/examples/axes_grid/demo_floating_axis.txt
deleted file mode 100644
index 5d7d84ddd4f..00000000000
--- a/dev/_sources/examples/axes_grid/demo_floating_axis.txt
+++ /dev/null
@@ -1,85 +0,0 @@
-.. _axes_grid-demo_floating_axis:
-
-axes_grid example code: demo_floating_axis.py
-=============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_floating_axis.py
-
-::
-
- """
- An experimental support for curvilinear grid.
- """
-
-
- def curvelinear_test2(fig):
- """
- polar projection, but in a rectangular box.
- """
- global ax1
- import numpy as np
- import mpl_toolkits.axisartist.angle_helper as angle_helper
- from matplotlib.projections import PolarAxes
- from matplotlib.transforms import Affine2D
-
- from mpl_toolkits.axisartist import SubplotHost
-
- from mpl_toolkits.axisartist import GridHelperCurveLinear
-
- # see demo_curvelinear_grid.py for details
- tr = Affine2D().scale(np.pi/180., 1.) + PolarAxes.PolarTransform()
-
- extreme_finder = angle_helper.ExtremeFinderCycle(20, 20,
- lon_cycle = 360,
- lat_cycle = None,
- lon_minmax = None,
- lat_minmax = (0, np.inf),
- )
-
- grid_locator1 = angle_helper.LocatorDMS(12)
-
- tick_formatter1 = angle_helper.FormatterDMS()
-
- grid_helper = GridHelperCurveLinear(tr,
- extreme_finder=extreme_finder,
- grid_locator1=grid_locator1,
- tick_formatter1=tick_formatter1
- )
-
-
- ax1 = SubplotHost(fig, 1, 1, 1, grid_helper=grid_helper)
-
- fig.add_subplot(ax1)
-
- # Now creates floating axis
-
- #grid_helper = ax1.get_grid_helper()
- # floating axis whose first coordinate (theta) is fixed at 60
- ax1.axis["lat"] = axis = ax1.new_floating_axis(0, 60)
- axis.label.set_text(r"$\theta = 60^{\circ}$")
- axis.label.set_visible(True)
-
- # floating axis whose second coordinate (r) is fixed at 6
- ax1.axis["lon"] = axis = ax1.new_floating_axis(1, 6)
- axis.label.set_text(r"$r = 6$")
-
- ax1.set_aspect(1.)
- ax1.set_xlim(-5, 12)
- ax1.set_ylim(-5, 10)
-
- ax1.grid(True)
-
- import matplotlib.pyplot as plt
- fig = plt.figure(1, figsize=(5, 5))
- fig.clf()
-
- curvelinear_test2(fig)
-
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/demo_parasite_axes2.txt b/dev/_sources/examples/axes_grid/demo_parasite_axes2.txt
deleted file mode 100644
index d1a8f2b221f..00000000000
--- a/dev/_sources/examples/axes_grid/demo_parasite_axes2.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-.. _axes_grid-demo_parasite_axes2:
-
-axes_grid example code: demo_parasite_axes2.py
-==============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/demo_parasite_axes2.py
-
-::
-
- from mpl_toolkits.axes_grid1 import host_subplot
- import mpl_toolkits.axisartist as AA
- import matplotlib.pyplot as plt
-
- if 1:
-
- host = host_subplot(111, axes_class=AA.Axes)
- plt.subplots_adjust(right=0.75)
-
- par1 = host.twinx()
- par2 = host.twinx()
-
- offset = 60
- new_fixed_axis = par2.get_grid_helper().new_fixed_axis
- par2.axis["right"] = new_fixed_axis(loc="right",
- axes=par2,
- offset=(offset, 0))
-
- par2.axis["right"].toggle(all=True)
-
-
-
- host.set_xlim(0, 2)
- host.set_ylim(0, 2)
-
- host.set_xlabel("Distance")
- host.set_ylabel("Density")
- par1.set_ylabel("Temperature")
- par2.set_ylabel("Velocity")
-
- p1, = host.plot([0, 1, 2], [0, 1, 2], label="Density")
- p2, = par1.plot([0, 1, 2], [0, 3, 2], label="Temperature")
- p3, = par2.plot([0, 1, 2], [50, 30, 15], label="Velocity")
-
- par1.set_ylim(0, 4)
- par2.set_ylim(1, 65)
-
- host.legend()
-
- host.axis["left"].label.set_color(p1.get_color())
- par1.axis["right"].label.set_color(p2.get_color())
- par2.axis["right"].label.set_color(p3.get_color())
-
- plt.draw()
- plt.show()
-
- #plt.savefig("Test")
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/index.txt b/dev/_sources/examples/axes_grid/index.txt
deleted file mode 100644
index 6fd28544e86..00000000000
--- a/dev/_sources/examples/axes_grid/index.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-.. _axes_grid-examples-index:
-
-##############################################
-axes_grid Examples
-##############################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- demo_axes_divider
- demo_axes_grid
- demo_axes_grid2
- demo_axes_hbox_divider
- demo_axes_rgb
- demo_axisline_style
- demo_colorbar_with_inset_locator
- demo_curvelinear_grid
- demo_curvelinear_grid2
- demo_edge_colorbar
- demo_floating_axes
- demo_floating_axis
- demo_parasite_axes2
- inset_locator_demo
- inset_locator_demo2
- make_room_for_ylabel_using_axesgrid
- parasite_simple2
- scatter_hist
- simple_anchored_artists
- simple_axesgrid
- simple_axesgrid2
- simple_axisline4
diff --git a/dev/_sources/examples/axes_grid/inset_locator_demo.txt b/dev/_sources/examples/axes_grid/inset_locator_demo.txt
deleted file mode 100644
index 4763d38fe92..00000000000
--- a/dev/_sources/examples/axes_grid/inset_locator_demo.txt
+++ /dev/null
@@ -1,59 +0,0 @@
-.. _axes_grid-inset_locator_demo:
-
-axes_grid example code: inset_locator_demo.py
-=============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/inset_locator_demo.py
-
-::
-
- import matplotlib.pyplot as plt
-
- from mpl_toolkits.axes_grid1.inset_locator import inset_axes, zoomed_inset_axes
- from mpl_toolkits.axes_grid1.anchored_artists import AnchoredSizeBar
-
-
- def add_sizebar(ax, size):
- asb = AnchoredSizeBar(ax.transData,
- size,
- str(size),
- loc=8,
- pad=0.1, borderpad=0.5, sep=5,
- frameon=False)
- ax.add_artist(asb)
-
-
- fig = plt.figure(1, [5.5, 3])
-
- # first subplot
- ax = fig.add_subplot(1,2,1)
- ax.set_aspect(1.)
-
- axins = inset_axes(ax,
- width="30%", # width = 30% of parent_bbox
- height=1., # height : 1 inch
- loc=3)
-
- plt.xticks(visible=False)
- plt.yticks(visible=False)
-
-
- # second subplot
- ax = fig.add_subplot(1,2,2)
- ax.set_aspect(1.)
-
- axins = zoomed_inset_axes(ax, 0.5, loc=1) # zoom = 0.5
-
- plt.xticks(visible=False)
- plt.yticks(visible=False)
-
- add_sizebar(ax, 0.5)
- add_sizebar(axins, 0.5)
-
- plt.draw()
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/inset_locator_demo2.txt b/dev/_sources/examples/axes_grid/inset_locator_demo2.txt
deleted file mode 100644
index c12d5367b1c..00000000000
--- a/dev/_sources/examples/axes_grid/inset_locator_demo2.txt
+++ /dev/null
@@ -1,62 +0,0 @@
-.. _axes_grid-inset_locator_demo2:
-
-axes_grid example code: inset_locator_demo2.py
-==============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/inset_locator_demo2.py
-
-::
-
- import matplotlib.pyplot as plt
-
- from mpl_toolkits.axes_grid1.inset_locator import zoomed_inset_axes
- from mpl_toolkits.axes_grid1.inset_locator import mark_inset
-
- import numpy as np
-
- def get_demo_image():
- from matplotlib.cbook import get_sample_data
- import numpy as np
- f = get_sample_data("axes_grid/bivariate_normal.npy", asfileobj=False)
- z = np.load(f)
- # z is a numpy array of 15x15
- return z, (-3,4,-4,3)
-
-
- fig = plt.figure(1, [5,4])
- ax = fig.add_subplot(111)
-
- # prepare the demo image
- Z, extent = get_demo_image()
- Z2 = np.zeros([150, 150], dtype="d")
- ny, nx = Z.shape
- Z2[30:30+ny, 30:30+nx] = Z
-
- # extent = [-3, 4, -4, 3]
- ax.imshow(Z2, extent=extent, interpolation="nearest",
- origin="lower")
-
- axins = zoomed_inset_axes(ax, 6, loc=1) # zoom = 6
- axins.imshow(Z2, extent=extent, interpolation="nearest",
- origin="lower")
-
- # sub region of the original image
- x1, x2, y1, y2 = -1.5, -0.9, -2.5, -1.9
- axins.set_xlim(x1, x2)
- axins.set_ylim(y1, y2)
-
- plt.xticks(visible=False)
- plt.yticks(visible=False)
-
- # draw a bbox of the region of the inset axes in the parent axes and
- # connecting lines between the bbox and the inset axes area
- mark_inset(ax, axins, loc1=2, loc2=4, fc="none", ec="0.5")
-
- plt.draw()
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/make_room_for_ylabel_using_axesgrid.txt b/dev/_sources/examples/axes_grid/make_room_for_ylabel_using_axesgrid.txt
deleted file mode 100644
index 28ec2370db7..00000000000
--- a/dev/_sources/examples/axes_grid/make_room_for_ylabel_using_axesgrid.txt
+++ /dev/null
@@ -1,76 +0,0 @@
-.. _axes_grid-make_room_for_ylabel_using_axesgrid:
-
-axes_grid example code: make_room_for_ylabel_using_axesgrid.py
-==============================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/make_room_for_ylabel_using_axesgrid.py
-
-::
-
- from mpl_toolkits.axes_grid1 import make_axes_locatable
- from mpl_toolkits.axes_grid1.axes_divider import make_axes_area_auto_adjustable
-
-
-
- if __name__ == "__main__":
-
- import matplotlib.pyplot as plt
- def ex1():
- plt.figure(1)
- ax = plt.axes([0,0,1,1])
- # ax = plt.subplot(111)
-
- ax.set_yticks([0.5])
- ax.set_yticklabels(["very long label"])
-
- make_axes_area_auto_adjustable(ax)
-
-
- def ex2():
-
- plt.figure(2)
- ax1 = plt.axes([0,0,1,0.5])
- ax2 = plt.axes([0,0.5,1,0.5])
-
- ax1.set_yticks([0.5])
- ax1.set_yticklabels(["very long label"])
- ax1.set_ylabel("Y label")
-
- ax2.set_title("Title")
-
- make_axes_area_auto_adjustable(ax1, pad=0.1, use_axes=[ax1, ax2])
- make_axes_area_auto_adjustable(ax2, pad=0.1, use_axes=[ax1, ax2])
-
- def ex3():
-
- fig = plt.figure(3)
- ax1 = plt.axes([0,0,1,1])
- divider = make_axes_locatable(ax1)
-
- ax2 = divider.new_horizontal("100%", pad=0.3, sharey=ax1)
- ax2.tick_params(labelleft="off")
- fig.add_axes(ax2)
-
- divider.add_auto_adjustable_area(use_axes=[ax1], pad=0.1,
- adjust_dirs=["left"])
- divider.add_auto_adjustable_area(use_axes=[ax2], pad=0.1,
- adjust_dirs=["right"])
- divider.add_auto_adjustable_area(use_axes=[ax1, ax2], pad=0.1,
- adjust_dirs=["top", "bottom"])
-
- ax1.set_yticks([0.5])
- ax1.set_yticklabels(["very long label"])
-
- ax2.set_title("Title")
- ax2.set_xlabel("X - Label")
-
- ex1()
- ex2()
- ex3()
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/parasite_simple2.txt b/dev/_sources/examples/axes_grid/parasite_simple2.txt
deleted file mode 100644
index 2000272a1bc..00000000000
--- a/dev/_sources/examples/axes_grid/parasite_simple2.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-.. _axes_grid-parasite_simple2:
-
-axes_grid example code: parasite_simple2.py
-===========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/parasite_simple2.py
-
-::
-
- import matplotlib.transforms as mtransforms
- import matplotlib.pyplot as plt
- from mpl_toolkits.axes_grid1.parasite_axes import SubplotHost
-
- obs = [["01_S1", 3.88, 0.14, 1970, 63],
- ["01_S4", 5.6, 0.82, 1622, 150],
- ["02_S1", 2.4, 0.54, 1570, 40],
- ["03_S1", 4.1, 0.62, 2380, 170]]
-
-
- fig = plt.figure()
-
- ax_kms = SubplotHost(fig, 1,1,1, aspect=1.)
-
- # angular proper motion("/yr) to linear velocity(km/s) at distance=2.3kpc
- pm_to_kms = 1./206265.*2300*3.085e18/3.15e7/1.e5
-
- aux_trans = mtransforms.Affine2D().scale(pm_to_kms, 1.)
- ax_pm = ax_kms.twin(aux_trans)
- ax_pm.set_viewlim_mode("transform")
-
- fig.add_subplot(ax_kms)
-
- for n, ds, dse, w, we in obs:
- time = ((2007+(10. + 4/30.)/12)-1988.5)
- v = ds / time * pm_to_kms
- ve = dse / time * pm_to_kms
- ax_kms.errorbar([v], [w], xerr=[ve], yerr=[we], color="k")
-
-
- ax_kms.axis["bottom"].set_label("Linear velocity at 2.3 kpc [km/s]")
- ax_kms.axis["left"].set_label("FWHM [km/s]")
- ax_pm.axis["top"].set_label("Proper Motion [$^{''}$/yr]")
- ax_pm.axis["top"].label.set_visible(True)
- ax_pm.axis["right"].major_ticklabels.set_visible(False)
-
- ax_kms.set_xlim(950, 3700)
- ax_kms.set_ylim(950, 3100)
- # xlim and ylim of ax_pms will be automatically adjusted.
-
- plt.draw()
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/scatter_hist.txt b/dev/_sources/examples/axes_grid/scatter_hist.txt
deleted file mode 100644
index 6e7e2a4e7a4..00000000000
--- a/dev/_sources/examples/axes_grid/scatter_hist.txt
+++ /dev/null
@@ -1,67 +0,0 @@
-.. _axes_grid-scatter_hist:
-
-axes_grid example code: scatter_hist.py
-=======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/scatter_hist.py
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
-
- # the random data
- x = np.random.randn(1000)
- y = np.random.randn(1000)
-
-
- fig = plt.figure(1, figsize=(5.5,5.5))
-
- from mpl_toolkits.axes_grid1 import make_axes_locatable
-
- # the scatter plot:
- axScatter = plt.subplot(111)
- axScatter.scatter(x, y)
- axScatter.set_aspect(1.)
-
- # create new axes on the right and on the top of the current axes
- # The first argument of the new_vertical(new_horizontal) method is
- # the height (width) of the axes to be created in inches.
- divider = make_axes_locatable(axScatter)
- axHistx = divider.append_axes("top", 1.2, pad=0.1, sharex=axScatter)
- axHisty = divider.append_axes("right", 1.2, pad=0.1, sharey=axScatter)
-
- # make some labels invisible
- plt.setp(axHistx.get_xticklabels() + axHisty.get_yticklabels(),
- visible=False)
-
- # now determine nice limits by hand:
- binwidth = 0.25
- xymax = np.max( [np.max(np.fabs(x)), np.max(np.fabs(y))] )
- lim = ( int(xymax/binwidth) + 1) * binwidth
-
- bins = np.arange(-lim, lim + binwidth, binwidth)
- axHistx.hist(x, bins=bins)
- axHisty.hist(y, bins=bins, orientation='horizontal')
-
- # the xaxis of axHistx and yaxis of axHisty are shared with axScatter,
- # thus there is no need to manually adjust the xlim and ylim of these
- # axis.
-
- #axHistx.axis["bottom"].major_ticklabels.set_visible(False)
- for tl in axHistx.get_xticklabels():
- tl.set_visible(False)
- axHistx.set_yticks([0, 50, 100])
-
- #axHisty.axis["left"].major_ticklabels.set_visible(False)
- for tl in axHisty.get_yticklabels():
- tl.set_visible(False)
- axHisty.set_xticks([0, 50, 100])
-
- plt.draw()
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/simple_anchored_artists.txt b/dev/_sources/examples/axes_grid/simple_anchored_artists.txt
deleted file mode 100644
index bd0059ee71e..00000000000
--- a/dev/_sources/examples/axes_grid/simple_anchored_artists.txt
+++ /dev/null
@@ -1,75 +0,0 @@
-.. _axes_grid-simple_anchored_artists:
-
-axes_grid example code: simple_anchored_artists.py
-==================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/simple_anchored_artists.py
-
-::
-
- import matplotlib.pyplot as plt
-
-
- def draw_text(ax):
- from mpl_toolkits.axes_grid1.anchored_artists import AnchoredText
- at = AnchoredText("Figure 1a",
- loc=2, prop=dict(size=8), frameon=True,
- )
- at.patch.set_boxstyle("round,pad=0.,rounding_size=0.2")
- ax.add_artist(at)
-
- at2 = AnchoredText("Figure 1(b)",
- loc=3, prop=dict(size=8), frameon=True,
- bbox_to_anchor=(0., 1.),
- bbox_transform=ax.transAxes
- )
- at2.patch.set_boxstyle("round,pad=0.,rounding_size=0.2")
- ax.add_artist(at2)
-
- def draw_circle(ax): # circle in the canvas coordinate
- from mpl_toolkits.axes_grid1.anchored_artists import AnchoredDrawingArea
- from matplotlib.patches import Circle
- ada = AnchoredDrawingArea(20, 20, 0, 0,
- loc=1, pad=0., frameon=False)
- p = Circle((10, 10), 10)
- ada.da.add_artist(p)
- ax.add_artist(ada)
-
- def draw_ellipse(ax):
- from mpl_toolkits.axes_grid1.anchored_artists import AnchoredEllipse
- # draw an ellipse of width=0.1, height=0.15 in the data coordinate
- ae = AnchoredEllipse(ax.transData, width=0.1, height=0.15, angle=0.,
- loc=3, pad=0.5, borderpad=0.4, frameon=True)
-
- ax.add_artist(ae)
-
- def draw_sizebar(ax):
- from mpl_toolkits.axes_grid1.anchored_artists import AnchoredSizeBar
- # draw a horizontal bar with length of 0.1 in Data coordinate
- # (ax.transData) with a label underneath.
- asb = AnchoredSizeBar(ax.transData,
- 0.1,
- r"1$^{\prime}$",
- loc=8,
- pad=0.1, borderpad=0.5, sep=5,
- frameon=False)
- ax.add_artist(asb)
-
-
- if 1:
- ax = plt.gca()
- ax.set_aspect(1.)
-
- draw_text(ax)
- draw_circle(ax)
- draw_ellipse(ax)
- draw_sizebar(ax)
-
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/simple_axesgrid.txt b/dev/_sources/examples/axes_grid/simple_axesgrid.txt
deleted file mode 100644
index 7c5f36239a0..00000000000
--- a/dev/_sources/examples/axes_grid/simple_axesgrid.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-.. _axes_grid-simple_axesgrid:
-
-axes_grid example code: simple_axesgrid.py
-==========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/simple_axesgrid.py
-
-::
-
- import matplotlib.pyplot as plt
- from mpl_toolkits.axes_grid1 import ImageGrid
- import numpy as np
-
- im = np.arange(100)
- im.shape = 10, 10
-
- fig = plt.figure(1, (4., 4.))
- grid = ImageGrid(fig, 111, # similar to subplot(111)
- nrows_ncols = (2, 2), # creates 2x2 grid of axes
- axes_pad=0.1, # pad between axes in inch.
- )
-
- for i in range(4):
- grid[i].imshow(im) # The AxesGrid object work as a list of axes.
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/simple_axesgrid2.txt b/dev/_sources/examples/axes_grid/simple_axesgrid2.txt
deleted file mode 100644
index 945cdc18270..00000000000
--- a/dev/_sources/examples/axes_grid/simple_axesgrid2.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-.. _axes_grid-simple_axesgrid2:
-
-axes_grid example code: simple_axesgrid2.py
-===========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/simple_axesgrid2.py
-
-::
-
- import matplotlib.pyplot as plt
- from mpl_toolkits.axes_grid1 import ImageGrid
-
- def get_demo_image():
- import numpy as np
- from matplotlib.cbook import get_sample_data
- f = get_sample_data("axes_grid/bivariate_normal.npy", asfileobj=False)
- z = np.load(f)
- # z is a numpy array of 15x15
- return z, (-3,4,-4,3)
-
- F = plt.figure(1, (5.5, 3.5))
- grid = ImageGrid(F, 111, # similar to subplot(111)
- nrows_ncols = (1, 3),
- axes_pad = 0.1,
- add_all=True,
- label_mode = "L",
- )
-
- Z, extent = get_demo_image() # demo image
-
- im1=Z
- im2=Z[:,:10]
- im3=Z[:,10:]
- vmin, vmax = Z.min(), Z.max()
- for i, im in enumerate([im1, im2, im3]):
- ax = grid[i]
- ax.imshow(im, origin="lower", vmin=vmin, vmax=vmax, interpolation="nearest")
-
- plt.draw()
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/axes_grid/simple_axisline4.txt b/dev/_sources/examples/axes_grid/simple_axisline4.txt
deleted file mode 100644
index 70e9f551126..00000000000
--- a/dev/_sources/examples/axes_grid/simple_axisline4.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-.. _axes_grid-simple_axisline4:
-
-axes_grid example code: simple_axisline4.py
-===========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/axes_grid/simple_axisline4.py
-
-::
-
- import matplotlib.pyplot as plt
- from mpl_toolkits.axes_grid1 import host_subplot
- import mpl_toolkits.axisartist as AA
- import numpy as np
-
- ax = host_subplot(111, axes_class=AA.Axes)
- xx = np.arange(0, 2*np.pi, 0.01)
- ax.plot(xx, np.sin(xx))
-
- ax2 = ax.twin() # ax2 is responsible for "top" axis and "right" axis
- ax2.set_xticks([0., .5*np.pi, np.pi, 1.5*np.pi, 2*np.pi])
- ax2.set_xticklabels(["$0$", r"$\frac{1}{2}\pi$",
- r"$\pi$", r"$\frac{3}{2}\pi$", r"$2\pi$"])
-
- ax2.axis["right"].major_ticklabels.set_visible(False)
-
- plt.draw()
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/color/color_cycle_demo.txt b/dev/_sources/examples/color/color_cycle_demo.txt
deleted file mode 100644
index b840e0e532c..00000000000
--- a/dev/_sources/examples/color/color_cycle_demo.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-.. _color-color_cycle_demo:
-
-color example code: color_cycle_demo.py
-=======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/color/color_cycle_demo.py
-
-::
-
- """
- Demo of custom color-cycle settings to control colors for multi-line plots.
-
- This example demonstrates two different APIs:
-
- 1. Setting the default rc-parameter specifying the color cycle.
- This affects all subsequent plots.
- 2. Setting the color cycle for a specific axes. This only affects a single
- axes.
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
- x = np.linspace(0, 2 * np.pi)
- offsets = np.linspace(0, 2*np.pi, 4, endpoint=False)
- # Create array with shifted-sine curve along each column
- yy = np.transpose([np.sin(x + phi) for phi in offsets])
-
- plt.rc('lines', linewidth=4)
- fig, (ax0, ax1) = plt.subplots(nrows=2)
-
- plt.rc('axes', color_cycle=['r', 'g', 'b', 'y'])
- ax0.plot(yy)
- ax0.set_title('Set default color cycle to rgby')
-
- ax1.set_color_cycle(['c', 'm', 'y', 'k'])
- ax1.plot(yy)
- ax1.set_title('Set axes color cycle to cmyk')
-
- # Tweak spacing between subplots to prevent labels from overlapping
- plt.subplots_adjust(hspace=0.3)
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/color/colormaps_reference.txt b/dev/_sources/examples/color/colormaps_reference.txt
deleted file mode 100644
index 97ba03379ef..00000000000
--- a/dev/_sources/examples/color/colormaps_reference.txt
+++ /dev/null
@@ -1,93 +0,0 @@
-.. _color-colormaps_reference:
-
-color example code: colormaps_reference.py
-==========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/color/colormaps_reference.py
-
-::
-
- """
- Reference for colormaps included with Matplotlib.
-
- This reference example shows all colormaps included with Matplotlib. Note that
- any colormap listed here can be reversed by appending "_r" (e.g., "pink_r").
- These colormaps are divided into the following categories:
-
- Sequential:
- These colormaps are approximately monochromatic colormaps varying smoothly
- between two color tones---usually from low saturation (e.g. white) to high
- saturation (e.g. a bright blue). Sequential colormaps are ideal for
- representing most scientific data since they show a clear progression from
- low-to-high values.
-
- Diverging:
- These colormaps have a median value (usually light in color) and vary
- smoothly to two different color tones at high and low values. Diverging
- colormaps are ideal when your data has a median value that is significant
- (e.g. 0, such that positive and negative values are represented by
- different colors of the colormap).
-
- Qualitative:
- These colormaps vary rapidly in color. Qualitative colormaps are useful for
- choosing a set of discrete colors. For example::
-
- color_list = plt.cm.Set3(np.linspace(0, 1, 12))
-
- gives a list of RGB colors that are good for plotting a series of lines on
- a dark background.
-
- Miscellaneous:
- Colormaps that don't fit into the categories above.
-
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
-
- cmaps = [('Sequential', ['binary', 'Blues', 'BuGn', 'BuPu', 'gist_yarg',
- 'GnBu', 'Greens', 'Greys', 'Oranges', 'OrRd',
- 'PuBu', 'PuBuGn', 'PuRd', 'Purples', 'RdPu',
- 'Reds', 'YlGn', 'YlGnBu', 'YlOrBr', 'YlOrRd']),
- ('Sequential (2)', ['afmhot', 'autumn', 'bone', 'cool', 'copper',
- 'gist_gray', 'gist_heat', 'gray', 'hot', 'pink',
- 'spring', 'summer', 'winter']),
- ('Diverging', ['BrBG', 'bwr', 'coolwarm', 'PiYG', 'PRGn', 'PuOr',
- 'RdBu', 'RdGy', 'RdYlBu', 'RdYlGn', 'seismic']),
- ('Qualitative', ['Accent', 'Dark2', 'hsv', 'Paired', 'Pastel1',
- 'Pastel2', 'Set1', 'Set2', 'Set3', 'spectral']),
- ('Miscellaneous', ['gist_earth', 'gist_ncar', 'gist_rainbow',
- 'gist_stern', 'jet', 'brg', 'CMRmap', 'cubehelix',
- 'gnuplot', 'gnuplot2', 'ocean', 'rainbow',
- 'terrain', 'flag', 'prism'])]
-
-
- nrows = max(len(cmap_list) for cmap_category, cmap_list in cmaps)
- gradient = np.linspace(0, 1, 256)
- gradient = np.vstack((gradient, gradient))
-
- def plot_color_gradients(cmap_category, cmap_list):
- fig, axes = plt.subplots(nrows=nrows)
- fig.subplots_adjust(top=0.95, bottom=0.01, left=0.2, right=0.99)
- axes[0].set_title(cmap_category + ' colormaps', fontsize=14)
-
- for ax, name in zip(axes, cmap_list):
- ax.imshow(gradient, aspect='auto', cmap=plt.get_cmap(name))
- pos = list(ax.get_position().bounds)
- x_text = pos[0] - 0.01
- y_text = pos[1] + pos[3]/2.
- fig.text(x_text, y_text, name, va='center', ha='right', fontsize=10)
-
- # Turn off *all* ticks & spines, not just the ones with colormaps.
- for ax in axes:
- ax.set_axis_off()
-
- for cmap_category, cmap_list in cmaps:
- plot_color_gradients(cmap_category, cmap_list)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/color/index.txt b/dev/_sources/examples/color/index.txt
deleted file mode 100644
index 5bde9db624c..00000000000
--- a/dev/_sources/examples/color/index.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-.. _color-examples-index:
-
-##############################################
-color Examples
-##############################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- color_cycle_demo
- colormaps_reference
diff --git a/dev/_sources/examples/event_handling/close_event.txt b/dev/_sources/examples/event_handling/close_event.txt
deleted file mode 100644
index f0b3ebcbb7d..00000000000
--- a/dev/_sources/examples/event_handling/close_event.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-.. _event_handling-close_event:
-
-event_handling example code: close_event.py
-===========================================
-
-[`source code `_]
-
-::
-
- from __future__ import print_function
- import matplotlib.pyplot as plt
-
- def handle_close(evt):
- print('Closed Figure!')
-
- fig = plt.figure()
- fig.canvas.mpl_connect('close_event', handle_close)
-
- plt.text(0.35, 0.5, 'Close Me!', dict(size=30))
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/data_browser.txt b/dev/_sources/examples/event_handling/data_browser.txt
deleted file mode 100644
index 5f7b7449f44..00000000000
--- a/dev/_sources/examples/event_handling/data_browser.txt
+++ /dev/null
@@ -1,97 +0,0 @@
-.. _event_handling-data_browser:
-
-event_handling example code: data_browser.py
-============================================
-
-[`source code `_]
-
-::
-
- import numpy as np
-
-
- class PointBrowser:
- """
- Click on a point to select and highlight it -- the data that
- generated the point will be shown in the lower axes. Use the 'n'
- and 'p' keys to browse through the next and previous points
- """
- def __init__(self):
- self.lastind = 0
-
- self.text = ax.text(0.05, 0.95, 'selected: none',
- transform=ax.transAxes, va='top')
- self.selected, = ax.plot([xs[0]], [ys[0]], 'o', ms=12, alpha=0.4,
- color='yellow', visible=False)
-
- def onpress(self, event):
- if self.lastind is None: return
- if event.key not in ('n', 'p'): return
- if event.key=='n': inc = 1
- else: inc = -1
-
-
- self.lastind += inc
- self.lastind = np.clip(self.lastind, 0, len(xs)-1)
- self.update()
-
- def onpick(self, event):
-
- if event.artist!=line: return True
-
- N = len(event.ind)
- if not N: return True
-
- # the click locations
- x = event.mouseevent.xdata
- y = event.mouseevent.ydata
-
-
- distances = np.hypot(x-xs[event.ind], y-ys[event.ind])
- indmin = distances.argmin()
- dataind = event.ind[indmin]
-
- self.lastind = dataind
- self.update()
-
- def update(self):
- if self.lastind is None: return
-
- dataind = self.lastind
-
- ax2.cla()
- ax2.plot(X[dataind])
-
- ax2.text(0.05, 0.9, 'mu=%1.3f\nsigma=%1.3f'%(xs[dataind], ys[dataind]),
- transform=ax2.transAxes, va='top')
- ax2.set_ylim(-0.5, 1.5)
- self.selected.set_visible(True)
- self.selected.set_data(xs[dataind], ys[dataind])
-
- self.text.set_text('selected: %d'%dataind)
- fig.canvas.draw()
-
-
- if __name__ == '__main__':
- import matplotlib.pyplot as plt
-
- X = np.random.rand(100, 200)
- xs = np.mean(X, axis=1)
- ys = np.std(X, axis=1)
-
- fig = plt.figure()
- ax = fig.add_subplot(211)
- ax.set_title('click on point to plot time series')
- line, = ax.plot(xs, ys, 'o', picker=5) # 5 points tolerance
- ax2 = fig.add_subplot(212)
-
- browser = PointBrowser()
-
- fig.canvas.mpl_connect('pick_event', browser.onpick)
- fig.canvas.mpl_connect('key_press_event', browser.onpress)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/figure_axes_enter_leave.txt b/dev/_sources/examples/event_handling/figure_axes_enter_leave.txt
deleted file mode 100644
index a15d42e5866..00000000000
--- a/dev/_sources/examples/event_handling/figure_axes_enter_leave.txt
+++ /dev/null
@@ -1,62 +0,0 @@
-.. _event_handling-figure_axes_enter_leave:
-
-event_handling example code: figure_axes_enter_leave.py
-=======================================================
-
-[`source code `_]
-
-::
-
- """
- Illustrate the figure and axes enter and leave events by changing the
- frame colors on enter and leave
- """
- from __future__ import print_function
- import matplotlib.pyplot as plt
-
- def enter_axes(event):
- print('enter_axes', event.inaxes)
- event.inaxes.patch.set_facecolor('yellow')
- event.canvas.draw()
-
- def leave_axes(event):
- print('leave_axes', event.inaxes)
- event.inaxes.patch.set_facecolor('white')
- event.canvas.draw()
-
- def enter_figure(event):
- print('enter_figure', event.canvas.figure)
- event.canvas.figure.patch.set_facecolor('red')
- event.canvas.draw()
-
- def leave_figure(event):
- print('leave_figure', event.canvas.figure)
- event.canvas.figure.patch.set_facecolor('grey')
- event.canvas.draw()
-
- fig1 = plt.figure()
- fig1.suptitle('mouse hover over figure or axes to trigger events')
- ax1 = fig1.add_subplot(211)
- ax2 = fig1.add_subplot(212)
-
- fig1.canvas.mpl_connect('figure_enter_event', enter_figure)
- fig1.canvas.mpl_connect('figure_leave_event', leave_figure)
- fig1.canvas.mpl_connect('axes_enter_event', enter_axes)
- fig1.canvas.mpl_connect('axes_leave_event', leave_axes)
-
- fig2 = plt.figure()
- fig2.suptitle('mouse hover over figure or axes to trigger events')
- ax1 = fig2.add_subplot(211)
- ax2 = fig2.add_subplot(212)
-
- fig2.canvas.mpl_connect('figure_enter_event', enter_figure)
- fig2.canvas.mpl_connect('figure_leave_event', leave_figure)
- fig2.canvas.mpl_connect('axes_enter_event', enter_axes)
- fig2.canvas.mpl_connect('axes_leave_event', leave_axes)
-
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/idle_and_timeout.txt b/dev/_sources/examples/event_handling/idle_and_timeout.txt
deleted file mode 100644
index 73267f05231..00000000000
--- a/dev/_sources/examples/event_handling/idle_and_timeout.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-.. _event_handling-idle_and_timeout:
-
-event_handling example code: idle_and_timeout.py
-================================================
-
-[`source code `_]
-
-::
-
- from __future__ import print_function
- """
- Demonstrate/test the idle and timeout API
-
- This is only tested on gtk so far and is a prototype implementation
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- t = np.arange(0.0, 2.0, 0.01)
- y1 = np.sin(2*np.pi*t)
- y2 = np.cos(2*np.pi*t)
- line1, = ax.plot(y1)
- line2, = ax.plot(y2)
-
- N = 100
- def on_idle(event):
- on_idle.count +=1
- print('idle', on_idle.count)
- line1.set_ydata(np.sin(2*np.pi*t*(N-on_idle.count)/float(N)))
- event.canvas.draw()
- # test boolean return removal
- if on_idle.count==N:
- return False
- return True
- on_idle.cid = None
- on_idle.count = 0
-
- fig.canvas.mpl_connect('idle_event', on_idle)
-
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/index.txt b/dev/_sources/examples/event_handling/index.txt
deleted file mode 100644
index 693105a6d3e..00000000000
--- a/dev/_sources/examples/event_handling/index.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-.. _event_handling-examples-index:
-
-##############################################
-event_handling Examples
-##############################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- close_event
- data_browser
- figure_axes_enter_leave
- idle_and_timeout
- keypress_demo
- lasso_demo
- legend_picking
- looking_glass
- path_editor
- pick_event_demo
- pick_event_demo2
- pipong
- poly_editor
- pong_gtk
- pong_qt
- resample
- test_mouseclicks
- timers
- trifinder_event_demo
- viewlims
- zoom_window
diff --git a/dev/_sources/examples/event_handling/keypress_demo.txt b/dev/_sources/examples/event_handling/keypress_demo.txt
deleted file mode 100644
index 7f62e7bd2e0..00000000000
--- a/dev/_sources/examples/event_handling/keypress_demo.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-.. _event_handling-keypress_demo:
-
-event_handling example code: keypress_demo.py
-=============================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
-
- """
- Show how to connect to keypress events
- """
- from __future__ import print_function
- import sys
- import numpy as np
- import matplotlib.pyplot as plt
-
-
- def press(event):
- print('press', event.key)
- sys.stdout.flush()
- if event.key=='x':
- visible = xl.get_visible()
- xl.set_visible(not visible)
- fig.canvas.draw()
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- fig.canvas.mpl_connect('key_press_event', press)
-
- ax.plot(np.random.rand(12), np.random.rand(12), 'go')
- xl = ax.set_xlabel('easy come, easy go')
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/lasso_demo.txt b/dev/_sources/examples/event_handling/lasso_demo.txt
deleted file mode 100644
index f1f9ca2ffd4..00000000000
--- a/dev/_sources/examples/event_handling/lasso_demo.txt
+++ /dev/null
@@ -1,89 +0,0 @@
-.. _event_handling-lasso_demo:
-
-event_handling example code: lasso_demo.py
-==========================================
-
-[`source code `_]
-
-::
-
- """
- Show how to use a lasso to select a set of points and get the indices
- of the selected points. A callback is used to change the color of the
- selected points
-
- This is currently a proof-of-concept implementation (though it is
- usable as is). There will be some refinement of the API.
- """
- from matplotlib.widgets import Lasso
- from matplotlib.colors import colorConverter
- from matplotlib.collections import RegularPolyCollection
- from matplotlib import path
-
- import matplotlib.pyplot as plt
- from numpy import nonzero
- from numpy.random import rand
-
- class Datum(object):
- colorin = colorConverter.to_rgba('red')
- colorout = colorConverter.to_rgba('blue')
- def __init__(self, x, y, include=False):
- self.x = x
- self.y = y
- if include: self.color = self.colorin
- else: self.color = self.colorout
-
-
- class LassoManager(object):
- def __init__(self, ax, data):
- self.axes = ax
- self.canvas = ax.figure.canvas
- self.data = data
-
- self.Nxy = len(data)
-
- facecolors = [d.color for d in data]
- self.xys = [(d.x, d.y) for d in data]
- fig = ax.figure
- self.collection = RegularPolyCollection(
- fig.dpi, 6, sizes=(100,),
- facecolors=facecolors,
- offsets = self.xys,
- transOffset = ax.transData)
-
- ax.add_collection(self.collection)
-
- self.cid = self.canvas.mpl_connect('button_press_event', self.onpress)
-
- def callback(self, verts):
- facecolors = self.collection.get_facecolors()
- p = path.Path(verts)
- ind = p.contains_points(self.xys)
- for i in range(len(self.xys)):
- if ind[i]:
- facecolors[i] = Datum.colorin
- else:
- facecolors[i] = Datum.colorout
-
- self.canvas.draw_idle()
- self.canvas.widgetlock.release(self.lasso)
- del self.lasso
-
- def onpress(self, event):
- if self.canvas.widgetlock.locked(): return
- if event.inaxes is None: return
- self.lasso = Lasso(event.inaxes, (event.xdata, event.ydata), self.callback)
- # acquire a lock on the widget drawing
- self.canvas.widgetlock(self.lasso)
-
- if __name__ == '__main__':
-
- data = [Datum(*xy) for xy in rand(100, 2)]
-
- ax = plt.axes(xlim=(0,1), ylim=(0,1), autoscale_on=False)
- lman = LassoManager(ax, data)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/legend_picking.txt b/dev/_sources/examples/event_handling/legend_picking.txt
deleted file mode 100644
index fed93bb85f5..00000000000
--- a/dev/_sources/examples/event_handling/legend_picking.txt
+++ /dev/null
@@ -1,58 +0,0 @@
-.. _event_handling-legend_picking:
-
-event_handling example code: legend_picking.py
-==============================================
-
-[`source code `_]
-
-::
-
- """
- Enable picking on the legend to toggle the legended line on and off
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
- t = np.arange(0.0, 0.2, 0.1)
- y1 = 2*np.sin(2*np.pi*t)
- y2 = 4*np.sin(2*np.pi*2*t)
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.set_title('Click on legend line to toggle line on/off')
- line1, = ax.plot(t, y1, lw=2, color='red', label='1 HZ')
- line2, = ax.plot(t, y2, lw=2, color='blue', label='2 HZ')
- leg = ax.legend(loc='upper left', fancybox=True, shadow=True)
- leg.get_frame().set_alpha(0.4)
-
-
- # we will set up a dict mapping legend line to orig line, and enable
- # picking on the legend line
- lines = [line1, line2]
- lined = dict()
- for legline, origline in zip(leg.get_lines(), lines):
- legline.set_picker(5) # 5 pts tolerance
- lined[legline] = origline
-
-
- def onpick(event):
- # on the pick event, find the orig line corresponding to the
- # legend proxy line, and toggle the visibility
- legline = event.artist
- origline = lined[legline]
- vis = not origline.get_visible()
- origline.set_visible(vis)
- # Change the alpha on the line in the legend so we can see what lines
- # have been toggled
- if vis:
- legline.set_alpha(1.0)
- else:
- legline.set_alpha(0.2)
- fig.canvas.draw()
-
- fig.canvas.mpl_connect('pick_event', onpick)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/looking_glass.txt b/dev/_sources/examples/event_handling/looking_glass.txt
deleted file mode 100644
index 88692beeec4..00000000000
--- a/dev/_sources/examples/event_handling/looking_glass.txt
+++ /dev/null
@@ -1,59 +0,0 @@
-.. _event_handling-looking_glass:
-
-event_handling example code: looking_glass.py
-=============================================
-
-[`source code `_]
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.patches as patches
- x, y = np.random.rand(2, 200)
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- circ = patches.Circle( (0.5, 0.5), 0.25, alpha=0.8, fc='yellow')
- ax.add_patch(circ)
-
-
- ax.plot(x, y, alpha=0.2)
- line, = ax.plot(x, y, alpha=1.0, clip_path=circ)
-
- class EventHandler:
- def __init__(self):
- fig.canvas.mpl_connect('button_press_event', self.onpress)
- fig.canvas.mpl_connect('button_release_event', self.onrelease)
- fig.canvas.mpl_connect('motion_notify_event', self.onmove)
- self.x0, self.y0 = circ.center
- self.pressevent = None
-
- def onpress(self, event):
- if event.inaxes!=ax:
- return
-
- if not circ.contains(event)[0]:
- return
-
- self.pressevent = event
-
- def onrelease(self, event):
- self.pressevent = None
- self.x0, self.y0 = circ.center
-
- def onmove(self, event):
- if self.pressevent is None or event.inaxes!=self.pressevent.inaxes:
- return
-
- dx = event.xdata - self.pressevent.xdata
- dy = event.ydata - self.pressevent.ydata
- circ.center = self.x0 + dx, self.y0 + dy
- line.set_clip_path(circ)
- fig.canvas.draw()
-
- handler = EventHandler()
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/path_editor.txt b/dev/_sources/examples/event_handling/path_editor.txt
deleted file mode 100644
index 6e49bf2ef5b..00000000000
--- a/dev/_sources/examples/event_handling/path_editor.txt
+++ /dev/null
@@ -1,155 +0,0 @@
-.. _event_handling-path_editor:
-
-event_handling example code: path_editor.py
-===========================================
-
-[`source code `_]
-
-::
-
- import numpy as np
- import matplotlib.path as mpath
- import matplotlib.patches as mpatches
- import matplotlib.pyplot as plt
-
- Path = mpath.Path
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- pathdata = [
- (Path.MOVETO, (1.58, -2.57)),
- (Path.CURVE4, (0.35, -1.1)),
- (Path.CURVE4, (-1.75, 2.0)),
- (Path.CURVE4, (0.375, 2.0)),
- (Path.LINETO, (0.85, 1.15)),
- (Path.CURVE4, (2.2, 3.2)),
- (Path.CURVE4, (3, 0.05)),
- (Path.CURVE4, (2.0, -0.5)),
- (Path.CLOSEPOLY, (1.58, -2.57)),
- ]
-
- codes, verts = zip(*pathdata)
- path = mpath.Path(verts, codes)
- patch = mpatches.PathPatch(path, facecolor='green', edgecolor='yellow', alpha=0.5)
- ax.add_patch(patch)
-
-
- class PathInteractor:
- """
- An path editor.
-
- Key-bindings
-
- 't' toggle vertex markers on and off. When vertex markers are on,
- you can move them, delete them
-
-
- """
-
- showverts = True
- epsilon = 5 # max pixel distance to count as a vertex hit
-
- def __init__(self, pathpatch):
-
- self.ax = pathpatch.axes
- canvas = self.ax.figure.canvas
- self.pathpatch = pathpatch
- self.pathpatch.set_animated(True)
-
- x, y = zip(*self.pathpatch.get_path().vertices)
-
- self.line, = ax.plot(x,y,marker='o', markerfacecolor='r', animated=True)
-
- self._ind = None # the active vert
-
- canvas.mpl_connect('draw_event', self.draw_callback)
- canvas.mpl_connect('button_press_event', self.button_press_callback)
- canvas.mpl_connect('key_press_event', self.key_press_callback)
- canvas.mpl_connect('button_release_event', self.button_release_callback)
- canvas.mpl_connect('motion_notify_event', self.motion_notify_callback)
- self.canvas = canvas
-
-
- def draw_callback(self, event):
- self.background = self.canvas.copy_from_bbox(self.ax.bbox)
- self.ax.draw_artist(self.pathpatch)
- self.ax.draw_artist(self.line)
- self.canvas.blit(self.ax.bbox)
-
- def pathpatch_changed(self, pathpatch):
- 'this method is called whenever the pathpatchgon object is called'
- # only copy the artist props to the line (except visibility)
- vis = self.line.get_visible()
- Artist.update_from(self.line, pathpatch)
- self.line.set_visible(vis) # don't use the pathpatch visibility state
-
-
- def get_ind_under_point(self, event):
- 'get the index of the vertex under point if within epsilon tolerance'
-
- # display coords
- xy = np.asarray(self.pathpatch.get_path().vertices)
- xyt = self.pathpatch.get_transform().transform(xy)
- xt, yt = xyt[:, 0], xyt[:, 1]
- d = np.sqrt((xt-event.x)**2 + (yt-event.y)**2)
- ind = d.argmin()
-
- if d[ind]>=self.epsilon:
- ind = None
-
- return ind
-
- def button_press_callback(self, event):
- 'whenever a mouse button is pressed'
- if not self.showverts: return
- if event.inaxes==None: return
- if event.button != 1: return
- self._ind = self.get_ind_under_point(event)
-
- def button_release_callback(self, event):
- 'whenever a mouse button is released'
- if not self.showverts: return
- if event.button != 1: return
- self._ind = None
-
- def key_press_callback(self, event):
- 'whenever a key is pressed'
- if not event.inaxes: return
- if event.key=='t':
- self.showverts = not self.showverts
- self.line.set_visible(self.showverts)
- if not self.showverts: self._ind = None
-
- self.canvas.draw()
-
- def motion_notify_callback(self, event):
- 'on mouse movement'
- if not self.showverts: return
- if self._ind is None: return
- if event.inaxes is None: return
- if event.button != 1: return
- x,y = event.xdata, event.ydata
-
- vertices = self.pathpatch.get_path().vertices
-
- vertices[self._ind] = x,y
- self.line.set_data(zip(*vertices))
-
- self.canvas.restore_region(self.background)
- self.ax.draw_artist(self.pathpatch)
- self.ax.draw_artist(self.line)
- self.canvas.blit(self.ax.bbox)
-
-
- interactor = PathInteractor(patch)
- ax.set_title('drag vertices to update path')
- ax.set_xlim(-3,4)
- ax.set_ylim(-3,4)
-
- plt.show()
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/pick_event_demo.txt b/dev/_sources/examples/event_handling/pick_event_demo.txt
deleted file mode 100644
index 6c2d568dd23..00000000000
--- a/dev/_sources/examples/event_handling/pick_event_demo.txt
+++ /dev/null
@@ -1,195 +0,0 @@
-.. _event_handling-pick_event_demo:
-
-event_handling example code: pick_event_demo.py
-===============================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
-
- """
-
- You can enable picking by setting the "picker" property of an artist
- (for example, a matplotlib Line2D, Text, Patch, Polygon, AxesImage,
- etc...)
-
- There are a variety of meanings of the picker property
-
- None - picking is disabled for this artist (default)
-
- boolean - if True then picking will be enabled and the
- artist will fire a pick event if the mouse event is over
- the artist
-
- float - if picker is a number it is interpreted as an
- epsilon tolerance in points and the artist will fire
- off an event if it's data is within epsilon of the mouse
- event. For some artists like lines and patch collections,
- the artist may provide additional data to the pick event
- that is generated, for example, the indices of the data within
- epsilon of the pick event
-
- function - if picker is callable, it is a user supplied
- function which determines whether the artist is hit by the
- mouse event.
-
- hit, props = picker(artist, mouseevent)
-
- to determine the hit test. If the mouse event is over the
- artist, return hit=True and props is a dictionary of properties
- you want added to the PickEvent attributes
-
-
- After you have enabled an artist for picking by setting the "picker"
- property, you need to connect to the figure canvas pick_event to get
- pick callbacks on mouse press events. For example,
-
- def pick_handler(event):
- mouseevent = event.mouseevent
- artist = event.artist
- # now do something with this...
-
-
- The pick event (matplotlib.backend_bases.PickEvent) which is passed to
- your callback is always fired with two attributes:
-
- mouseevent - the mouse event that generate the pick event. The
- mouse event in turn has attributes like x and y (the coordinates in
- display space, such as pixels from left, bottom) and xdata, ydata (the
- coords in data space). Additionally, you can get information about
- which buttons were pressed, which keys were pressed, which Axes
- the mouse is over, etc. See matplotlib.backend_bases.MouseEvent
- for details.
-
- artist - the matplotlib.artist that generated the pick event.
-
- Additionally, certain artists like Line2D and PatchCollection may
- attach additional meta data like the indices into the data that meet
- the picker criteria (for example, all the points in the line that are within
- the specified epsilon tolerance)
-
- The examples below illustrate each of these methods.
- """
-
- from __future__ import print_function
- from matplotlib.pyplot import figure, show
- from matplotlib.lines import Line2D
- from matplotlib.patches import Rectangle
- from matplotlib.text import Text
- from matplotlib.image import AxesImage
- import numpy as np
- from numpy.random import rand
-
- if 1: # simple picking, lines, rectangles and text
- fig = figure()
- ax1 = fig.add_subplot(211)
- ax1.set_title('click on points, rectangles or text', picker=True)
- ax1.set_ylabel('ylabel', picker=True, bbox=dict(facecolor='red'))
- line, = ax1.plot(rand(100), 'o', picker=5) # 5 points tolerance
-
- # pick the rectangle
- ax2 = fig.add_subplot(212)
-
- bars = ax2.bar(range(10), rand(10), picker=True)
- for label in ax2.get_xticklabels(): # make the xtick labels pickable
- label.set_picker(True)
-
-
- def onpick1(event):
- if isinstance(event.artist, Line2D):
- thisline = event.artist
- xdata = thisline.get_xdata()
- ydata = thisline.get_ydata()
- ind = event.ind
- print('onpick1 line:', zip(np.take(xdata, ind), np.take(ydata, ind)))
- elif isinstance(event.artist, Rectangle):
- patch = event.artist
- print('onpick1 patch:', patch.get_path())
- elif isinstance(event.artist, Text):
- text = event.artist
- print('onpick1 text:', text.get_text())
-
-
-
- fig.canvas.mpl_connect('pick_event', onpick1)
-
- if 1: # picking with a custom hit test function
- # you can define custom pickers by setting picker to a callable
- # function. The function has the signature
- #
- # hit, props = func(artist, mouseevent)
- #
- # to determine the hit test. if the mouse event is over the artist,
- # return hit=True and props is a dictionary of
- # properties you want added to the PickEvent attributes
-
- def line_picker(line, mouseevent):
- """
- find the points within a certain distance from the mouseclick in
- data coords and attach some extra attributes, pickx and picky
- which are the data points that were picked
- """
- if mouseevent.xdata is None: return False, dict()
- xdata = line.get_xdata()
- ydata = line.get_ydata()
- maxd = 0.05
- d = np.sqrt((xdata-mouseevent.xdata)**2. + (ydata-mouseevent.ydata)**2.)
-
- ind = np.nonzero(np.less_equal(d, maxd))
- if len(ind):
- pickx = np.take(xdata, ind)
- picky = np.take(ydata, ind)
- props = dict(ind=ind, pickx=pickx, picky=picky)
- return True, props
- else:
- return False, dict()
-
- def onpick2(event):
- print('onpick2 line:', event.pickx, event.picky)
-
- fig = figure()
- ax1 = fig.add_subplot(111)
- ax1.set_title('custom picker for line data')
- line, = ax1.plot(rand(100), rand(100), 'o', picker=line_picker)
- fig.canvas.mpl_connect('pick_event', onpick2)
-
-
- if 1: # picking on a scatter plot (matplotlib.collections.RegularPolyCollection)
-
- x, y, c, s = rand(4, 100)
- def onpick3(event):
- ind = event.ind
- print('onpick3 scatter:', ind, np.take(x, ind), np.take(y, ind))
-
- fig = figure()
- ax1 = fig.add_subplot(111)
- col = ax1.scatter(x, y, 100*s, c, picker=True)
- #fig.savefig('pscoll.eps')
- fig.canvas.mpl_connect('pick_event', onpick3)
-
- if 1: # picking images (matplotlib.image.AxesImage)
- fig = figure()
- ax1 = fig.add_subplot(111)
- im1 = ax1.imshow(rand(10,5), extent=(1,2,1,2), picker=True)
- im2 = ax1.imshow(rand(5,10), extent=(3,4,1,2), picker=True)
- im3 = ax1.imshow(rand(20,25), extent=(1,2,3,4), picker=True)
- im4 = ax1.imshow(rand(30,12), extent=(3,4,3,4), picker=True)
- ax1.axis([0,5,0,5])
-
- def onpick4(event):
- artist = event.artist
- if isinstance(artist, AxesImage):
- im = artist
- A = im.get_array()
- print('onpick4 image', A.shape)
-
- fig.canvas.mpl_connect('pick_event', onpick4)
-
-
- show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/pick_event_demo2.txt b/dev/_sources/examples/event_handling/pick_event_demo2.txt
deleted file mode 100644
index 897e6913d27..00000000000
--- a/dev/_sources/examples/event_handling/pick_event_demo2.txt
+++ /dev/null
@@ -1,57 +0,0 @@
-.. _event_handling-pick_event_demo2:
-
-event_handling example code: pick_event_demo2.py
-================================================
-
-[`source code `_]
-
-::
-
- """
- compute the mean and standard deviation (stddev) of 100 data sets and plot
- mean vs stddev. When you click on one of the mu, sigma points, plot the raw
- data from the dataset that generated the mean and stddev.
- """
- import numpy
- import matplotlib.pyplot as plt
-
-
- X = numpy.random.rand(100, 1000)
- xs = numpy.mean(X, axis=1)
- ys = numpy.std(X, axis=1)
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.set_title('click on point to plot time series')
- line, = ax.plot(xs, ys, 'o', picker=5) # 5 points tolerance
-
-
- def onpick(event):
-
- if event.artist!=line: return True
-
- N = len(event.ind)
- if not N: return True
-
-
- figi = plt.figure()
- for subplotnum, dataind in enumerate(event.ind):
- ax = figi.add_subplot(N,1,subplotnum+1)
- ax.plot(X[dataind])
- ax.text(0.05, 0.9, 'mu=%1.3f\nsigma=%1.3f'%(xs[dataind], ys[dataind]),
- transform=ax.transAxes, va='top')
- ax.set_ylim(-0.5, 1.5)
- figi.show()
- return True
-
- fig.canvas.mpl_connect('pick_event', onpick)
-
- plt.show()
-
-
-
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/pipong.txt b/dev/_sources/examples/event_handling/pipong.txt
deleted file mode 100644
index d9293826941..00000000000
--- a/dev/_sources/examples/event_handling/pipong.txt
+++ /dev/null
@@ -1,271 +0,0 @@
-.. _event_handling-pipong:
-
-event_handling example code: pipong.py
-======================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
- # A matplotlib based game of Pong illustrating one way to write interactive
- # animation which are easily ported to multiple backends
- # pipong.py was written by Paul Ivanov
-
- from __future__ import print_function
-
- import numpy as np
- import matplotlib.pyplot as plt
- from numpy.random import randn, randint
-
- instructions = """
- Player A: Player B:
- 'e' up 'i'
- 'd' down 'k'
-
- press 't' -- close these instructions
- (animation will be much faster)
- press 'a' -- add a puck
- press 'A' -- remove a puck
- press '1' -- slow down all pucks
- press '2' -- speed up all pucks
- press '3' -- slow down distractors
- press '4' -- speed up distractors
- press ' ' -- reset the first puck
- press 'n' -- toggle distractors on/off
- press 'g' -- toggle the game on/off
-
- """
-
- class Pad(object):
- def __init__(self, disp,x,y,type='l'):
- self.disp = disp
- self.x = x
- self.y = y
- self.w = .3
- self.score = 0
- self.xoffset = 0.3
- self.yoffset = 0.1
- if type=='r':
- self.xoffset *= -1.0
-
- if type=='l' or type=='r':
- self.signx = -1.0
- self.signy = 1.0
- else:
- self.signx = 1.0
- self.signy = -1.0
- def contains(self, loc):
- return self.disp.get_bbox().contains(loc.x,loc.y)
-
- class Puck(object):
- def __init__(self, disp, pad, field):
- self.vmax= .2
- self.disp = disp
- self.field = field
- self._reset(pad)
- def _reset(self,pad):
- self.x = pad.x + pad.xoffset
- if pad.y < 0:
- self.y = pad.y + pad.yoffset
- else:
- self.y = pad.y - pad.yoffset
- self.vx = pad.x - self.x
- self.vy = pad.y + pad.w/2 - self.y
- self._speedlimit()
- self._slower()
- self._slower()
- def update(self,pads):
- self.x += self.vx
- self.y += self.vy
- for pad in pads:
- if pad.contains(self):
- self.vx *= 1.2 *pad.signx
- self.vy *= 1.2 *pad.signy
- fudge = .001
- #probably cleaner with something like...if not self.field.contains(self.x, self.y):
- if self.x < 0+fudge:
- #print "player A loses"
- pads[1].score += 1;
- self._reset(pads[0])
- return True
- if self.x > 7-fudge:
- #print "player B loses"
- pads[0].score += 1;
- self._reset(pads[1])
- return True
- if self.y < -1+fudge or self.y > 1-fudge:
- self.vy *= -1.0
- # add some randomness, just to make it interesting
- self.vy -= (randn()/300.0 + 1/300.0) * np.sign(self.vy)
- self._speedlimit()
- return False
- def _slower(self):
- self.vx /= 5.0
- self.vy /= 5.0
- def _faster(self):
- self.vx *= 5.0
- self.vy *= 5.0
- def _speedlimit(self):
- if self.vx > self.vmax:
- self.vx = self.vmax
- if self.vx < -self.vmax:
- self.vx = -self.vmax
-
- if self.vy > self.vmax:
- self.vy = self.vmax
- if self.vy < -self.vmax:
- self.vy = -self.vmax
-
- class Game(object):
-
- def __init__(self, ax):
- # create the initial line
- self.ax = ax
- padAx = padBx= .50
- padAy = padBy= .30
- padBx+=6.3
- pA, = self.ax.barh(padAy,.2, height=.3,color='k', alpha=.5, edgecolor='b',lw=2,label="Player B", animated=True)
- pB, = self.ax.barh(padBy,.2, height=.3, left=padBx, color='k',alpha=.5, edgecolor='r',lw=2,label="Player A",animated=True)
-
- # distractors
- self.x = np.arange(0,2.22*np.pi,0.01)
- self.line, = self.ax.plot(self.x, np.sin(self.x),"r", animated=True, lw=4)
- self.line2, = self.ax.plot(self.x, np.cos(self.x),"g", animated=True, lw=4)
- self.line3, = self.ax.plot(self.x, np.cos(self.x),"g", animated=True, lw=4)
- self.line4, = self.ax.plot(self.x, np.cos(self.x),"r", animated=True, lw=4)
- self.centerline,= self.ax.plot([3.5,3.5], [1,-1],'k',alpha=.5, animated=True, lw=8)
- self.puckdisp = self.ax.scatter([1],[1],label='_nolegend_', s=200,c='g',alpha=.9,animated=True)
-
- self.canvas = self.ax.figure.canvas
- self.background = None
- self.cnt = 0
- self.distract = True
- self.res = 100.0
- self.on = False
- self.inst = True # show instructions from the beginning
- self.background = None
- self.pads = []
- self.pads.append( Pad(pA,0,padAy))
- self.pads.append( Pad(pB,padBx,padBy,'r'))
- self.pucks =[]
- self.i = self.ax.annotate(instructions,(.5,0.5),
- name='monospace',
- verticalalignment='center',
- horizontalalignment='center',
- multialignment='left',
- textcoords='axes fraction',animated=True )
- self.canvas.mpl_connect('key_press_event', self.key_press)
-
- def draw(self, evt):
- draw_artist = self.ax.draw_artist
- if self.background is None:
- self.background = self.canvas.copy_from_bbox(self.ax.bbox)
-
- # restore the clean slate background
- self.canvas.restore_region(self.background)
-
- # show the distractors
- if self.distract:
- self.line.set_ydata(np.sin(self.x+self.cnt/self.res))
- self.line2.set_ydata(np.cos(self.x-self.cnt/self.res))
- self.line3.set_ydata(np.tan(self.x+self.cnt/self.res))
- self.line4.set_ydata(np.tan(self.x-self.cnt/self.res))
- draw_artist(self.line)
- draw_artist(self.line2)
- draw_artist(self.line3)
- draw_artist(self.line4)
-
- # show the instructions - this is very slow
- if self.inst:
- self.ax.draw_artist(self.i)
-
- # pucks and pads
- if self.on:
- self.ax.draw_artist(self.centerline)
- for pad in self.pads:
- pad.disp.set_y(pad.y)
- pad.disp.set_x(pad.x)
- self.ax.draw_artist(pad.disp)
-
- for puck in self.pucks:
- if puck.update(self.pads):
- # we only get here if someone scored
- self.pads[0].disp.set_label(" "+ str(self.pads[0].score))
- self.pads[1].disp.set_label(" "+ str(self.pads[1].score))
- self.ax.legend(loc='center')
- self.leg = self.ax.get_legend()
- #self.leg.draw_frame(False) #don't draw the legend border
- self.leg.get_frame().set_alpha(.2)
- plt.setp(self.leg.get_texts(),fontweight='bold',fontsize='xx-large')
- self.leg.get_frame().set_facecolor('0.2')
- self.background = None
- self.ax.figure.canvas.draw()
- return True
- puck.disp.set_offsets([puck.x,puck.y])
- self.ax.draw_artist(puck.disp)
-
-
- # just redraw the axes rectangle
- self.canvas.blit(self.ax.bbox)
-
- if self.cnt==50000:
- # just so we don't get carried away
- print("...and you've been playing for too long!!!")
- plt.close()
-
- self.cnt += 1
- return True
-
- def key_press(self,event):
- if event.key == '3':
- self.res *= 5.0
- if event.key == '4':
- self.res /= 5.0
-
- if event.key == 'e':
- self.pads[0].y += .1
- if self.pads[0].y > 1 - .3:
- self.pads[0].y = 1-.3
- if event.key == 'd':
- self.pads[0].y -= .1
- if self.pads[0].y < -1:
- self.pads[0].y = -1
-
- if event.key == 'i':
- self.pads[1].y += .1
- if self.pads[1].y > 1 - .3:
- self.pads[1].y = 1-.3
- if event.key == 'k':
- self.pads[1].y -= .1
- if self.pads[1].y < -1:
- self.pads[1].y = -1
-
- if event.key == 'a':
- self.pucks.append(Puck(self.puckdisp,self.pads[randint(2)],self.ax.bbox))
- if event.key == 'A' and len(self.pucks):
- self.pucks.pop()
- if event.key == ' ' and len(self.pucks):
- self.pucks[0]._reset(self.pads[randint(2)])
- if event.key == '1':
- for p in self.pucks:
- p._slower()
- if event.key == '2':
- for p in self.pucks:
- p._faster()
-
- if event.key == 'n':
- self.distract = not self.distract
-
- if event.key == 'g':
- #self.ax.clear()
- #self.ax.grid() # seems to be necessary for qt backend
- self.on = not self.on
- if event.key == 't':
- self.inst = not self.inst
- self.i.set_visible(self.i.get_visible())
- if event.key == 'q':
- plt.close()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/poly_editor.txt b/dev/_sources/examples/event_handling/poly_editor.txt
deleted file mode 100644
index 6b25802347b..00000000000
--- a/dev/_sources/examples/event_handling/poly_editor.txt
+++ /dev/null
@@ -1,178 +0,0 @@
-.. _event_handling-poly_editor:
-
-event_handling example code: poly_editor.py
-===========================================
-
-[`source code `_]
-
-::
-
- """
- This is an example to show how to build cross-GUI applications using
- matplotlib event handling to interact with objects on the canvas
-
- """
- import numpy as np
- from matplotlib.lines import Line2D
- from matplotlib.artist import Artist
- from matplotlib.mlab import dist_point_to_segment
-
-
- class PolygonInteractor:
- """
- An polygon editor.
-
- Key-bindings
-
- 't' toggle vertex markers on and off. When vertex markers are on,
- you can move them, delete them
-
- 'd' delete the vertex under point
-
- 'i' insert a vertex at point. You must be within epsilon of the
- line connecting two existing vertices
-
- """
-
- showverts = True
- epsilon = 5 # max pixel distance to count as a vertex hit
-
- def __init__(self, ax, poly):
- if poly.figure is None:
- raise RuntimeError('You must first add the polygon to a figure or canvas before defining the interactor')
- self.ax = ax
- canvas = poly.figure.canvas
- self.poly = poly
-
- x, y = zip(*self.poly.xy)
- self.line = Line2D(x, y, marker='o', markerfacecolor='r', animated=True)
- self.ax.add_line(self.line)
- #self._update_line(poly)
-
- cid = self.poly.add_callback(self.poly_changed)
- self._ind = None # the active vert
-
- canvas.mpl_connect('draw_event', self.draw_callback)
- canvas.mpl_connect('button_press_event', self.button_press_callback)
- canvas.mpl_connect('key_press_event', self.key_press_callback)
- canvas.mpl_connect('button_release_event', self.button_release_callback)
- canvas.mpl_connect('motion_notify_event', self.motion_notify_callback)
- self.canvas = canvas
-
-
- def draw_callback(self, event):
- self.background = self.canvas.copy_from_bbox(self.ax.bbox)
- self.ax.draw_artist(self.poly)
- self.ax.draw_artist(self.line)
- self.canvas.blit(self.ax.bbox)
-
- def poly_changed(self, poly):
- 'this method is called whenever the polygon object is called'
- # only copy the artist props to the line (except visibility)
- vis = self.line.get_visible()
- Artist.update_from(self.line, poly)
- self.line.set_visible(vis) # don't use the poly visibility state
-
-
- def get_ind_under_point(self, event):
- 'get the index of the vertex under point if within epsilon tolerance'
-
- # display coords
- xy = np.asarray(self.poly.xy)
- xyt = self.poly.get_transform().transform(xy)
- xt, yt = xyt[:, 0], xyt[:, 1]
- d = np.sqrt((xt-event.x)**2 + (yt-event.y)**2)
- indseq = np.nonzero(np.equal(d, np.amin(d)))[0]
- ind = indseq[0]
-
- if d[ind]>=self.epsilon:
- ind = None
-
- return ind
-
- def button_press_callback(self, event):
- 'whenever a mouse button is pressed'
- if not self.showverts: return
- if event.inaxes==None: return
- if event.button != 1: return
- self._ind = self.get_ind_under_point(event)
-
- def button_release_callback(self, event):
- 'whenever a mouse button is released'
- if not self.showverts: return
- if event.button != 1: return
- self._ind = None
-
- def key_press_callback(self, event):
- 'whenever a key is pressed'
- if not event.inaxes: return
- if event.key=='t':
- self.showverts = not self.showverts
- self.line.set_visible(self.showverts)
- if not self.showverts: self._ind = None
- elif event.key=='d':
- ind = self.get_ind_under_point(event)
- if ind is not None:
- self.poly.xy = [tup for i,tup in enumerate(self.poly.xy) if i!=ind]
- self.line.set_data(zip(*self.poly.xy))
- elif event.key=='i':
- xys = self.poly.get_transform().transform(self.poly.xy)
- p = event.x, event.y # display coords
- for i in range(len(xys)-1):
- s0 = xys[i]
- s1 = xys[i+1]
- d = dist_point_to_segment(p, s0, s1)
- if d<=self.epsilon:
- self.poly.xy = np.array(
- list(self.poly.xy[:i]) +
- [(event.xdata, event.ydata)] +
- list(self.poly.xy[i:]))
- self.line.set_data(zip(*self.poly.xy))
- break
-
-
- self.canvas.draw()
-
- def motion_notify_callback(self, event):
- 'on mouse movement'
- if not self.showverts: return
- if self._ind is None: return
- if event.inaxes is None: return
- if event.button != 1: return
- x,y = event.xdata, event.ydata
-
- self.poly.xy[self._ind] = x,y
- self.line.set_data(zip(*self.poly.xy))
-
- self.canvas.restore_region(self.background)
- self.ax.draw_artist(self.poly)
- self.ax.draw_artist(self.line)
- self.canvas.blit(self.ax.bbox)
-
-
- if __name__ == '__main__':
- import matplotlib.pyplot as plt
- from matplotlib.patches import Polygon
-
- fig = plt.figure()
- theta = np.arange(0, 2*np.pi, 0.1)
- r = 1.5
-
- xs = r*np.cos(theta)
- ys = r*np.sin(theta)
-
- poly = Polygon(list(zip(xs, ys)), animated=True)
-
- ax = plt.subplot(111)
- ax.add_patch(poly)
- p = PolygonInteractor(ax, poly)
-
- #ax.add_line(p.line)
- ax.set_title('Click and drag a point to move it')
- ax.set_xlim((-2,2))
- ax.set_ylim((-2,2))
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/pong_gtk.txt b/dev/_sources/examples/event_handling/pong_gtk.txt
deleted file mode 100644
index 7367f71eed6..00000000000
--- a/dev/_sources/examples/event_handling/pong_gtk.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-.. _event_handling-pong_gtk:
-
-event_handling example code: pong_gtk.py
-========================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
-
- from __future__ import print_function
-
- # For detailed comments on animation and the techniques used here, see
- # the wiki entry
- # http://www.scipy.org/wikis/topical_software/MatplotlibAnimation
- import time
-
- import gtk, gobject
-
- import matplotlib
- matplotlib.use('GTKAgg')
-
- import matplotlib.pyplot as plt
- import pipong
-
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- canvas = ax.figure.canvas
-
-
- def start_anim(event):
- # gobject.idle_add(animation.draw,animation)
- gobject.timeout_add(10,animation.draw,animation)
- canvas.mpl_disconnect(start_anim.cid)
-
- animation = pipong.Game(ax)
- start_anim.cid = canvas.mpl_connect('draw_event', start_anim)
-
-
- tstart = time.time()
- plt.grid() # to ensure proper background restore
- plt.show()
- print('FPS:' , animation.cnt/(time.time()-tstart))
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/pong_qt.txt b/dev/_sources/examples/event_handling/pong_qt.txt
deleted file mode 100644
index b084a7ada58..00000000000
--- a/dev/_sources/examples/event_handling/pong_qt.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-.. _event_handling-pong_qt:
-
-event_handling example code: pong_qt.py
-=======================================
-
-[`source code `_]
-
-::
-
- # For detailed comments on animation and the techniqes used here, see
- # the wiki entry http://www.scipy.org/Cookbook/Matplotlib/Animations
-
- from __future__ import print_function
-
- import matplotlib
- matplotlib.use('QtAgg') # qt3 example
-
- from qt import *
- # Note: color-intensive applications may require a different color allocation
- # strategy.
- QApplication.setColorSpec(QApplication.NormalColor)
-
- TRUE = 1
- FALSE = 0
- ITERS = 1000
-
- import matplotlib.pyplot as plt
- import time
- import pipong
-
- class BlitQT(QObject):
- def __init__(self):
- QObject.__init__(self, None, "app")
-
- self.ax = plt.subplot(111)
- self.animation = pipong.Game(self.ax)
-
- def timerEvent(self, evt):
- self.animation.draw(evt)
-
- plt.grid() # to ensure proper background restore
-
- app = BlitQT()
- # for profiling
- app.tstart = time.time()
- app.startTimer(10)
-
- plt.show()
- print('FPS:' , app.animation.cnt/(time.time()-app.tstart))
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/resample.txt b/dev/_sources/examples/event_handling/resample.txt
deleted file mode 100644
index 7677c890aaa..00000000000
--- a/dev/_sources/examples/event_handling/resample.txt
+++ /dev/null
@@ -1,65 +0,0 @@
-.. _event_handling-resample:
-
-event_handling example code: resample.py
-========================================
-
-[`source code `_]
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
- from scikits.audiolab import wavread
-
- # A class that will downsample the data and recompute when zoomed.
- class DataDisplayDownsampler(object):
- def __init__(self, xdata, ydata):
- self.origYData = ydata
- self.origXData = xdata
- self.numpts = 3000
- self.delta = xdata[-1] - xdata[0]
-
- def resample(self, xstart, xend):
- # Very simple downsampling that takes the points within the range
- # and picks every Nth point
- mask = (self.origXData > xstart) & (self.origXData < xend)
- xdata = self.origXData[mask]
- ratio = int(xdata.size / self.numpts) + 1
- xdata = xdata[::ratio]
-
- ydata = self.origYData[mask]
- ydata = ydata[::ratio]
-
- return xdata, ydata
-
- def update(self, ax):
- # Update the line
- lims = ax.viewLim
- if np.abs(lims.width - self.delta) > 1e-8:
- self.delta = lims.width
- xstart, xend = lims.intervalx
- self.line.set_data(*self.downsample(xstart, xend))
- ax.figure.canvas.draw_idle()
-
- # Read data
- data = wavread('/usr/share/sounds/purple/receive.wav')[0]
- ydata = np.tile(data[:, 0], 100)
- xdata = np.arange(ydata.size)
-
- d = DataDisplayDownsampler(xdata, ydata)
-
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1)
-
- #Hook up the line
- xdata, ydata = d.downsample(xdata[0], xdata[-1])
- d.line, = ax.plot(xdata, ydata)
- ax.set_autoscale_on(False) # Otherwise, infinite loop
-
- # Connect for changing the view limits
- ax.callbacks.connect('xlim_changed', d.update)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/test_mouseclicks.txt b/dev/_sources/examples/event_handling/test_mouseclicks.txt
deleted file mode 100644
index 29885783357..00000000000
--- a/dev/_sources/examples/event_handling/test_mouseclicks.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-.. _event_handling-test_mouseclicks:
-
-event_handling example code: test_mouseclicks.py
-================================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
- from __future__ import print_function
-
- import matplotlib
- #matplotlib.use("WxAgg")
- #matplotlib.use("TkAgg")
- #matplotlib.use("GTKAgg")
- #matplotlib.use("QtAgg")
- #matplotlib.use("Qt4Agg")
- #matplotlib.use("CocoaAgg")
- #matplotlib.use("MacOSX")
- import matplotlib.pyplot as plt
-
- #print("***** TESTING WITH BACKEND: %s"%matplotlib.get_backend() + " *****")
-
-
- def OnClick(event):
- if event.dblclick:
- print("DBLCLICK", event)
- else:
- print("DOWN ", event)
-
-
- def OnRelease(event):
- print("UP ", event)
-
-
- fig = plt.gcf()
- cid_up = fig.canvas.mpl_connect('button_press_event', OnClick)
- cid_down = fig.canvas.mpl_connect('button_release_event', OnRelease)
-
- plt.gca().text(0.5, 0.5, "Click on the canvas to test mouse events.",
- ha="center", va="center")
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/timers.txt b/dev/_sources/examples/event_handling/timers.txt
deleted file mode 100644
index 5e9bbc37d69..00000000000
--- a/dev/_sources/examples/event_handling/timers.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-.. _event_handling-timers:
-
-event_handling example code: timers.py
-======================================
-
-[`source code `_]
-
-::
-
- # Simple example of using general timer objects. This is used to update
- # the time placed in the title of the figure.
- import matplotlib.pyplot as plt
- import numpy as np
- from datetime import datetime
-
- def update_title(axes):
- axes.set_title(datetime.now())
- axes.figure.canvas.draw()
-
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1)
-
- x = np.linspace(-3, 3)
- ax.plot(x, x*x)
-
- # Create a new timer object. Set the interval 500 milliseconds (1000 is default)
- # and tell the timer what function should be called.
- timer = fig.canvas.new_timer(interval=100)
- timer.add_callback(update_title, ax)
- timer.start()
-
- #Or could start the timer on first figure draw
- #def start_timer(evt):
- # timer.start()
- # fig.canvas.mpl_disconnect(drawid)
- #drawid = fig.canvas.mpl_connect('draw_event', start_timer)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/trifinder_event_demo.txt b/dev/_sources/examples/event_handling/trifinder_event_demo.txt
deleted file mode 100644
index 7e534e2ecce..00000000000
--- a/dev/_sources/examples/event_handling/trifinder_event_demo.txt
+++ /dev/null
@@ -1,71 +0,0 @@
-.. _event_handling-trifinder_event_demo:
-
-event_handling example code: trifinder_event_demo.py
-====================================================
-
-[`source code `_]
-
-::
-
- """
- Example showing the use of a TriFinder object. As the mouse is moved over the
- triangulation, the triangle under the cursor is highlighted and the index of
- the triangle is displayed in the plot title.
- """
- import matplotlib.pyplot as plt
- from matplotlib.tri import Triangulation
- from matplotlib.patches import Polygon
- import numpy as np
- import math
-
-
- def update_polygon(tri):
- if tri == -1:
- points = [0, 0, 0]
- else:
- points = triangulation.triangles[tri]
- xs = triangulation.x[points]
- ys = triangulation.y[points]
- polygon.set_xy(zip(xs, ys))
-
-
- def motion_notify(event):
- if event.inaxes is None:
- tri = -1
- else:
- tri = trifinder(event.xdata, event.ydata)
- update_polygon(tri)
- plt.title('In triangle %i' % tri)
- event.canvas.draw()
-
-
- # Create a Triangulation.
- n_angles = 16
- n_radii = 5
- min_radius = 0.25
- radii = np.linspace(min_radius, 0.95, n_radii)
- angles = np.linspace(0, 2*math.pi, n_angles, endpoint=False)
- angles = np.repeat(angles[..., np.newaxis], n_radii, axis=1)
- angles[:, 1::2] += math.pi / n_angles
- x = (radii*np.cos(angles)).flatten()
- y = (radii*np.sin(angles)).flatten()
- triangulation = Triangulation(x, y)
- xmid = x[triangulation.triangles].mean(axis=1)
- ymid = y[triangulation.triangles].mean(axis=1)
- mask = np.where(xmid*xmid + ymid*ymid < min_radius*min_radius, 1, 0)
- triangulation.set_mask(mask)
-
- # Use the triangulation's default TriFinder object.
- trifinder = triangulation.get_trifinder()
-
- # Setup plot and callbacks.
- plt.subplot(111, aspect='equal')
- plt.triplot(triangulation, 'bo-')
- polygon = Polygon([[0, 0], [0, 0]], facecolor='y') # dummy data for xs,ys
- update_polygon(-1)
- plt.gca().add_patch(polygon)
- plt.gcf().canvas.mpl_connect('motion_notify_event', motion_notify)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/viewlims.txt b/dev/_sources/examples/event_handling/viewlims.txt
deleted file mode 100644
index 3adc9e01fc1..00000000000
--- a/dev/_sources/examples/event_handling/viewlims.txt
+++ /dev/null
@@ -1,91 +0,0 @@
-.. _event_handling-viewlims:
-
-event_handling example code: viewlims.py
-========================================
-
-[`source code `_]
-
-::
-
- # Creates two identical panels. Zooming in on the right panel will show
- # a rectangle in the first panel, denoting the zoomed region.
- import numpy as np
- import matplotlib.pyplot as plt
- from matplotlib.patches import Rectangle
-
- # We just subclass Rectangle so that it can be called with an Axes
- # instance, causing the rectangle to update its shape to match the
- # bounds of the Axes
- class UpdatingRect(Rectangle):
- def __call__(self, ax):
- self.set_bounds(*ax.viewLim.bounds)
- ax.figure.canvas.draw_idle()
-
- # A class that will regenerate a fractal set as we zoom in, so that you
- # can actually see the increasing detail. A box in the left panel will show
- # the area to which we are zoomed.
- class MandlebrotDisplay(object):
- def __init__(self, h=500, w=500, niter=50, radius=2., power=2):
- self.height = h
- self.width = w
- self.niter = niter
- self.radius = radius
- self.power = power
-
- def __call__(self, xstart, xend, ystart, yend):
- self.x = np.linspace(xstart, xend, self.width)
- self.y = np.linspace(ystart, yend, self.height).reshape(-1,1)
- c = self.x + 1.0j * self.y
- threshold_time = np.zeros((self.height, self.width))
- z = np.zeros(threshold_time.shape, dtype=np.complex)
- mask = np.ones(threshold_time.shape, dtype=np.bool)
- for i in range(self.niter):
- z[mask] = z[mask]**self.power + c[mask]
- mask = (np.abs(z) < self.radius)
- threshold_time += mask
- return threshold_time
-
- def ax_update(self, ax):
- ax.set_autoscale_on(False) # Otherwise, infinite loop
-
- #Get the number of points from the number of pixels in the window
- dims = ax.axesPatch.get_window_extent().bounds
- self.width = int(dims[2] + 0.5)
- self.height = int(dims[2] + 0.5)
-
- #Get the range for the new area
- xstart,ystart,xdelta,ydelta = ax.viewLim.bounds
- xend = xstart + xdelta
- yend = ystart + ydelta
-
- # Update the image object with our new data and extent
- im = ax.images[-1]
- im.set_data(self.__call__(xstart, xend, ystart, yend))
- im.set_extent((xstart, xend, ystart, yend))
- ax.figure.canvas.draw_idle()
-
- md = MandlebrotDisplay()
- Z = md(-2., 0.5, -1.25, 1.25)
-
- fig = plt.figure()
- ax1 = fig.add_subplot(1, 2, 1)
- ax1.imshow(Z, origin='lower', extent=(md.x.min(), md.x.max(), md.y.min(), md.y.max()))
-
- ax2 = fig.add_subplot(1, 2, 2)
- ax2.imshow(Z, origin='lower', extent=(md.x.min(), md.x.max(), md.y.min(), md.y.max()))
-
- rect = UpdatingRect([0, 0], 0, 0, facecolor='None', edgecolor='black')
- rect.set_bounds(*ax2.viewLim.bounds)
- ax1.add_patch(rect)
-
- # Connect for changing the view limits
- ax2.callbacks.connect('xlim_changed', rect)
- ax2.callbacks.connect('ylim_changed', rect)
-
- ax2.callbacks.connect('xlim_changed', md.ax_update)
- ax2.callbacks.connect('ylim_changed', md.ax_update)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/event_handling/zoom_window.txt b/dev/_sources/examples/event_handling/zoom_window.txt
deleted file mode 100644
index ad6776098bf..00000000000
--- a/dev/_sources/examples/event_handling/zoom_window.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-.. _event_handling-zoom_window:
-
-event_handling example code: zoom_window.py
-===========================================
-
-[`source code `_]
-
-::
-
- """
- This example shows how to connect events in one window, for example, a mouse
- press, to another figure window.
-
- If you click on a point in the first window, the z and y limits of the
- second will be adjusted so that the center of the zoom in the second
- window will be the x,y coordinates of the clicked point.
-
- Note the diameter of the circles in the scatter are defined in
- points**2, so their size is independent of the zoom
- """
- from matplotlib.pyplot import figure, show
- import numpy
- figsrc = figure()
- figzoom = figure()
-
- axsrc = figsrc.add_subplot(111, xlim=(0,1), ylim=(0,1), autoscale_on=False)
- axzoom = figzoom.add_subplot(111, xlim=(0.45,0.55), ylim=(0.4,.6),
- autoscale_on=False)
- axsrc.set_title('Click to zoom')
- axzoom.set_title('zoom window')
- x,y,s,c = numpy.random.rand(4,200)
- s *= 200
-
-
- axsrc.scatter(x,y,s,c)
- axzoom.scatter(x,y,s,c)
-
- def onpress(event):
- if event.button!=1: return
- x,y = event.xdata, event.ydata
- axzoom.set_xlim(x-0.1, x+0.1)
- axzoom.set_ylim(y-0.1, y+0.1)
- figzoom.canvas.draw()
-
- figsrc.canvas.mpl_connect('button_press_event', onpress)
- show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/images_contours_and_fields/image_demo.txt b/dev/_sources/examples/images_contours_and_fields/image_demo.txt
deleted file mode 100644
index 8f68d99fe39..00000000000
--- a/dev/_sources/examples/images_contours_and_fields/image_demo.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-.. _images_contours_and_fields-image_demo:
-
-images_contours_and_fields example code: image_demo.py
-======================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/images_contours_and_fields/image_demo.py
-
-::
-
- """
- Simple demo of the imshow function.
- """
- import matplotlib.pyplot as plt
- import matplotlib.cbook as cbook
-
- image_file = cbook.get_sample_data('ada.png')
- image = plt.imread(image_file)
-
- plt.imshow(image)
- plt.axis('off') # clear x- and y-axes
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/images_contours_and_fields/image_demo_clip_path.txt b/dev/_sources/examples/images_contours_and_fields/image_demo_clip_path.txt
deleted file mode 100644
index 13918cd068c..00000000000
--- a/dev/_sources/examples/images_contours_and_fields/image_demo_clip_path.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-.. _images_contours_and_fields-image_demo_clip_path:
-
-images_contours_and_fields example code: image_demo_clip_path.py
-================================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/images_contours_and_fields/image_demo_clip_path.py
-
-::
-
- """
- Demo of image that's been clipped by a circular patch.
- """
- import matplotlib.pyplot as plt
- import matplotlib.patches as patches
- import matplotlib.cbook as cbook
-
-
- image_file = cbook.get_sample_data('grace_hopper.png')
- image = plt.imread(image_file)
-
- fig, ax = plt.subplots()
- im = ax.imshow(image)
- patch = patches.Circle((260, 200), radius=200, transform=ax.transData)
- im.set_clip_path(patch)
-
- plt.axis('off')
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/images_contours_and_fields/index.txt b/dev/_sources/examples/images_contours_and_fields/index.txt
deleted file mode 100644
index 875583ceefc..00000000000
--- a/dev/_sources/examples/images_contours_and_fields/index.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-.. _images_contours_and_fields-examples-index:
-
-##############################################
-images_contours_and_fields Examples
-##############################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- image_demo
- image_demo_clip_path
- pcolormesh_levels
- streamplot_demo_features
- streamplot_demo_masking
diff --git a/dev/_sources/examples/images_contours_and_fields/pcolormesh_levels.txt b/dev/_sources/examples/images_contours_and_fields/pcolormesh_levels.txt
deleted file mode 100644
index 0dd8f0e93f8..00000000000
--- a/dev/_sources/examples/images_contours_and_fields/pcolormesh_levels.txt
+++ /dev/null
@@ -1,66 +0,0 @@
-.. _images_contours_and_fields-pcolormesh_levels:
-
-images_contours_and_fields example code: pcolormesh_levels.py
-=============================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/images_contours_and_fields/pcolormesh_levels.py
-
-::
-
- """
- Shows how to combine Normalization and Colormap instances to draw
- "levels" in pcolor, pcolormesh and imshow type plots in a similar
- way to the levels keyword argument to contour/contourf.
-
- """
-
- import matplotlib.pyplot as plt
- from matplotlib.colors import BoundaryNorm
- from matplotlib.ticker import MaxNLocator
- import numpy as np
-
-
- # make these smaller to increase the resolution
- dx, dy = 0.05, 0.05
-
- # generate 2 2d grids for the x & y bounds
- y, x = np.mgrid[slice(1, 5 + dy, dy),
- slice(1, 5 + dx, dx)]
-
- z = np.sin(x) ** 10 + np.cos(10 + y * x) * np.cos(x)
-
- # x and y are bounds, so z should be the value *inside* those bounds.
- # Therefore, remove the last value from the z array.
- z = z[:-1, :-1]
- levels = MaxNLocator(nbins=15).tick_values(z.min(), z.max())
-
-
- # pick the desired colormap, sensible levels, and define a normalization
- # instance which takes data values and translates those into levels.
- cmap = plt.get_cmap('PiYG')
- norm = BoundaryNorm(levels, ncolors=cmap.N, clip=True)
-
- plt.subplot(2, 1, 1)
- im = plt.pcolormesh(x, y, z, cmap=cmap, norm=norm)
- plt.colorbar()
- # set the limits of the plot to the limits of the data
- plt.axis([x.min(), x.max(), y.min(), y.max()])
- plt.title('pcolormesh with levels')
-
-
-
- plt.subplot(2, 1, 2)
- # contours are *point* based plots, so convert our bound into point
- # centers
- plt.contourf(x[:-1, :-1] + dx / 2.,
- y[:-1, :-1] + dy / 2., z, levels=levels,
- cmap=cmap)
- plt.colorbar()
- plt.title('contourf with levels')
-
-
- plt.show()
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/images_contours_and_fields/streamplot_demo_features.txt b/dev/_sources/examples/images_contours_and_fields/streamplot_demo_features.txt
deleted file mode 100644
index f5ecb76f2d6..00000000000
--- a/dev/_sources/examples/images_contours_and_fields/streamplot_demo_features.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-.. _images_contours_and_fields-streamplot_demo_features:
-
-images_contours_and_fields example code: streamplot_demo_features.py
-====================================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/images_contours_and_fields/streamplot_demo_features.py
-
-::
-
- """
- Demo of the `streamplot` function.
-
- A streamplot, or streamline plot, is used to display 2D vector fields. This
- example shows a few features of the stream plot function:
-
- * Varying the color along a streamline.
- * Varying the density of streamlines.
- * Varying the line width along a stream line.
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
- Y, X = np.mgrid[-3:3:100j, -3:3:100j]
- U = -1 - X**2 + Y
- V = 1 + X - Y**2
- speed = np.sqrt(U*U + V*V)
-
- plt.streamplot(X, Y, U, V, color=U, linewidth=2, cmap=plt.cm.autumn)
- plt.colorbar()
-
- f, (ax1, ax2) = plt.subplots(ncols=2)
- ax1.streamplot(X, Y, U, V, density=[0.5, 1])
-
- lw = 5*speed/speed.max()
- ax2.streamplot(X, Y, U, V, density=0.6, color='k', linewidth=lw)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/images_contours_and_fields/streamplot_demo_masking.txt b/dev/_sources/examples/images_contours_and_fields/streamplot_demo_masking.txt
deleted file mode 100644
index 020e3ad6271..00000000000
--- a/dev/_sources/examples/images_contours_and_fields/streamplot_demo_masking.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-.. _images_contours_and_fields-streamplot_demo_masking:
-
-images_contours_and_fields example code: streamplot_demo_masking.py
-===================================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/images_contours_and_fields/streamplot_demo_masking.py
-
-::
-
- """
- Demo of the streamplot function with masking.
-
- This example shows how streamlines created by the streamplot function skips
- masked regions and NaN values.
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
- w = 3
- Y, X = np.mgrid[-w:w:100j, -w:w:100j]
- U = -1 - X**2 + Y
- V = 1 + X - Y**2
- speed = np.sqrt(U*U + V*V)
-
- mask = np.zeros(U.shape, dtype=bool)
- mask[40:60, 40:60] = 1
- U = np.ma.array(U, mask=mask)
- U[:20, :20] = np.nan
-
- plt.streamplot(X, Y, U, V, color='r')
-
- plt.imshow(~mask, extent=(-w, w, -w, w), alpha=0.5,
- interpolation='nearest', cmap=plt.cm.gray)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/index.txt b/dev/_sources/examples/index.txt
deleted file mode 100644
index 81fbeb10367..00000000000
--- a/dev/_sources/examples/index.txt
+++ /dev/null
@@ -1,60 +0,0 @@
-.. _examples-index:
-
-####################
-Matplotlib Examples
-####################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 2
-
- animation/index.rst
-
- api/index.rst
-
- axes_grid/index.rst
-
- color/index.rst
-
- event_handling/index.rst
-
- images_contours_and_fields/index.rst
-
- lines_bars_and_markers/index.rst
-
- misc/index.rst
-
- mplot3d/index.rst
-
- old_animation/index.rst
-
- pie_and_polar_charts/index.rst
-
- pylab_examples/index.rst
-
- shapes_and_collections/index.rst
-
- showcase/index.rst
-
- specialty_plots/index.rst
-
- statistics/index.rst
-
- subplots_axes_and_figures/index.rst
-
- tests/index.rst
-
- text_labels_and_annotations/index.rst
-
- ticks_and_spines/index.rst
-
- units/index.rst
-
- user_interfaces/index.rst
-
- widgets/index.rst
-
diff --git a/dev/_sources/examples/lines_bars_and_markers/barh_demo.txt b/dev/_sources/examples/lines_bars_and_markers/barh_demo.txt
deleted file mode 100644
index 14f807ced3d..00000000000
--- a/dev/_sources/examples/lines_bars_and_markers/barh_demo.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-.. _lines_bars_and_markers-barh_demo:
-
-lines_bars_and_markers example code: barh_demo.py
-=================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/lines_bars_and_markers/barh_demo.py
-
-::
-
- """
- Simple demo of a horizontal bar chart.
- """
- import matplotlib.pyplot as plt; plt.rcdefaults()
- from mpltools import style; style.use('gallery')
- import numpy as np
- import matplotlib.pyplot as plt
-
-
- # Example data
- people = ('Tom', 'Dick', 'Harry', 'Slim', 'Jim')
- y_pos = np.arange(len(people))
- performance = 3 + 10 * np.random.rand(len(people))
- error = np.random.rand(len(people))
-
- plt.barh(y_pos, performance, xerr=error, align='center', alpha=0.4)
- plt.yticks(y_pos, people)
- plt.xlabel('Performance')
- plt.title('How fast do you want to go today?')
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/lines_bars_and_markers/fill_demo.txt b/dev/_sources/examples/lines_bars_and_markers/fill_demo.txt
deleted file mode 100644
index bfe66e3bf09..00000000000
--- a/dev/_sources/examples/lines_bars_and_markers/fill_demo.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-.. _lines_bars_and_markers-fill_demo:
-
-lines_bars_and_markers example code: fill_demo.py
-=================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/lines_bars_and_markers/fill_demo.py
-
-::
-
- """
- Simple demo of the fill function.
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
-
- x = np.linspace(0, 1)
- y = np.sin(4 * np.pi * x) * np.exp(-5 * x)
-
- plt.fill(x, y, 'r')
- plt.grid(True)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/lines_bars_and_markers/fill_demo_features.txt b/dev/_sources/examples/lines_bars_and_markers/fill_demo_features.txt
deleted file mode 100644
index 6841bd176c9..00000000000
--- a/dev/_sources/examples/lines_bars_and_markers/fill_demo_features.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-.. _lines_bars_and_markers-fill_demo_features:
-
-lines_bars_and_markers example code: fill_demo_features.py
-==========================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/lines_bars_and_markers/fill_demo_features.py
-
-::
-
- """
- Demo of the fill function with a few features.
-
- In addition to the basic fill plot, this demo shows a few optional features:
-
- * Multiple curves with a single command.
- * Setting the fill color.
- * Setting the opacity (alpha value).
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
- x = np.linspace(0, 2 * np.pi, 100)
- y1 = np.sin(x)
- y2 = np.sin(3 * x)
- plt.fill(x, y1, 'b', x, y2, 'r', alpha=0.3)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/lines_bars_and_markers/index.txt b/dev/_sources/examples/lines_bars_and_markers/index.txt
deleted file mode 100644
index 7870847d026..00000000000
--- a/dev/_sources/examples/lines_bars_and_markers/index.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-.. _lines_bars_and_markers-examples-index:
-
-##############################################
-lines_bars_and_markers Examples
-##############################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- barh_demo
- fill_demo
- fill_demo_features
- line_demo_dash_control
diff --git a/dev/_sources/examples/lines_bars_and_markers/line_demo_dash_control.txt b/dev/_sources/examples/lines_bars_and_markers/line_demo_dash_control.txt
deleted file mode 100644
index ecc8e08aaa2..00000000000
--- a/dev/_sources/examples/lines_bars_and_markers/line_demo_dash_control.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-.. _lines_bars_and_markers-line_demo_dash_control:
-
-lines_bars_and_markers example code: line_demo_dash_control.py
-==============================================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/lines_bars_and_markers/line_demo_dash_control.py
-
-::
-
- """
- Demo of a simple plot with a custom dashed line.
-
- A Line object's ``set_dashes`` method allows you to specify dashes with
- a series of on/off lengths (in points).
- """
- import numpy as np
- import matplotlib.pyplot as plt
-
-
- x = np.linspace(0, 10)
- line, = plt.plot(x, np.sin(x), '--', linewidth=2)
-
- dashes = [10, 5, 100, 5] # 10 points on, 5 off, 100 on, 5 off
- line.set_dashes(dashes)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/contour_manual.txt b/dev/_sources/examples/misc/contour_manual.txt
deleted file mode 100644
index 66c60aa4039..00000000000
--- a/dev/_sources/examples/misc/contour_manual.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-.. _misc-contour_manual:
-
-misc example code: contour_manual.py
-====================================
-
-[`source code `_]
-
-::
-
- """
- Example of displaying your own contour lines and polygons using ContourSet.
- """
- import matplotlib.pyplot as plt
- from matplotlib.contour import ContourSet
- import matplotlib.cm as cm
-
- # Contour lines for each level are a list/tuple of polygons.
- lines0 = [ [[0,0],[0,4]] ]
- lines1 = [ [[2,0],[1,2],[1,3]] ]
- lines2 = [ [[3,0],[3,2]], [[3,3],[3,4]] ] # Note two lines.
-
- # Filled contours between two levels are also a list/tuple of polygons.
- # Points can be ordered clockwise or anticlockwise.
- filled01 = [ [[0,0],[0,4],[1,3],[1,2],[2,0]] ]
- filled12 = [ [[2,0],[3,0],[3,2],[1,3],[1,2]], # Note two polygons.
- [[1,4],[3,4],[3,3]] ]
-
-
- plt.figure()
-
- # Filled contours using filled=True.
- cs = ContourSet(plt.gca(), [0,1,2], [filled01, filled12], filled=True, cmap=cm.bone)
- cbar = plt.colorbar(cs)
-
- # Contour lines (non-filled).
- lines = ContourSet(plt.gca(), [0,1,2], [lines0, lines1, lines2], cmap=cm.cool,
- linewidths=3)
- cbar.add_lines(lines)
-
- plt.axis([-0.5, 3.5, -0.5, 4.5])
- plt.title('User-specified contours')
-
-
-
- # Multiple filled contour lines can be specified in a single list of polygon
- # vertices along with a list of vertex kinds (code types) as described in the
- # Path class. This is particularly useful for polygons with holes.
- # Here a code type of 1 is a MOVETO, and 2 is a LINETO.
-
- plt.figure()
- filled01 = [ [[0,0],[3,0],[3,3],[0,3],[1,1],[1,2],[2,2],[2,1]] ]
- kinds01 = [ [1,2,2,2,1,2,2,2] ]
- cs = ContourSet(plt.gca(), [0,1], [filled01], [kinds01], filled=True)
- cbar = plt.colorbar(cs)
-
- plt.axis([-0.5, 3.5, -0.5, 3.5])
- plt.title('User specified filled contours with holes')
-
- plt.show()
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/developer_commit_history.txt b/dev/_sources/examples/misc/developer_commit_history.txt
deleted file mode 100644
index 732a9ecf609..00000000000
--- a/dev/_sources/examples/misc/developer_commit_history.txt
+++ /dev/null
@@ -1,57 +0,0 @@
-.. _misc-developer_commit_history:
-
-misc example code: developer_commit_history.py
-==============================================
-
-[`source code `_]
-
-::
-
- from __future__ import print_function
- """
- report how many days it has been since each developer committed. You
- must do an
-
- svn log > log.txt
-
- and place the output next to this file before running
-
- """
- import os, datetime
-
- import matplotlib.cbook as cbook
-
- todate = cbook.todate('%Y-%m-%d')
- today = datetime.date.today()
- if not os.path.exists('log.txt'):
- print('You must place the "svn log" output into a file "log.txt"')
- raise SystemExit
-
- parse = False
-
- lastd = dict()
- for line in file('log.txt'):
- if line.startswith('--------'):
- parse = True
- continue
-
- if parse:
- parts = [part.strip() for part in line.split('|')]
- developer = parts[1]
- dateparts = parts[2].split(' ')
- ymd = todate(dateparts[0])
-
-
- if developer not in lastd:
- lastd[developer] = ymd
-
- parse = False
-
- dsu = [((today - lastdate).days, developer) for developer, lastdate in lastd.items()]
-
- dsu.sort()
- for timedelta, developer in dsu:
- print('%s : %d'%(developer, timedelta))
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/font_indexing.txt b/dev/_sources/examples/misc/font_indexing.txt
deleted file mode 100644
index af73f08c18d..00000000000
--- a/dev/_sources/examples/misc/font_indexing.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-.. _misc-font_indexing:
-
-misc example code: font_indexing.py
-===================================
-
-[`source code `_]
-
-::
-
- """
- A little example that shows how the various indexing into the font
- tables relate to one another. Mainly for mpl developers....
-
- """
- from __future__ import print_function
- import matplotlib
- from matplotlib.ft2font import FT2Font, KERNING_DEFAULT, KERNING_UNFITTED, KERNING_UNSCALED
-
-
-
- #fname = '/usr/share/fonts/sfd/FreeSans.ttf'
- fname = matplotlib.get_data_path() + '/fonts/ttf/Vera.ttf'
- font = FT2Font(fname)
- font.set_charmap(0)
-
- codes = font.get_charmap().items()
- #dsu = [(ccode, glyphind) for ccode, glyphind in codes]
- #dsu.sort()
- #for ccode, glyphind in dsu:
- # try: name = font.get_glyph_name(glyphind)
- # except RuntimeError: pass
- # else: print '% 4d % 4d %s %s'%(glyphind, ccode, hex(int(ccode)), name)
-
-
-
- # make a charname to charcode and glyphind dictionary
- coded = {}
- glyphd = {}
- for ccode, glyphind in codes:
- name = font.get_glyph_name(glyphind)
- coded[name] = ccode
- glyphd[name] = glyphind
-
- code = coded['A']
- glyph = font.load_char(code)
- #print glyph.bbox
- print(glyphd['A'], glyphd['V'], coded['A'], coded['V'])
- print('AV', font.get_kerning(glyphd['A'], glyphd['V'], KERNING_DEFAULT))
- print('AV', font.get_kerning(glyphd['A'], glyphd['V'], KERNING_UNFITTED))
- print('AV', font.get_kerning(glyphd['A'], glyphd['V'], KERNING_UNSCALED))
- print('AV', font.get_kerning(glyphd['A'], glyphd['T'], KERNING_UNSCALED))
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/ftface_props.txt b/dev/_sources/examples/misc/ftface_props.txt
deleted file mode 100644
index e9a3c2dba59..00000000000
--- a/dev/_sources/examples/misc/ftface_props.txt
+++ /dev/null
@@ -1,90 +0,0 @@
-.. _misc-ftface_props:
-
-misc example code: ftface_props.py
-==================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
-
- from __future__ import print_function
- """
- This is a demo script to show you how to use all the properties of an
- FT2Font object. These describe global font properties. For
- individual character metrices, use the Glyp object, as returned by
- load_char
- """
- import matplotlib
- from matplotlib.ft2font import FT2Font
-
- #fname = '/usr/local/share/matplotlib/VeraIt.ttf'
- fname = matplotlib.get_data_path() + '/fonts/ttf/VeraIt.ttf'
- #fname = '/usr/local/share/matplotlib/cmr10.ttf'
-
- font = FT2Font(fname)
-
- # these constants are used to access the style_flags and face_flags
- FT_FACE_FLAG_SCALABLE = 1 << 0
- FT_FACE_FLAG_FIXED_SIZES = 1 << 1
- FT_FACE_FLAG_FIXED_WIDTH = 1 << 2
- FT_FACE_FLAG_SFNT = 1 << 3
- FT_FACE_FLAG_HORIZONTAL = 1 << 4
- FT_FACE_FLAG_VERTICAL = 1 << 5
- FT_FACE_FLAG_KERNING = 1 << 6
- FT_FACE_FLAG_FAST_GLYPHS = 1 << 7
- FT_FACE_FLAG_MULTIPLE_MASTERS = 1 << 8
- FT_FACE_FLAG_GLYPH_NAMES = 1 << 9
- FT_FACE_FLAG_EXTERNAL_STREAM = 1 << 10
- FT_STYLE_FLAG_ITALIC = 1 << 0
- FT_STYLE_FLAG_BOLD = 1 << 1
-
- print('Num faces :', font.num_faces) # number of faces in file
- print('Num glyphs :', font.num_glyphs) # number of glyphs in the face
- print('Family name :', font.family_name) # face family name
- print('Syle name :', font.style_name) # face syle name
- print('PS name :', font.postscript_name) # the postscript name
- print('Num fixed :', font.num_fixed_sizes) # number of embedded bitmap in face
-
- # the following are only available if face.scalable
- if font.scalable:
- # the face global bounding box (xmin, ymin, xmax, ymax)
- print('Bbox :', font.bbox)
- # number of font units covered by the EM
- print('EM :', font.units_per_EM)
- # the ascender in 26.6 units
- print('Ascender :', font.ascender)
- # the descender in 26.6 units
- print('Descender :', font.descender)
- # the height in 26.6 units
- print('Height :', font.height)
- # maximum horizontal cursor advance
- print('Max adv width :', font.max_advance_width)
- # same for vertical layout
- print('Max adv height :', font.max_advance_height)
- # vertical position of the underline bar
- print('Underline pos :', font.underline_position)
- # vertical thickness of the underline
- print('Underline thickness :', font.underline_thickness)
-
- print('Italics :', font.style_flags & FT_STYLE_FLAG_ITALIC != 0)
- print('Bold :', font.style_flags & FT_STYLE_FLAG_BOLD != 0)
- print('Scalable :', font.style_flags & FT_FACE_FLAG_SCALABLE != 0)
- print('Fixed sizes :', font.style_flags & FT_FACE_FLAG_FIXED_SIZES != 0)
- print('Fixed width :', font.style_flags & FT_FACE_FLAG_FIXED_WIDTH != 0)
- print('SFNT :', font.style_flags & FT_FACE_FLAG_SFNT != 0)
- print('Horizontal :', font.style_flags & FT_FACE_FLAG_HORIZONTAL != 0)
- print('Vertical :', font.style_flags & FT_FACE_FLAG_VERTICAL != 0)
- print('Kerning :', font.style_flags & FT_FACE_FLAG_KERNING != 0)
- print('Fast glyphs :', font.style_flags & FT_FACE_FLAG_FAST_GLYPHS != 0)
- print('Mult. masters :', font.style_flags & FT_FACE_FLAG_MULTIPLE_MASTERS != 0)
- print('Glyph names :', font.style_flags & FT_FACE_FLAG_GLYPH_NAMES != 0)
-
- print(dir(font))
-
- cmap = font.get_charmap()
- print(font.get_kerning)
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/image_thumbnail.txt b/dev/_sources/examples/misc/image_thumbnail.txt
deleted file mode 100644
index 10394655c8d..00000000000
--- a/dev/_sources/examples/misc/image_thumbnail.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-.. _misc-image_thumbnail:
-
-misc example code: image_thumbnail.py
-=====================================
-
-[`source code `_]
-
-::
-
- """
- You can use matplotlib to generate thumbnails from existing images.
- matplotlib natively supports PNG files on the input side, and other
- image types transparently if your have PIL installed
- """
-
- from __future__ import print_function
- # build thumbnails of all images in a directory
- import sys, os, glob
- import matplotlib.image as image
-
-
- if len(sys.argv)!=2:
- print('Usage: python %s IMAGEDIR'%__file__)
- raise SystemExit
- indir = sys.argv[1]
- if not os.path.isdir(indir):
- print('Could not find input directory "%s"'%indir)
- raise SystemExit
-
- outdir = 'thumbs'
- if not os.path.exists(outdir):
- os.makedirs(outdir)
-
- for fname in glob.glob(os.path.join(indir, '*.png')):
- basedir, basename = os.path.split(fname)
- outfile = os.path.join(outdir, basename)
- fig = image.thumbnail(fname, outfile, scale=0.15)
- print('saved thumbnail of %s to %s'%(fname, outfile))
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/index.txt b/dev/_sources/examples/misc/index.txt
deleted file mode 100644
index 7a3ec2566e9..00000000000
--- a/dev/_sources/examples/misc/index.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-.. _misc-examples-index:
-
-##############################################
-misc Examples
-##############################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- contour_manual
- developer_commit_history
- font_indexing
- ftface_props
- image_thumbnail
- longshort
- multiprocess
- rasterization_demo
- rc_traits
- rec_groupby_demo
- rec_join_demo
- sample_data_demo
- svg_filter_line
- svg_filter_pie
- tight_bbox_test
diff --git a/dev/_sources/examples/misc/longshort.txt b/dev/_sources/examples/misc/longshort.txt
deleted file mode 100644
index 19b3ee86b09..00000000000
--- a/dev/_sources/examples/misc/longshort.txt
+++ /dev/null
@@ -1,59 +0,0 @@
-.. _misc-longshort:
-
-misc example code: longshort.py
-===============================
-
-[`source code `_]
-
-::
-
- """
- Illustrate the rec array utility funcitons by loading prices from a
- csv file, computing the daily returns, appending the results to the
- record arrays, joining on date
- """
- import urllib
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.mlab as mlab
-
- # grab the price data off yahoo
- u1 = urllib.urlretrieve('http://ichart.finance.yahoo.com/table.csv?s=AAPL&d=9&e=14&f=2008&g=d&a=8&b=7&c=1984&ignore=.csv')
- u2 = urllib.urlretrieve('http://ichart.finance.yahoo.com/table.csv?s=GOOG&d=9&e=14&f=2008&g=d&a=8&b=7&c=1984&ignore=.csv')
-
- # load the CSV files into record arrays
- r1 = mlab.csv2rec(file(u1[0]))
- r2 = mlab.csv2rec(file(u2[0]))
-
- # compute the daily returns and add these columns to the arrays
- gains1 = np.zeros_like(r1.adj_close)
- gains2 = np.zeros_like(r2.adj_close)
- gains1[1:] = np.diff(r1.adj_close)/r1.adj_close[:-1]
- gains2[1:] = np.diff(r2.adj_close)/r2.adj_close[:-1]
- r1 = mlab.rec_append_fields(r1, 'gains', gains1)
- r2 = mlab.rec_append_fields(r2, 'gains', gains2)
-
- # now join them by date; the default postfixes are 1 and 2. The
- # default jointype is inner so it will do an intersection of dates and
- # drop the dates in AAPL which occurred before GOOG started trading in
- # 2004. r1 and r2 are reverse ordered by date since Yahoo returns
- # most recent first in the CSV files, but rec_join will sort by key so
- # r below will be properly sorted
- r = mlab.rec_join('date', r1, r2)
-
-
- # long appl, short goog
- g = r.gains1-r.gains2
- tr = (1+g).cumprod() # the total return
-
- # plot the return
- fig = plt.figure()
- ax = fig.add_subplot(111)
- ax.plot(r.date, tr)
- ax.set_title('total return: long APPL, short GOOG')
- ax.grid()
- fig.autofmt_xdate()
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/multiprocess.txt b/dev/_sources/examples/misc/multiprocess.txt
deleted file mode 100644
index 68a95f3e9c5..00000000000
--- a/dev/_sources/examples/misc/multiprocess.txt
+++ /dev/null
@@ -1,103 +0,0 @@
-.. _misc-multiprocess:
-
-misc example code: multiprocess.py
-==================================
-
-[`source code `_]
-
-::
-
- #Demo of using multiprocessing for generating data in one process and plotting
- #in another.
- #Written by Robert Cimrman
- #Requires >= Python 2.6 for the multiprocessing module or having the
- #standalone processing module installed
-
- from __future__ import print_function
- import time
- try:
- from multiprocessing import Process, Pipe
- except ImportError:
- from processing import Process, Pipe
- import numpy as np
-
- import matplotlib
- matplotlib.use('GtkAgg')
- import matplotlib.pyplot as plt
- import gobject
-
- class ProcessPlotter(object):
-
- def __init__(self):
- self.x = []
- self.y = []
-
- def terminate(self):
- plt.close('all')
-
- def poll_draw(self):
-
- def call_back():
- while 1:
- if not self.pipe.poll():
- break
-
- command = self.pipe.recv()
-
- if command is None:
- self.terminate()
- return False
-
- else:
- self.x.append(command[0])
- self.y.append(command[1])
- self.ax.plot(self.x, self.y, 'ro')
-
- self.fig.canvas.draw()
- return True
-
- return call_back
-
- def __call__(self, pipe):
- print('starting plotter...')
-
- self.pipe = pipe
- self.fig = plt.figure()
-
- self.ax = self.fig.add_subplot(111)
- self.gid = gobject.timeout_add(1000, self.poll_draw())
-
- print('...done')
- plt.show()
-
-
- class NBPlot(object):
- def __init__(self):
- self.plot_pipe, plotter_pipe = Pipe()
- self.plotter = ProcessPlotter()
- self.plot_process = Process(target = self.plotter,
- args = (plotter_pipe,))
- self.plot_process.daemon = True
- self.plot_process.start()
-
- def plot(self, finished=False):
- send = self.plot_pipe.send
- if finished:
- send(None)
- else:
- data = np.random.random(2)
- send(data)
-
- def main():
- pl = NBPlot()
- for ii in range(10):
- pl.plot()
- time.sleep(0.5)
- raw_input('press Enter...')
- pl.plot(finished=True)
-
- if __name__ == '__main__':
- main()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/rasterization_demo.txt b/dev/_sources/examples/misc/rasterization_demo.txt
deleted file mode 100644
index ae505978c21..00000000000
--- a/dev/_sources/examples/misc/rasterization_demo.txt
+++ /dev/null
@@ -1,65 +0,0 @@
-.. _misc-rasterization_demo:
-
-misc example code: rasterization_demo.py
-========================================
-
-[`source code `_]
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
-
- d = np.arange(100).reshape(10, 10)
- x, y = np.meshgrid(np.arange(11), np.arange(11))
-
- theta = 0.25*np.pi
- xx = x*np.cos(theta) - y*np.sin(theta)
- yy = x*np.sin(theta) + y*np.cos(theta)
-
- ax1 = plt.subplot(221)
- ax1.set_aspect(1)
- ax1.pcolormesh(xx, yy, d)
- ax1.set_title("No Rasterization")
-
- ax2 = plt.subplot(222)
- ax2.set_aspect(1)
- ax2.set_title("Rasterization")
-
- m = ax2.pcolormesh(xx, yy, d)
- m.set_rasterized(True)
-
- ax3 = plt.subplot(223)
- ax3.set_aspect(1)
- ax3.pcolormesh(xx, yy, d)
- ax3.text(0.5, 0.5, "Text", alpha=0.2,
- va="center", ha="center", size=50, transform=ax3.transAxes)
-
- ax3.set_title("No Rasterization")
-
-
- ax4 = plt.subplot(224)
- ax4.set_aspect(1)
- m = ax4.pcolormesh(xx, yy, d)
- m.set_zorder(-20)
-
- ax4.text(0.5, 0.5, "Text", alpha=0.2,
- zorder=-15,
- va="center", ha="center", size=50, transform=ax4.transAxes)
-
- ax4.set_rasterization_zorder(-10)
-
- ax4.set_title("Rasterization z$<-10$")
-
-
- # ax2.title.set_rasterized(True) # should display a warning
-
- plt.savefig("test_rasterization.pdf", dpi=150)
- plt.savefig("test_rasterization.eps", dpi=150)
-
- if not plt.rcParams["text.usetex"]:
- plt.savefig("test_rasterization.svg", dpi=150)
- # svg backend currently ignores the dpi
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/rc_traits.txt b/dev/_sources/examples/misc/rc_traits.txt
deleted file mode 100644
index c8e583e9581..00000000000
--- a/dev/_sources/examples/misc/rc_traits.txt
+++ /dev/null
@@ -1,209 +0,0 @@
-.. _misc-rc_traits:
-
-misc example code: rc_traits.py
-===============================
-
-[`source code `_]
-
-::
-
- # Here is some example code showing how to define some representative
- # rc properties and construct a matplotlib artist using traits.
- # matplotlib does not ship with enthought.traits, so you will need to
- # install it separately.
-
- from __future__ import print_function
-
- import sys, os, re
- import traits.api as traits
- from matplotlib.cbook import is_string_like
- from matplotlib.artist import Artist
-
- doprint = True
- flexible_true_trait = traits.Trait(
- True,
- { 'true': True, 't': True, 'yes': True, 'y': True, 'on': True, True: True,
- 'false': False, 'f': False, 'no': False, 'n': False, 'off': False, False: False
- } )
- flexible_false_trait = traits.Trait( False, flexible_true_trait )
-
- colors = {
- 'c' : '#00bfbf',
- 'b' : '#0000ff',
- 'g' : '#008000',
- 'k' : '#000000',
- 'm' : '#bf00bf',
- 'r' : '#ff0000',
- 'w' : '#ffffff',
- 'y' : '#bfbf00',
- 'gold' : '#FFD700',
- 'peachpuff' : '#FFDAB9',
- 'navajowhite' : '#FFDEAD',
- }
-
- def hex2color(s):
- "Convert hex string (like html uses, eg, #efefef) to a r,g,b tuple"
- return tuple([int(n, 16)/255.0 for n in (s[1:3], s[3:5], s[5:7])])
-
- class RGBA(traits.HasTraits):
- # r,g,b,a in the range 0-1 with default color 0,0,0,1 (black)
- r = traits.Range(0., 1., 0.)
- g = traits.Range(0., 1., 0.)
- b = traits.Range(0., 1., 0.)
- a = traits.Range(0., 1., 1.)
- def __init__(self, r=0., g=0., b=0., a=1.):
- self.r = r
- self.g = g
- self.b = b
- self.a = a
- def __repr__(self):
- return 'r,g,b,a = (%1.2f, %1.2f, %1.2f, %1.2f)'%\
- (self.r, self.g, self.b, self.a)
-
- def tuple_to_rgba(ob, name, val):
- tup = [float(x) for x in val]
- if len(tup)==3:
- r,g,b = tup
- return RGBA(r,g,b)
- elif len(tup)==4:
- r,g,b,a = tup
- return RGBA(r,g,b,a)
- else:
- raise ValueError
- tuple_to_rgba.info = 'a RGB or RGBA tuple of floats'
-
- def hex_to_rgba(ob, name, val):
- rgx = re.compile('^#[0-9A-Fa-f]{6}$')
-
- if not is_string_like(val):
- raise TypeError
- if rgx.match(val) is None:
- raise ValueError
- r,g,b = hex2color(val)
- return RGBA(r,g,b,1.0)
- hex_to_rgba.info = 'a hex color string'
-
- def colorname_to_rgba(ob, name, val):
- hex = colors[val.lower()]
- r,g,b = hex2color(hex)
- return RGBA(r,g,b,1.0)
- colorname_to_rgba.info = 'a named color'
-
- def float_to_rgba(ob, name, val):
- val = float(val)
- return RGBA(val, val, val, 1.)
- float_to_rgba.info = 'a grayscale intensity'
-
-
-
- Color = traits.Trait(RGBA(), float_to_rgba, colorname_to_rgba, RGBA,
- hex_to_rgba, tuple_to_rgba)
-
- def file_exists(ob, name, val):
- fh = file(val, 'r')
- return val
-
- def path_exists(ob, name, val):
- os.path.exists(val)
- linestyles = ('-', '--', '-.', ':', 'steps', 'None')
- TICKLEFT, TICKRIGHT, TICKUP, TICKDOWN = range(4)
- linemarkers = (None, '.', ',', 'o', '^', 'v', '<', '>', 's',
- '+', 'x', 'd', 'D', '|', '_', 'h', 'H',
- 'p', '1', '2', '3', '4',
- TICKLEFT,
- TICKRIGHT,
- TICKUP,
- TICKDOWN,
- 'None'
- )
-
- class LineRC(traits.HasTraits):
- linewidth = traits.Float(0.5)
- linestyle = traits.Trait(*linestyles)
- color = Color
- marker = traits.Trait(*linemarkers)
- markerfacecolor = Color
- markeredgecolor = Color
- markeredgewidth = traits.Float(0.5)
- markersize = traits.Float(6)
- antialiased = flexible_true_trait
- data_clipping = flexible_false_trait
-
- class PatchRC(traits.HasTraits):
- linewidth = traits.Float(1.0)
- facecolor = Color
- edgecolor = Color
- antialiased = flexible_true_trait
-
- timezones = 'UTC', 'US/Central', 'ES/Eastern' # fixme: and many more
- backends = ('GTKAgg', 'Cairo', 'FltkAgg', 'GDK', 'GTK', 'Agg',
- 'GTKCairo', 'PS', 'SVG', 'Template', 'TkAgg',
- 'WX')
-
- class RC(traits.HasTraits):
- backend = traits.Trait(*backends)
- interactive = flexible_false_trait
- toolbar = traits.Trait('toolbar2', 'classic', None)
- timezone = traits.Trait(*timezones)
- lines = traits.Trait(LineRC())
- patch = traits.Trait(PatchRC())
-
- rc = RC()
- rc.lines.color = 'r'
- if doprint:
- print('RC')
- rc.print_traits()
- print('RC lines')
- rc.lines.print_traits()
- print('RC patches')
- rc.patch.print_traits()
-
-
- class Patch(Artist, traits.HasTraits):
- linewidth = traits.Float(0.5)
- facecolor = Color
- fc = facecolor
- edgecolor = Color
- fill = flexible_true_trait
- def __init__(self,
- edgecolor=None,
- facecolor=None,
- linewidth=None,
- antialiased = None,
- fill=1,
- **kwargs
- ):
- Artist.__init__(self)
-
- if edgecolor is None: edgecolor = rc.patch.edgecolor
- if facecolor is None: facecolor = rc.patch.facecolor
- if linewidth is None: linewidth = rc.patch.linewidth
- if antialiased is None: antialiased = rc.patch.antialiased
-
- self.edgecolor = edgecolor
- self.facecolor = facecolor
- self.linewidth = linewidth
- self.antialiased = antialiased
- self.fill = fill
-
-
- p = Patch()
- p.facecolor = '#bfbf00'
- p.edgecolor = 'gold'
- p.facecolor = (1,.5,.5,.25)
- p.facecolor = 0.25
- p.fill = 'f'
- print('p.facecolor', type(p.facecolor), p.facecolor)
- print('p.fill', type(p.fill), p.fill)
- if p.fill_: print('fill')
- else: print('no fill')
- if doprint:
- print()
- print('Patch')
- p.print_traits()
-
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/rec_groupby_demo.txt b/dev/_sources/examples/misc/rec_groupby_demo.txt
deleted file mode 100644
index 692eb1f87a1..00000000000
--- a/dev/_sources/examples/misc/rec_groupby_demo.txt
+++ /dev/null
@@ -1,75 +0,0 @@
-.. _misc-rec_groupby_demo:
-
-misc example code: rec_groupby_demo.py
-======================================
-
-[`source code `_]
-
-::
-
- from __future__ import print_function
- import numpy as np
- import matplotlib.mlab as mlab
- import matplotlib.cbook as cbook
-
- datafile = cbook.get_sample_data('aapl.csv', asfileobj=False)
- print('loading', datafile)
- r = mlab.csv2rec(datafile)
- r.sort()
-
- def daily_return(prices):
- 'an array of daily returns from price array'
- g = np.zeros_like(prices)
- g[1:] = (prices[1:]-prices[:-1])/prices[:-1]
- return g
-
- def volume_code(volume):
- 'code the continuous volume data categorically'
- ind = np.searchsorted([1e5,1e6, 5e6,10e6, 1e7], volume)
- return ind
-
- # a list of (dtype_name, summary_function, output_dtype_name).
- # rec_summarize will call on each function on the indicated recarray
- # attribute, and the result assigned to output name in the return
- # record array.
- summaryfuncs = (
- ('date', lambda x: [thisdate.year for thisdate in x], 'years'),
- ('date', lambda x: [thisdate.month for thisdate in x], 'months'),
- ('date', lambda x: [thisdate.weekday() for thisdate in x], 'weekday'),
- ('adj_close', daily_return, 'dreturn'),
- ('volume', volume_code, 'volcode'),
- )
-
- rsum = mlab.rec_summarize(r, summaryfuncs)
-
- # stats is a list of (dtype_name, function, output_dtype_name).
- # rec_groupby will summarize the attribute identified by the
- # dtype_name over the groups in the groupby list, and assign the
- # result to the output_dtype_name
- stats = (
- ('dreturn', len, 'rcnt'),
- ('dreturn', np.mean, 'rmean'),
- ('dreturn', np.median, 'rmedian'),
- ('dreturn', np.std, 'rsigma'),
- )
-
- # you can summarize over a single variable, like years or months
- print('summary by years')
- ry = mlab.rec_groupby(rsum, ('years',), stats)
- print(mlab. rec2txt(ry))
-
- print('summary by months')
- rm = mlab.rec_groupby(rsum, ('months',), stats)
- print(mlab.rec2txt(rm))
-
- # or over multiple variables like years and months
- print('summary by year and month')
- rym = mlab.rec_groupby(rsum, ('years','months'), stats)
- print(mlab.rec2txt(rym))
-
- print('summary by volume')
- rv = mlab.rec_groupby(rsum, ('volcode',), stats)
- print(mlab.rec2txt(rv))
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/rec_join_demo.txt b/dev/_sources/examples/misc/rec_join_demo.txt
deleted file mode 100644
index 34f2c008d21..00000000000
--- a/dev/_sources/examples/misc/rec_join_demo.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-.. _misc-rec_join_demo:
-
-misc example code: rec_join_demo.py
-===================================
-
-[`source code `_]
-
-::
-
- from __future__ import print_function
- import numpy as np
- import matplotlib.mlab as mlab
- import matplotlib.cbook as cbook
-
- datafile = cbook.get_sample_data('aapl.csv', asfileobj=False)
- print('loading', datafile)
- r = mlab.csv2rec(datafile)
-
- r.sort()
- r1 = r[-10:]
-
- # Create a new array
- r2 = np.empty(12, dtype=[('date', '|O4'), ('high', np.float),
- ('marker', np.float)])
- r2 = r2.view(np.recarray)
- r2.date = r.date[-17:-5]
- r2.high = r.high[-17:-5]
- r2.marker = np.arange(12)
-
- print("r1:")
- print(mlab.rec2txt(r1))
- print("r2:")
- print(mlab.rec2txt(r2))
-
- defaults = {'marker':-1, 'close':np.NaN, 'low':-4444.}
-
- for s in ('inner', 'outer', 'leftouter'):
- rec = mlab.rec_join(['date', 'high'], r1, r2,
- jointype=s, defaults=defaults)
- print("\n%sjoin :\n%s" % (s, mlab.rec2txt(rec)))
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/sample_data_demo.txt b/dev/_sources/examples/misc/sample_data_demo.txt
deleted file mode 100644
index 66ab7c5965b..00000000000
--- a/dev/_sources/examples/misc/sample_data_demo.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-.. _misc-sample_data_demo:
-
-misc example code: sample_data_demo.py
-======================================
-
-[`source code `_]
-
-::
-
- """
- Grab mpl data from the ~/.matplotlib/sample_data cache if it exists, else
- fetch it from github and cache it
- """
- from __future__ import print_function
- import matplotlib.cbook as cbook
- import matplotlib.pyplot as plt
- fname = cbook.get_sample_data('ada.png', asfileobj=False)
-
- print('fname', fname)
- im = plt.imread(fname)
- plt.imshow(im)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/svg_filter_line.txt b/dev/_sources/examples/misc/svg_filter_line.txt
deleted file mode 100644
index b17d5cc14c6..00000000000
--- a/dev/_sources/examples/misc/svg_filter_line.txt
+++ /dev/null
@@ -1,98 +0,0 @@
-.. _misc-svg_filter_line:
-
-misc example code: svg_filter_line.py
-=====================================
-
-[`source code `_]
-
-::
-
- """
- Demonstrate SVG filtering effects which might be used with mpl.
-
- Note that the filtering effects are only effective if your svg rederer
- support it.
- """
-
- from __future__ import print_function
- import matplotlib
-
- matplotlib.use("Svg")
-
- import matplotlib.pyplot as plt
- import matplotlib.transforms as mtransforms
-
- fig1 = plt.figure()
- ax = fig1.add_axes([0.1, 0.1, 0.8, 0.8])
-
- # draw lines
- l1, = ax.plot([0.1, 0.5, 0.9], [0.1, 0.9, 0.5], "bo-",
- mec="b", lw=5, ms=10, label="Line 1")
- l2, = ax.plot([0.1, 0.5, 0.9], [0.5, 0.2, 0.7], "rs-",
- mec="r", lw=5, ms=10, color="r", label="Line 2")
-
-
- for l in [l1, l2]:
-
- # draw shadows with same lines with slight offset and gray colors.
-
- xx = l.get_xdata()
- yy = l.get_ydata()
- shadow, = ax.plot(xx, yy)
- shadow.update_from(l)
-
- # adjust color
- shadow.set_color("0.2")
- # adjust zorder of the shadow lines so that it is drawn below the
- # original lines
- shadow.set_zorder(l.get_zorder()-0.5)
-
- # offset transform
- ot = mtransforms.offset_copy(l.get_transform(), fig1,
- x=4.0, y=-6.0, units='points')
-
- shadow.set_transform(ot)
-
- # set the id for a later use
- shadow.set_gid(l.get_label()+"_shadow")
-
-
- ax.set_xlim(0., 1.)
- ax.set_ylim(0., 1.)
-
- # save the figure as a string in the svg format.
- from StringIO import StringIO
- f = StringIO()
- plt.savefig(f, format="svg")
-
-
- import xml.etree.cElementTree as ET
-
- # filter definition for a gaussian blur
- filter_def = """
-
-
-
-
-
- """
-
-
- # read in the saved svg
- tree, xmlid = ET.XMLID(f.getvalue())
-
- # insert the filter definition in the svg dom tree.
- tree.insert(0, ET.XML(filter_def))
-
- for l in [l1, l2]:
- # pick up the svg element with given id
- shadow = xmlid[l.get_label()+"_shadow"]
- # apply shdow filter
- shadow.set("filter",'url(#dropshadow)')
-
- fn = "svg_filter_line.svg"
- print("Saving '%s'" % fn)
- ET.ElementTree(tree).write(fn)
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/svg_filter_pie.txt b/dev/_sources/examples/misc/svg_filter_pie.txt
deleted file mode 100644
index 4faebea0023..00000000000
--- a/dev/_sources/examples/misc/svg_filter_pie.txt
+++ /dev/null
@@ -1,107 +0,0 @@
-.. _misc-svg_filter_pie:
-
-misc example code: svg_filter_pie.py
-====================================
-
-[`source code `_]
-
-::
-
- """
- Demonstrate SVG filtering effects which might be used with mpl.
- The pie chart drawing code is borrowed from pie_demo.py
-
- Note that the filtering effects are only effective if your svg rederer
- support it.
- """
-
-
- import matplotlib
- matplotlib.use("Svg")
-
- import matplotlib.pyplot as plt
- from matplotlib.patches import Shadow
-
- # make a square figure and axes
- fig1 = plt.figure(1, figsize=(6,6))
- ax = fig1.add_axes([0.1, 0.1, 0.8, 0.8])
-
- labels = 'Frogs', 'Hogs', 'Dogs', 'Logs'
- fracs = [15,30,45, 10]
-
- explode=(0, 0.05, 0, 0)
-
- # We want to draw the shadow for each pie but we will not use "shadow"
- # option as it does'n save the references to the shadow patches.
- pies = ax.pie(fracs, explode=explode, labels=labels, autopct='%1.1f%%')
-
- for w in pies[0]:
- # set the id with the label.
- w.set_gid(w.get_label())
-
- # we don't want to draw the edge of the pie
- w.set_ec("none")
-
- for w in pies[0]:
- # create shadow patch
- s = Shadow(w, -0.01, -0.01)
- s.set_gid(w.get_gid()+"_shadow")
- s.set_zorder(w.get_zorder() - 0.1)
- ax.add_patch(s)
-
-
- # save
- from StringIO import StringIO
- f = StringIO()
- plt.savefig(f, format="svg")
-
- import xml.etree.cElementTree as ET
-
-
- # filter definition for shadow using a gaussian blur
- # and lighteneing effect.
- # The lightnening filter is copied from http://www.w3.org/TR/SVG/filters.html
-
- # I tested it with Inkscape and Firefox3. "Gaussian blur" is supported
- # in both, but the lightnening effect only in the inkscape. Also note
- # that, inkscape's exporting also may not support it.
-
- filter_def = """
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- """
-
-
- tree, xmlid = ET.XMLID(f.getvalue())
-
- # insert the filter definition in the svg dom tree.
- tree.insert(0, ET.XML(filter_def))
-
- for i, pie_name in enumerate(labels):
- pie = xmlid[pie_name]
- pie.set("filter", 'url(#MyFilter)')
-
- shadow = xmlid[pie_name + "_shadow"]
- shadow.set("filter",'url(#dropshadow)')
-
- fn = "svg_filter_pie.svg"
- print "Saving '%s'" % fn
- ET.ElementTree(tree).write(fn)
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/misc/tight_bbox_test.txt b/dev/_sources/examples/misc/tight_bbox_test.txt
deleted file mode 100644
index b797b9806b8..00000000000
--- a/dev/_sources/examples/misc/tight_bbox_test.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-.. _misc-tight_bbox_test:
-
-misc example code: tight_bbox_test.py
-=====================================
-
-[`source code `_]
-
-::
-
- from __future__ import print_function
- import matplotlib.pyplot as plt
- import numpy as np
-
- ax = plt.axes([0.1, 0.3, 0.5, 0.5])
-
- ax.pcolormesh(np.array([[1,2],[3,4]]))
- plt.yticks([0.5, 1.5], ["long long tick label",
- "tick label"])
- plt.ylabel("My y-label")
- plt.title("Check saved figures for their bboxes")
- for ext in ["png", "pdf", "svg", "svgz", "eps"]:
- print("saving tight_bbox_test.%s" % (ext,))
- plt.savefig("tight_bbox_test.%s" % (ext,), bbox_inches="tight")
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/2dcollections3d_demo.txt b/dev/_sources/examples/mplot3d/2dcollections3d_demo.txt
deleted file mode 100644
index 025c751e081..00000000000
--- a/dev/_sources/examples/mplot3d/2dcollections3d_demo.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-.. _mplot3d-2dcollections3d_demo:
-
-mplot3d example code: 2dcollections3d_demo.py
-=============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/2dcollections3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- import numpy as np
- import matplotlib.pyplot as plt
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
-
- x = np.linspace(0, 1, 100)
- y = np.sin(x * 2 * np.pi) / 2 + 0.5
- ax.plot(x, y, zs=0, zdir='z', label='zs=0, zdir=z')
-
- colors = ('r', 'g', 'b', 'k')
- for c in colors:
- x = np.random.sample(20)
- y = np.random.sample(20)
- ax.scatter(x, y, 0, zdir='y', c=c)
-
- ax.legend()
- ax.set_xlim3d(0, 1)
- ax.set_ylim3d(0, 1)
- ax.set_zlim3d(0, 1)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/bars3d_demo.txt b/dev/_sources/examples/mplot3d/bars3d_demo.txt
deleted file mode 100644
index a3df058c6e0..00000000000
--- a/dev/_sources/examples/mplot3d/bars3d_demo.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-.. _mplot3d-bars3d_demo:
-
-mplot3d example code: bars3d_demo.py
-====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/bars3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib.pyplot as plt
- import numpy as np
-
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
- for c, z in zip(['r', 'g', 'b', 'y'], [30, 20, 10, 0]):
- xs = np.arange(20)
- ys = np.random.rand(20)
-
- # You can provide either a single color or an array. To demonstrate this,
- # the first bar of each set will be colored cyan.
- cs = [c] * len(xs)
- cs[0] = 'c'
- ax.bar(xs, ys, zs=z, zdir='y', color=cs, alpha=0.8)
-
- ax.set_xlabel('X')
- ax.set_ylabel('Y')
- ax.set_zlabel('Z')
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/contour3d_demo.txt b/dev/_sources/examples/mplot3d/contour3d_demo.txt
deleted file mode 100644
index ad6fccc7d7e..00000000000
--- a/dev/_sources/examples/mplot3d/contour3d_demo.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-.. _mplot3d-contour3d_demo:
-
-mplot3d example code: contour3d_demo.py
-=======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/contour3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import axes3d
- import matplotlib.pyplot as plt
- from matplotlib import cm
-
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
- X, Y, Z = axes3d.get_test_data(0.05)
- cset = ax.contour(X, Y, Z, cmap=cm.coolwarm)
- ax.clabel(cset, fontsize=9, inline=1)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/contour3d_demo2.txt b/dev/_sources/examples/mplot3d/contour3d_demo2.txt
deleted file mode 100644
index 2e6cb6fe56e..00000000000
--- a/dev/_sources/examples/mplot3d/contour3d_demo2.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-.. _mplot3d-contour3d_demo2:
-
-mplot3d example code: contour3d_demo2.py
-========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/contour3d_demo2.py
-
-::
-
- from mpl_toolkits.mplot3d import axes3d
- import matplotlib.pyplot as plt
- from matplotlib import cm
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- X, Y, Z = axes3d.get_test_data(0.05)
- cset = ax.contour(X, Y, Z, extend3d=True, cmap=cm.coolwarm)
- ax.clabel(cset, fontsize=9, inline=1)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/contour3d_demo3.txt b/dev/_sources/examples/mplot3d/contour3d_demo3.txt
deleted file mode 100644
index 22afcc24dc3..00000000000
--- a/dev/_sources/examples/mplot3d/contour3d_demo3.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-.. _mplot3d-contour3d_demo3:
-
-mplot3d example code: contour3d_demo3.py
-========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/contour3d_demo3.py
-
-::
-
- from mpl_toolkits.mplot3d import axes3d
- import matplotlib.pyplot as plt
- from matplotlib import cm
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- X, Y, Z = axes3d.get_test_data(0.05)
- ax.plot_surface(X, Y, Z, rstride=8, cstride=8, alpha=0.3)
- cset = ax.contour(X, Y, Z, zdir='z', offset=-100, cmap=cm.coolwarm)
- cset = ax.contour(X, Y, Z, zdir='x', offset=-40, cmap=cm.coolwarm)
- cset = ax.contour(X, Y, Z, zdir='y', offset=40, cmap=cm.coolwarm)
-
- ax.set_xlabel('X')
- ax.set_xlim(-40, 40)
- ax.set_ylabel('Y')
- ax.set_ylim(-40, 40)
- ax.set_zlabel('Z')
- ax.set_zlim(-100, 100)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/contourf3d_demo.txt b/dev/_sources/examples/mplot3d/contourf3d_demo.txt
deleted file mode 100644
index c067cf88553..00000000000
--- a/dev/_sources/examples/mplot3d/contourf3d_demo.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-.. _mplot3d-contourf3d_demo:
-
-mplot3d example code: contourf3d_demo.py
-========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/contourf3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import axes3d
- import matplotlib.pyplot as plt
- from matplotlib import cm
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- X, Y, Z = axes3d.get_test_data(0.05)
- cset = ax.contourf(X, Y, Z, cmap=cm.coolwarm)
- ax.clabel(cset, fontsize=9, inline=1)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/contourf3d_demo2.txt b/dev/_sources/examples/mplot3d/contourf3d_demo2.txt
deleted file mode 100644
index a683efdca0f..00000000000
--- a/dev/_sources/examples/mplot3d/contourf3d_demo2.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-.. _mplot3d-contourf3d_demo2:
-
-mplot3d example code: contourf3d_demo2.py
-=========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/contourf3d_demo2.py
-
-::
-
- """
- .. versionadded:: 1.1.0
- This demo depends on new features added to contourf3d.
- """
-
- from mpl_toolkits.mplot3d import axes3d
- import matplotlib.pyplot as plt
- from matplotlib import cm
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- X, Y, Z = axes3d.get_test_data(0.05)
- ax.plot_surface(X, Y, Z, rstride=8, cstride=8, alpha=0.3)
- cset = ax.contourf(X, Y, Z, zdir='z', offset=-100, cmap=cm.coolwarm)
- cset = ax.contourf(X, Y, Z, zdir='x', offset=-40, cmap=cm.coolwarm)
- cset = ax.contourf(X, Y, Z, zdir='y', offset=40, cmap=cm.coolwarm)
-
- ax.set_xlabel('X')
- ax.set_xlim(-40, 40)
- ax.set_ylabel('Y')
- ax.set_ylim(-40, 40)
- ax.set_zlabel('Z')
- ax.set_zlim(-100, 100)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/hist3d_demo.txt b/dev/_sources/examples/mplot3d/hist3d_demo.txt
deleted file mode 100644
index 8ed1d86c0e7..00000000000
--- a/dev/_sources/examples/mplot3d/hist3d_demo.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-.. _mplot3d-hist3d_demo:
-
-mplot3d example code: hist3d_demo.py
-====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/hist3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib.pyplot as plt
- import numpy as np
-
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
- x, y = np.random.rand(2, 100) * 4
- hist, xedges, yedges = np.histogram2d(x, y, bins=4)
-
- elements = (len(xedges) - 1) * (len(yedges) - 1)
- xpos, ypos = np.meshgrid(xedges[:-1]+0.25, yedges[:-1]+0.25)
-
- xpos = xpos.flatten()
- ypos = ypos.flatten()
- zpos = np.zeros(elements)
- dx = 0.5 * np.ones_like(zpos)
- dy = dx.copy()
- dz = hist.flatten()
-
- ax.bar3d(xpos, ypos, zpos, dx, dy, dz, color='b', zsort='average')
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/index.txt b/dev/_sources/examples/mplot3d/index.txt
deleted file mode 100644
index b5d86cd7d6d..00000000000
--- a/dev/_sources/examples/mplot3d/index.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-.. _mplot3d-examples-index:
-
-##############################################
-mplot3d Examples
-##############################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- 2dcollections3d_demo <2dcollections3d_demo.rst>
- bars3d_demo
- contour3d_demo
- contour3d_demo2
- contour3d_demo3
- contourf3d_demo
- contourf3d_demo2
- hist3d_demo
- lines3d_demo
- lorenz_attractor
- mixed_subplots_demo
- offset_demo
- pathpatch3d_demo
- polys3d_demo
- rotate_axes3d_demo
- scatter3d_demo
- subplot3d_demo
- surface3d_demo
- surface3d_demo2
- surface3d_demo3
- surface3d_radial_demo
- text3d_demo
- trisurf3d_demo
- trisurf3d_demo2
- wire3d_animation_demo
- wire3d_demo
diff --git a/dev/_sources/examples/mplot3d/lines3d_demo.txt b/dev/_sources/examples/mplot3d/lines3d_demo.txt
deleted file mode 100644
index f970380ed1b..00000000000
--- a/dev/_sources/examples/mplot3d/lines3d_demo.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-.. _mplot3d-lines3d_demo:
-
-mplot3d example code: lines3d_demo.py
-=====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/lines3d_demo.py
-
-::
-
- import matplotlib as mpl
- from mpl_toolkits.mplot3d import Axes3D
- import numpy as np
- import matplotlib.pyplot as plt
-
- mpl.rcParams['legend.fontsize'] = 10
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- theta = np.linspace(-4 * np.pi, 4 * np.pi, 100)
- z = np.linspace(-2, 2, 100)
- r = z**2 + 1
- x = r * np.sin(theta)
- y = r * np.cos(theta)
- ax.plot(x, y, z, label='parametric curve')
- ax.legend()
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/lorenz_attractor.txt b/dev/_sources/examples/mplot3d/lorenz_attractor.txt
deleted file mode 100644
index 8fb80b0d62e..00000000000
--- a/dev/_sources/examples/mplot3d/lorenz_attractor.txt
+++ /dev/null
@@ -1,64 +0,0 @@
-.. _mplot3d-lorenz_attractor:
-
-mplot3d example code: lorenz_attractor.py
-=========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/lorenz_attractor.py
-
-::
-
- # Plot of the Lorenz Attractor based on Edward Lorenz's 1963 "Deterministic
- # Nonperiodic Flow" publication.
- # http://journals.ametsoc.org/doi/abs/10.1175/1520-0469%281963%29020%3C0130%3ADNF%3E2.0.CO%3B2
- #
- # Note: Because this is a simple non-linear ODE, it would be more easily
- # done using SciPy's ode solver, but this approach depends only
- # upon NumPy.
-
- import numpy as np
- import matplotlib.pyplot as plt
- from mpl_toolkits.mplot3d import Axes3D
-
-
- def lorenz(x, y, z, s=10, r=28, b=2.667) :
- x_dot = s*(y - x)
- y_dot = r*x - y - x*z
- z_dot = x*y - b*z
- return x_dot, y_dot, z_dot
-
-
- dt = 0.01
- stepCnt = 10000
-
- # Need one more for the initial values
- xs = np.empty((stepCnt + 1,))
- ys = np.empty((stepCnt + 1,))
- zs = np.empty((stepCnt + 1,))
-
- # Setting initial values
- xs[0], ys[0], zs[0] = (0., 1., 1.05)
-
- # Stepping through "time".
- for i in range(stepCnt) :
- # Derivatives of the X, Y, Z state
- x_dot, y_dot, z_dot = lorenz(xs[i], ys[i], zs[i])
- xs[i + 1] = xs[i] + (x_dot * dt)
- ys[i + 1] = ys[i] + (y_dot * dt)
- zs[i + 1] = zs[i] + (z_dot * dt)
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
-
- ax.plot(xs, ys, zs)
- ax.set_xlabel("X Axis")
- ax.set_ylabel("Y Axis")
- ax.set_zlabel("Z Axis")
- ax.set_title("Lorenz Attractor")
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/mixed_subplots_demo.txt b/dev/_sources/examples/mplot3d/mixed_subplots_demo.txt
deleted file mode 100644
index 04ebec7e69f..00000000000
--- a/dev/_sources/examples/mplot3d/mixed_subplots_demo.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-.. _mplot3d-mixed_subplots_demo:
-
-mplot3d example code: mixed_subplots_demo.py
-============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/mixed_subplots_demo.py
-
-::
-
- """
- Demonstrate the mixing of 2d and 3d subplots
- """
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib.pyplot as plt
- import numpy as np
-
- def f(t):
- s1 = np.cos(2*np.pi*t)
- e1 = np.exp(-t)
- return np.multiply(s1,e1)
-
-
- ################
- # First subplot
- ################
- t1 = np.arange(0.0, 5.0, 0.1)
- t2 = np.arange(0.0, 5.0, 0.02)
- t3 = np.arange(0.0, 2.0, 0.01)
-
- # Twice as tall as it is wide.
- fig = plt.figure(figsize=plt.figaspect(2.))
- fig.suptitle('A tale of 2 subplots')
- ax = fig.add_subplot(2, 1, 1)
- l = ax.plot(t1, f(t1), 'bo',
- t2, f(t2), 'k--', markerfacecolor='green')
- ax.grid(True)
- ax.set_ylabel('Damped oscillation')
-
-
- #################
- # Second subplot
- #################
- ax = fig.add_subplot(2, 1, 2, projection='3d')
- X = np.arange(-5, 5, 0.25)
- xlen = len(X)
- Y = np.arange(-5, 5, 0.25)
- ylen = len(Y)
- X, Y = np.meshgrid(X, Y)
- R = np.sqrt(X**2 + Y**2)
- Z = np.sin(R)
-
- surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1,
- linewidth=0, antialiased=False)
-
- ax.set_zlim3d(-1, 1)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/offset_demo.txt b/dev/_sources/examples/mplot3d/offset_demo.txt
deleted file mode 100644
index 00b4b8206b1..00000000000
--- a/dev/_sources/examples/mplot3d/offset_demo.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-.. _mplot3d-offset_demo:
-
-mplot3d example code: offset_demo.py
-====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/offset_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib.pyplot as plt
- import numpy as np
-
- # This example demonstrates mplot3d's offset text display.
- # As one rotates the 3D figure, the offsets should remain oriented
- # same way as the axis label, and should also be located "away"
- # from the center of the plot.
- #
- # This demo triggers the display of the offset text for the x and
- # y axis by adding 1e5 to X and Y. Anything less would not
- # automatically trigger it.
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- X, Y = np.mgrid[0:6*np.pi:0.25, 0:4*np.pi:0.25]
- Z = np.sqrt(np.abs(np.cos(X) + np.cos(Y)))
-
- surf = ax.plot_surface(X + 1e5, Y + 1e5, Z, cmap='autumn', cstride=2, rstride=2)
- ax.set_xlabel("X-Label")
- ax.set_ylabel("Y-Label")
- ax.set_zlabel("Z-Label")
- ax.set_zlim(0, 2)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/pathpatch3d_demo.txt b/dev/_sources/examples/mplot3d/pathpatch3d_demo.txt
deleted file mode 100644
index 916e29144df..00000000000
--- a/dev/_sources/examples/mplot3d/pathpatch3d_demo.txt
+++ /dev/null
@@ -1,67 +0,0 @@
-.. _mplot3d-pathpatch3d_demo:
-
-mplot3d example code: pathpatch3d_demo.py
-=========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/pathpatch3d_demo.py
-
-::
-
- import matplotlib.pyplot as plt
- from matplotlib.patches import Circle, PathPatch
- # register Axes3D class with matplotlib by importing Axes3D
- from mpl_toolkits.mplot3d import Axes3D
- import mpl_toolkits.mplot3d.art3d as art3d
- from matplotlib.text import TextPath
- from matplotlib.transforms import Affine2D
-
-
- def text3d(ax, xyz, s, zdir="z", size=None, angle=0, usetex=False, **kwargs):
-
- x, y, z = xyz
- if zdir == "y":
- xy1, z1 = (x, z), y
- elif zdir == "y":
- xy1, z1 = (y, z), x
- else:
- xy1, z1 = (x, y), z
-
- text_path = TextPath((0, 0), s, size=size, usetex=usetex)
- trans = Affine2D().rotate(angle).translate(xy1[0], xy1[1])
-
- p1 = PathPatch(trans.transform_path(text_path), **kwargs)
- ax.add_patch(p1)
- art3d.pathpatch_2d_to_3d(p1, z=z1, zdir=zdir)
-
-
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
-
- p = Circle((5, 5), 3)
- ax.add_patch(p)
- art3d.pathpatch_2d_to_3d(p, z=0, zdir="x")
-
-
- text3d(ax, (4, -2, 0), "X-axis", zdir="z", size=.5, usetex=False,
- ec="none", fc="k")
- text3d(ax, (12, 4, 0), "Y-axis", zdir="z", size=.5, usetex=False,
- angle=.5*3.14159, ec="none", fc="k")
- text3d(ax, (12, 10, 4), "Z-axis", zdir="y", size=.5, usetex=False,
- angle=.5*3.14159, ec="none", fc="k")
-
- text3d(ax, (1, 5, 0),
- r"$\displaystyle G_{\mu\nu} + \Lambda g_{\mu\nu} = "
- r"\frac{8\pi G}{c^4} T_{\mu\nu} $",
- zdir="z", size=1, usetex=True,
- ec="none", fc="k")
-
- ax.set_xlim3d(0, 10)
- ax.set_ylim3d(0, 10)
- ax.set_zlim3d(0, 10)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/polys3d_demo.txt b/dev/_sources/examples/mplot3d/polys3d_demo.txt
deleted file mode 100644
index 833dd5cfb3f..00000000000
--- a/dev/_sources/examples/mplot3d/polys3d_demo.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-.. _mplot3d-polys3d_demo:
-
-mplot3d example code: polys3d_demo.py
-=====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/polys3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- from matplotlib.collections import PolyCollection
- from matplotlib.colors import colorConverter
- import matplotlib.pyplot as plt
- import numpy as np
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
-
- cc = lambda arg: colorConverter.to_rgba(arg, alpha=0.6)
-
- xs = np.arange(0, 10, 0.4)
- verts = []
- zs = [0.0, 1.0, 2.0, 3.0]
- for z in zs:
- ys = np.random.rand(len(xs))
- ys[0], ys[-1] = 0, 0
- verts.append(list(zip(xs, ys)))
-
- poly = PolyCollection(verts, facecolors = [cc('r'), cc('g'), cc('b'),
- cc('y')])
- poly.set_alpha(0.7)
- ax.add_collection3d(poly, zs=zs, zdir='y')
-
- ax.set_xlabel('X')
- ax.set_xlim3d(0, 10)
- ax.set_ylabel('Y')
- ax.set_ylim3d(-1, 4)
- ax.set_zlabel('Z')
- ax.set_zlim3d(0, 1)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/rotate_axes3d_demo.txt b/dev/_sources/examples/mplot3d/rotate_axes3d_demo.txt
deleted file mode 100644
index 1c5e3299b2c..00000000000
--- a/dev/_sources/examples/mplot3d/rotate_axes3d_demo.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-.. _mplot3d-rotate_axes3d_demo:
-
-mplot3d example code: rotate_axes3d_demo.py
-===========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/rotate_axes3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import axes3d
- import matplotlib.pyplot as plt
- import numpy as np
-
- plt.ion()
-
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
- X, Y, Z = axes3d.get_test_data(0.1)
- ax.plot_wireframe(X, Y, Z, rstride=5, cstride=5)
-
- for angle in range(0, 360):
- ax.view_init(30, angle)
- plt.draw()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/scatter3d_demo.txt b/dev/_sources/examples/mplot3d/scatter3d_demo.txt
deleted file mode 100644
index 7a6308d2b46..00000000000
--- a/dev/_sources/examples/mplot3d/scatter3d_demo.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-.. _mplot3d-scatter3d_demo:
-
-mplot3d example code: scatter3d_demo.py
-=======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/scatter3d_demo.py
-
-::
-
- import numpy as np
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib.pyplot as plt
-
- def randrange(n, vmin, vmax):
- return (vmax-vmin)*np.random.rand(n) + vmin
-
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
- n = 100
- for c, m, zl, zh in [('r', 'o', -50, -25), ('b', '^', -30, -5)]:
- xs = randrange(n, 23, 32)
- ys = randrange(n, 0, 100)
- zs = randrange(n, zl, zh)
- ax.scatter(xs, ys, zs, c=c, marker=m)
-
- ax.set_xlabel('X Label')
- ax.set_ylabel('Y Label')
- ax.set_zlabel('Z Label')
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/subplot3d_demo.txt b/dev/_sources/examples/mplot3d/subplot3d_demo.txt
deleted file mode 100644
index f12474e1f1e..00000000000
--- a/dev/_sources/examples/mplot3d/subplot3d_demo.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-.. _mplot3d-subplot3d_demo:
-
-mplot3d example code: subplot3d_demo.py
-=======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/subplot3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d.axes3d import Axes3D
- import matplotlib.pyplot as plt
-
-
- # imports specific to the plots in this example
- import numpy as np
- from matplotlib import cm
- from mpl_toolkits.mplot3d.axes3d import get_test_data
-
- # Twice as wide as it is tall.
- fig = plt.figure(figsize=plt.figaspect(0.5))
-
- #---- First subplot
- ax = fig.add_subplot(1, 2, 1, projection='3d')
- X = np.arange(-5, 5, 0.25)
- Y = np.arange(-5, 5, 0.25)
- X, Y = np.meshgrid(X, Y)
- R = np.sqrt(X**2 + Y**2)
- Z = np.sin(R)
- surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.coolwarm,
- linewidth=0, antialiased=False)
- ax.set_zlim3d(-1.01, 1.01)
-
- fig.colorbar(surf, shrink=0.5, aspect=10)
-
- #---- Second subplot
- ax = fig.add_subplot(1, 2, 2, projection='3d')
- X, Y, Z = get_test_data(0.05)
- ax.plot_wireframe(X, Y, Z, rstride=10, cstride=10)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/surface3d_demo.txt b/dev/_sources/examples/mplot3d/surface3d_demo.txt
deleted file mode 100644
index a97a09f5e74..00000000000
--- a/dev/_sources/examples/mplot3d/surface3d_demo.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-.. _mplot3d-surface3d_demo:
-
-mplot3d example code: surface3d_demo.py
-=======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/surface3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- from matplotlib import cm
- from matplotlib.ticker import LinearLocator, FormatStrFormatter
- import matplotlib.pyplot as plt
- import numpy as np
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- X = np.arange(-5, 5, 0.25)
- Y = np.arange(-5, 5, 0.25)
- X, Y = np.meshgrid(X, Y)
- R = np.sqrt(X**2 + Y**2)
- Z = np.sin(R)
- surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.coolwarm,
- linewidth=0, antialiased=False)
- ax.set_zlim(-1.01, 1.01)
-
- ax.zaxis.set_major_locator(LinearLocator(10))
- ax.zaxis.set_major_formatter(FormatStrFormatter('%.02f'))
-
- fig.colorbar(surf, shrink=0.5, aspect=5)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/surface3d_demo2.txt b/dev/_sources/examples/mplot3d/surface3d_demo2.txt
deleted file mode 100644
index 2c048d46df8..00000000000
--- a/dev/_sources/examples/mplot3d/surface3d_demo2.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-.. _mplot3d-surface3d_demo2:
-
-mplot3d example code: surface3d_demo2.py
-========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/surface3d_demo2.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib.pyplot as plt
- import numpy as np
-
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
-
- u = np.linspace(0, 2 * np.pi, 100)
- v = np.linspace(0, np.pi, 100)
-
- x = 10 * np.outer(np.cos(u), np.sin(v))
- y = 10 * np.outer(np.sin(u), np.sin(v))
- z = 10 * np.outer(np.ones(np.size(u)), np.cos(v))
- ax.plot_surface(x, y, z, rstride=4, cstride=4, color='b')
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/surface3d_demo3.txt b/dev/_sources/examples/mplot3d/surface3d_demo3.txt
deleted file mode 100644
index d87a9191799..00000000000
--- a/dev/_sources/examples/mplot3d/surface3d_demo3.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-.. _mplot3d-surface3d_demo3:
-
-mplot3d example code: surface3d_demo3.py
-========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/surface3d_demo3.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- from matplotlib import cm
- from matplotlib.ticker import LinearLocator
- import matplotlib.pyplot as plt
- import numpy as np
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- X = np.arange(-5, 5, 0.25)
- xlen = len(X)
- Y = np.arange(-5, 5, 0.25)
- ylen = len(Y)
- X, Y = np.meshgrid(X, Y)
- R = np.sqrt(X**2 + Y**2)
- Z = np.sin(R)
-
- colortuple = ('y', 'b')
- colors = np.empty(X.shape, dtype=str)
- for y in range(ylen):
- for x in range(xlen):
- colors[x, y] = colortuple[(x + y) % len(colortuple)]
-
- surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, facecolors=colors,
- linewidth=0, antialiased=False)
-
- ax.set_zlim3d(-1, 1)
- ax.w_zaxis.set_major_locator(LinearLocator(6))
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/surface3d_radial_demo.txt b/dev/_sources/examples/mplot3d/surface3d_radial_demo.txt
deleted file mode 100644
index 4f1f402b8b8..00000000000
--- a/dev/_sources/examples/mplot3d/surface3d_radial_demo.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-.. _mplot3d-surface3d_radial_demo:
-
-mplot3d example code: surface3d_radial_demo.py
-==============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/surface3d_radial_demo.py
-
-::
-
- # By Armin Moser
-
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib
- import numpy as np
- from matplotlib import cm
- from matplotlib import pyplot as plt
- step = 0.04
- maxval = 1.0
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
-
- # create supporting points in polar coordinates
- r = np.linspace(0,1.25,50)
- p = np.linspace(0,2*np.pi,50)
- R,P = np.meshgrid(r,p)
- # transform them to cartesian system
- X,Y = R*np.cos(P),R*np.sin(P)
-
- Z = ((R**2 - 1)**2)
- ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.YlGnBu_r)
- ax.set_zlim3d(0, 1)
- ax.set_xlabel(r'$\phi_\mathrm{real}$')
- ax.set_ylabel(r'$\phi_\mathrm{im}$')
- ax.set_zlabel(r'$V(\phi)$')
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/text3d_demo.txt b/dev/_sources/examples/mplot3d/text3d_demo.txt
deleted file mode 100644
index ae07a29b0bd..00000000000
--- a/dev/_sources/examples/mplot3d/text3d_demo.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-.. _mplot3d-text3d_demo:
-
-mplot3d example code: text3d_demo.py
-====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/text3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib.pyplot as plt
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
-
- zdirs = (None, 'x', 'y', 'z', (1, 1, 0), (1, 1, 1))
- xs = (2, 6, 4, 9, 7, 2)
- ys = (6, 4, 8, 7, 2, 2)
- zs = (4, 2, 5, 6, 1, 7)
-
- for zdir, x, y, z in zip(zdirs, xs, ys, zs):
- label = '(%d, %d, %d), dir=%s' % (x, y, z, zdir)
- ax.text(x, y, z, label, zdir)
-
- ax.text(1, 1, 1, "red", color='red')
- ax.text2D(0.05, 0.95, "2D Text", transform=ax.transAxes)
-
- ax.set_xlim3d(0, 10)
- ax.set_ylim3d(0, 10)
- ax.set_zlim3d(0, 10)
-
- ax.set_xlabel('X axis')
- ax.set_ylabel('Y axis')
- ax.set_zlabel('Z axis')
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/trisurf3d_demo.txt b/dev/_sources/examples/mplot3d/trisurf3d_demo.txt
deleted file mode 100644
index 0d45595f380..00000000000
--- a/dev/_sources/examples/mplot3d/trisurf3d_demo.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-.. _mplot3d-trisurf3d_demo:
-
-mplot3d example code: trisurf3d_demo.py
-=======================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/trisurf3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import Axes3D
- from matplotlib import cm
- import matplotlib.pyplot as plt
- import numpy as np
-
- n_angles = 36
- n_radii = 8
-
- # An array of radii
- # Does not include radius r=0, this is to eliminate duplicate points
- radii = np.linspace(0.125, 1.0, n_radii)
-
- # An array of angles
- angles = np.linspace(0, 2*np.pi, n_angles, endpoint=False)
-
- # Repeat all angles for each radius
- angles = np.repeat(angles[...,np.newaxis], n_radii, axis=1)
-
- # Convert polar (radii, angles) coords to cartesian (x, y) coords
- # (0, 0) is added here. There are no duplicate points in the (x, y) plane
- x = np.append(0, (radii*np.cos(angles)).flatten())
- y = np.append(0, (radii*np.sin(angles)).flatten())
-
- # Pringle surface
- z = np.sin(-x*y)
-
- fig = plt.figure()
- ax = fig.gca(projection='3d')
-
- ax.plot_trisurf(x, y, z, cmap=cm.jet, linewidth=0.2)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/trisurf3d_demo2.txt b/dev/_sources/examples/mplot3d/trisurf3d_demo2.txt
deleted file mode 100644
index ec31cf86bbe..00000000000
--- a/dev/_sources/examples/mplot3d/trisurf3d_demo2.txt
+++ /dev/null
@@ -1,69 +0,0 @@
-.. _mplot3d-trisurf3d_demo2:
-
-mplot3d example code: trisurf3d_demo2.py
-========================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/trisurf3d_demo2.py
-
-::
-
- import numpy as np
- import matplotlib.pyplot as plt
- from mpl_toolkits.mplot3d import Axes3D
- import matplotlib.tri as mtri
-
- # u, v are parameterisation variables
- u = (np.linspace(0, 2.0 * np.pi, endpoint=True, num=50) * np.ones((10, 1))).flatten()
- v = np.repeat(np.linspace(-0.5, 0.5, endpoint=True, num=10), repeats=50).flatten()
-
- # This is the Mobius mapping, taking a u, v pair and returning an x, y, z
- # triple
- x = (1 + 0.5 * v * np.cos(u / 2.0)) * np.cos(u)
- y = (1 + 0.5 * v * np.cos(u / 2.0)) * np.sin(u)
- z = 0.5 * v * np.sin(u / 2.0)
-
- # Triangulate parameter space to determine the triangles
- tri = mtri.Triangulation(u, v)
-
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1, projection='3d')
-
- # The triangles in parameter space determine which x, y, z points are
- # connected by an edge
- ax.plot_trisurf(x, y, z, triangles=tri.triangles, cmap=plt.cm.Spectral)
-
- ax.set_zlim(-1, 1)
-
- # First create the x and y coordinates of the points.
- n_angles = 36
- n_radii = 8
- min_radius = 0.25
- radii = np.linspace(min_radius, 0.95, n_radii)
-
- angles = np.linspace(0, 2*np.pi, n_angles, endpoint=False)
- angles = np.repeat(angles[...,np.newaxis], n_radii, axis=1)
- angles[:,1::2] += np.pi/n_angles
-
- x = (radii*np.cos(angles)).flatten()
- y = (radii*np.sin(angles)).flatten()
- z = (np.cos(radii)*np.cos(angles*3.0)).flatten()
-
- # Create the Triangulation; no triangles so Delaunay triangulation created.
- triang = mtri.Triangulation(x, y)
-
- # Mask off unwanted triangles.
- xmid = x[triang.triangles].mean(axis=1)
- ymid = y[triang.triangles].mean(axis=1)
- mask = np.where(xmid*xmid + ymid*ymid < min_radius*min_radius, 1, 0)
- triang.set_mask(mask)
-
- # tripcolor plot.
- fig = plt.figure()
- ax = fig.add_subplot(1, 1, 1, projection='3d')
- ax.plot_trisurf(triang, z, cmap=plt.cm.CMRmap)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/wire3d_animation_demo.txt b/dev/_sources/examples/mplot3d/wire3d_animation_demo.txt
deleted file mode 100644
index 93006a66b9b..00000000000
--- a/dev/_sources/examples/mplot3d/wire3d_animation_demo.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-.. _mplot3d-wire3d_animation_demo:
-
-mplot3d example code: wire3d_animation_demo.py
-==============================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/wire3d_animation_demo.py
-
-::
-
- from __future__ import print_function
- """
- A very simple 'animation' of a 3D plot
- """
- from mpl_toolkits.mplot3d import axes3d
- import matplotlib.pyplot as plt
- import numpy as np
- import time
-
- def generate(X, Y, phi):
- R = 1 - np.sqrt(X**2 + Y**2)
- return np.cos(2 * np.pi * X + phi) * R
-
- plt.ion()
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
-
- xs = np.linspace(-1, 1, 50)
- ys = np.linspace(-1, 1, 50)
- X, Y = np.meshgrid(xs, ys)
- Z = generate(X, Y, 0.0)
-
- wframe = None
- tstart = time.time()
- for phi in np.linspace(0, 360 / 2 / np.pi, 100):
-
- oldcol = wframe
-
- Z = generate(X, Y, phi)
- wframe = ax.plot_wireframe(X, Y, Z, rstride=2, cstride=2)
-
- # Remove old line collection before drawing
- if oldcol is not None:
- ax.collections.remove(oldcol)
-
- plt.draw()
-
- print ('FPS: %f' % (100 / (time.time() - tstart)))
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/mplot3d/wire3d_demo.txt b/dev/_sources/examples/mplot3d/wire3d_demo.txt
deleted file mode 100644
index 9c5ed43c9b0..00000000000
--- a/dev/_sources/examples/mplot3d/wire3d_demo.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-.. _mplot3d-wire3d_demo:
-
-mplot3d example code: wire3d_demo.py
-====================================
-
-
-
-.. plot:: /home/mdboom/Work/builds/matplotlib/doc/mpl_examples/mplot3d/wire3d_demo.py
-
-::
-
- from mpl_toolkits.mplot3d import axes3d
- import matplotlib.pyplot as plt
- import numpy as np
-
- fig = plt.figure()
- ax = fig.add_subplot(111, projection='3d')
- X, Y, Z = axes3d.get_test_data(0.05)
- ax.plot_wireframe(X, Y, Z, rstride=10, cstride=10)
-
- plt.show()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/animate_decay_tk_blit.txt b/dev/_sources/examples/old_animation/animate_decay_tk_blit.txt
deleted file mode 100644
index 93208cc3947..00000000000
--- a/dev/_sources/examples/old_animation/animate_decay_tk_blit.txt
+++ /dev/null
@@ -1,71 +0,0 @@
-.. _old_animation-animate_decay_tk_blit:
-
-old_animation example code: animate_decay_tk_blit.py
-====================================================
-
-[`source code `_]
-
-::
-
- from __future__ import print_function
- import time, sys
- import numpy as np
- import matplotlib.pyplot as plt
-
-
- def data_gen():
- t = data_gen.t
- data_gen.t += 0.05
- return np.sin(2*np.pi*t) * np.exp(-t/10.)
- data_gen.t = 0
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- line, = ax.plot([], [], animated=True, lw=2)
- ax.set_ylim(-1.1, 1.1)
- ax.set_xlim(0, 5)
- ax.grid()
- xdata, ydata = [], []
- def run(*args):
- background = fig.canvas.copy_from_bbox(ax.bbox)
- # for profiling
- tstart = time.time()
-
- while 1:
- # restore the clean slate background
- fig.canvas.restore_region(background)
- # update the data
- t = data_gen.t
- y = data_gen()
- xdata.append(t)
- ydata.append(y)
- xmin, xmax = ax.get_xlim()
- if t>=xmax:
- ax.set_xlim(xmin, 2*xmax)
- fig.canvas.draw()
- background = fig.canvas.copy_from_bbox(ax.bbox)
-
- line.set_data(xdata, ydata)
-
- # just draw the animated artist
- ax.draw_artist(line)
- # just redraw the axes rectangle
- fig.canvas.blit(ax.bbox)
-
- if run.cnt==1000:
- # print the timing info and quit
- print('FPS:' , 1000/(time.time()-tstart))
- sys.exit()
-
- run.cnt += 1
- run.cnt = 0
-
-
-
- manager = plt.get_current_fig_manager()
- manager.window.after(100, run)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/animation_blit_fltk.txt b/dev/_sources/examples/old_animation/animation_blit_fltk.txt
deleted file mode 100644
index 10a1b02f2a3..00000000000
--- a/dev/_sources/examples/old_animation/animation_blit_fltk.txt
+++ /dev/null
@@ -1,67 +0,0 @@
-.. _old_animation-animation_blit_fltk:
-
-old_animation example code: animation_blit_fltk.py
-==================================================
-
-[`source code `_]
-
-::
-
- from __future__ import print_function
- import sys
- import fltk
- import matplotlib
- matplotlib.use('FltkAgg')
- import pylab as p
- import numpy as npy
- import time
-
-
- # save the clean slate background -- everything but the animated line
- # is drawn and saved in the pixel buffer background
- class animator:
- def __init__(self,ax):
- self.ax=ax
- self.canvas=ax.figure.canvas
- self.canvas.mpl_connect('draw_event',self.clear)
- self.cnt=0
- self.background=None
-
- # for profiling
- self.tstart = time.time()
-
- def clear(self,event):
- self.background = self.canvas.copy_from_bbox(self.ax.bbox)
-
- def update(self,ptr):
- # restore the clean slate background
- if self.background is None:
- self.background = self.canvas.copy_from_bbox(self.ax.bbox)
- self.canvas.restore_region(self.background)
- # update the data
- line.set_ydata(npy.sin(x+self.cnt/10.0))
- # just draw the animated artist
- self.ax.draw_artist(line)
- # just redraw the axes rectangle
- self.canvas.blit(ax.bbox)
- self.cnt+=1
- if self.cnt==1000:
- # print the timing info and quit
- print('FPS:' , 1000/(time.time()-self.tstart))
- sys.exit()
- return True
-
- ax = p.subplot(111)
- p.subplots_adjust(left=0.3, bottom=0.3) # check for flipy bugs
- p.grid() # to ensure proper background restore
- # create the initial line
- x = npy.arange(0,2*npy.pi,0.01)
- line, = p.plot(x, npy.sin(x), animated=True)
- p.draw()
- anim=animator(ax)
-
- fltk.Fl.add_idle(anim.update)
- fltk.Fl.run()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/animation_blit_gtk.txt b/dev/_sources/examples/old_animation/animation_blit_gtk.txt
deleted file mode 100644
index c439f7eb32d..00000000000
--- a/dev/_sources/examples/old_animation/animation_blit_gtk.txt
+++ /dev/null
@@ -1,82 +0,0 @@
-.. _old_animation-animation_blit_gtk:
-
-old_animation example code: animation_blit_gtk.py
-=================================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
-
- from __future__ import print_function
-
- # For detailed comments on animation and the techniques used here, see
- # the wiki entry
- # http://www.scipy.org/wikis/topical_software/MatplotlibAnimation
- import time
-
- import gtk, gobject
-
- import matplotlib
- matplotlib.use('GTKAgg')
-
- import numpy as np
- import matplotlib.pyplot as plt
-
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- canvas = fig.canvas
-
- fig.subplots_adjust(left=0.3, bottom=0.3) # check for flipy bugs
- ax.grid() # to ensure proper background restore
-
- # create the initial line
- x = np.arange(0,2*np.pi,0.01)
- line, = ax.plot(x, np.sin(x), animated=True, lw=2)
- canvas.draw()
-
- # for profiling
- tstart = time.time()
-
- def update_line(*args):
- print('you are here', update_line.cnt)
- if update_line.background is None:
- update_line.background = canvas.copy_from_bbox(ax.bbox)
-
- # restore the clean slate background
- canvas.restore_region(update_line.background)
- # update the data
- line.set_ydata(np.sin(x+update_line.cnt/10.0))
- # just draw the animated artist
- ax.draw_artist(line)
-
- # just redraw the axes rectangle
- canvas.blit(ax.bbox)
-
- if update_line.cnt==1000:
- # print the timing info and quit
- print('FPS:' , 1000/(time.time()-tstart))
- gtk.mainquit()
- raise SystemExit
-
- update_line.cnt += 1
- return True
-
- update_line.cnt = 0
- update_line.background = None
-
-
- def start_anim(event):
- gobject.idle_add(update_line)
- canvas.mpl_disconnect(start_anim.cid)
-
- start_anim.cid = canvas.mpl_connect('draw_event', start_anim)
-
-
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/animation_blit_gtk2.txt b/dev/_sources/examples/old_animation/animation_blit_gtk2.txt
deleted file mode 100644
index bc82e45e3a3..00000000000
--- a/dev/_sources/examples/old_animation/animation_blit_gtk2.txt
+++ /dev/null
@@ -1,181 +0,0 @@
-.. _old_animation-animation_blit_gtk2:
-
-old_animation example code: animation_blit_gtk2.py
-==================================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
-
- from __future__ import print_function
-
- """
- This example utlizes restore_region with optional bbox and xy
- arguments. The plot is continuously shifted to the left. Instead of
- drawing everything again, the plot is saved (copy_from_bbox) and
- restored with offset by the amount of the shift. And only newly
- exposed area is drawn. This technique may reduce drawing time for some cases.
- """
-
- import time
-
- import gtk, gobject
-
- import matplotlib
- matplotlib.use('GTKAgg')
-
- import numpy as np
- import matplotlib.pyplot as plt
-
- class UpdateLine(object):
- def get_bg_bbox(self):
-
- return self.ax.bbox.padded(-3)
-
- def __init__(self, canvas, ax):
- self.cnt = 0
- self.canvas = canvas
- self.ax = ax
-
- self.prev_time = time.time()
- self.start_time = self.prev_time
- self.prev_pixel_offset = 0.
-
-
- self.x0 = 0
- self.phases = np.random.random_sample((20,)) * np.pi * 2
- self.line, = ax.plot([], [], "-", animated=True, lw=2)
-
- self.point, = ax.plot([], [], "ro", animated=True, lw=2)
-
- self.ax.set_ylim(-1.1, 1.1)
-
- self.background1 = None
-
- cmap = plt.cm.jet
- from itertools import cycle
- self.color_cycle = cycle(cmap(np.arange(cmap.N)))
-
-
- def save_bg(self):
- self.background1 = self.canvas.copy_from_bbox(self.ax.get_figure().bbox)
-
- self.background2 = self.canvas.copy_from_bbox(self.get_bg_bbox())
-
-
- def get_dx_data(self, dx_pixel):
- tp = self.ax.transData.inverted().transform_point
- x0, y0 = tp((0, 0))
- x1, y1 = tp((dx_pixel, 0))
- return (x1-x0)
-
-
- def restore_background_shifted(self, dx_pixel):
- """
- restore bacground shifted by dx in data coordinate. This only
- works if the data coordinate system is linear.
- """
-
- # restore the clean slate background
- self.canvas.restore_region(self.background1)
-
- # restore subregion (x1+dx, y1, x2, y2) of the second bg
- # in a offset position (x1-dx, y1)
- x1, y1, x2, y2 = self.background2.get_extents()
- self.canvas.restore_region(self.background2,
- bbox=(x1+dx_pixel, y1, x2, y2),
- xy=(x1-dx_pixel, y1))
-
- return dx_pixel
-
- def on_draw(self, *args):
- self.save_bg()
- return False
-
- def update_line(self, *args):
-
- if self.background1 is None:
- return True
-
- cur_time = time.time()
- pixel_offset = int((cur_time - self.start_time)*100.)
- dx_pixel = pixel_offset - self.prev_pixel_offset
- self.prev_pixel_offset = pixel_offset
- dx_data = self.get_dx_data(dx_pixel) #cur_time - self.prev_time)
-
- x0 = self.x0
- self.x0 += dx_data
- self.prev_time = cur_time
-
- self.ax.set_xlim(self.x0-2, self.x0+0.1)
-
-
- # restore background which will plot lines from previous plots
- self.restore_background_shifted(dx_pixel) #x0, self.x0)
- # This restores lines between [x0-2, x0]
-
-
-
- self.line.set_color(self.color_cycle.next())
-
- # now plot line segment within [x0, x0+dx_data],
- # Note that we're only plotting a line between [x0, x0+dx_data].
- xx = np.array([x0, self.x0])
- self.line.set_xdata(xx)
-
- # the for loop below could be improved by using collection.
- [(self.line.set_ydata(np.sin(xx+p)),
- self.ax.draw_artist(self.line)) \
- for p in self.phases]
-
- self.background2 = canvas.copy_from_bbox(self.get_bg_bbox())
-
- self.point.set_xdata([self.x0])
-
- [(self.point.set_ydata(np.sin([self.x0+p])),
- self.ax.draw_artist(self.point)) \
- for p in self.phases]
-
-
- self.ax.draw_artist(self.ax.xaxis)
- self.ax.draw_artist(self.ax.yaxis)
-
- self.canvas.blit(self.ax.get_figure().bbox)
-
-
- dt = (time.time()-tstart)
- if dt>15:
- # print the timing info and quit
- print('FPS:' , self.cnt/dt)
- gtk.main_quit()
- raise SystemExit
-
- self.cnt += 1
- return True
-
-
- plt.rcParams["text.usetex"] = False
- fig = plt.figure()
-
- ax = fig.add_subplot(111)
- ax.xaxis.set_animated(True)
- ax.yaxis.set_animated(True)
- canvas = fig.canvas
-
- fig.subplots_adjust(left=0.2, bottom=0.2)
- canvas.draw()
-
- # for profiling
- tstart = time.time()
-
- ul = UpdateLine(canvas, ax)
- gobject.idle_add(ul.update_line)
-
- canvas.mpl_connect('draw_event', ul.on_draw)
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/animation_blit_qt.txt b/dev/_sources/examples/old_animation/animation_blit_qt.txt
deleted file mode 100644
index d67f60bd945..00000000000
--- a/dev/_sources/examples/old_animation/animation_blit_qt.txt
+++ /dev/null
@@ -1,78 +0,0 @@
-.. _old_animation-animation_blit_qt:
-
-old_animation example code: animation_blit_qt.py
-================================================
-
-[`source code `_]
-
-::
-
- # For detailed comments on animation and the techniqes used here, see
- # the wiki entry http://www.scipy.org/Cookbook/Matplotlib/Animations
-
- from __future__ import print_function
-
- import os, sys
- import matplotlib
- matplotlib.use('QtAgg') # qt3 example
-
- from qt import *
- # Note: color-intensive applications may require a different color allocation
- # strategy.
- QApplication.setColorSpec(QApplication.NormalColor)
-
- TRUE = 1
- FALSE = 0
- ITERS = 1000
-
- import pylab as p
- import numpy as npy
- import time
-
- class BlitQT(QObject):
- def __init__(self):
- QObject.__init__(self, None, "app")
-
- self.ax = p.subplot(111)
- self.canvas = self.ax.figure.canvas
- self.cnt = 0
-
- # create the initial line
- self.x = npy.arange(0,2*npy.pi,0.01)
- self.line, = p.plot(self.x, npy.sin(self.x), animated=True, lw=2)
-
- self.background = None
-
- def timerEvent(self, evt):
- if self.background is None:
- self.background = self.canvas.copy_from_bbox(self.ax.bbox)
-
- # restore the clean slate background
- self.canvas.restore_region(self.background)
- # update the data
- self.line.set_ydata(npy.sin(self.x+self.cnt/10.0))
- # just draw the animated artist
- self.ax.draw_artist(self.line)
- # just redraw the axes rectangle
- self.canvas.blit(self.ax.bbox)
-
- if self.cnt==ITERS:
- # print the timing info and quit
- print('FPS:', ITERS/(time.time()-self.tstart))
- sys.exit()
-
- else:
- self.cnt += 1
-
- p.subplots_adjust(left=0.3, bottom=0.3) # check for flipy bugs
- p.grid() # to ensure proper background restore
-
- app = BlitQT()
- # for profiling
- app.tstart = time.time()
- app.startTimer(0)
-
- p.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/animation_blit_qt4.txt b/dev/_sources/examples/old_animation/animation_blit_qt4.txt
deleted file mode 100644
index 4a1e28df433..00000000000
--- a/dev/_sources/examples/old_animation/animation_blit_qt4.txt
+++ /dev/null
@@ -1,89 +0,0 @@
-.. _old_animation-animation_blit_qt4:
-
-old_animation example code: animation_blit_qt4.py
-=================================================
-
-[`source code `_]
-
-::
-
- # For detailed comments on animation and the techniqes used here, see
- # the wiki entry http://www.scipy.org/Cookbook/Matplotlib/Animations
-
- from __future__ import print_function
-
- import os
- import sys
-
- #import matplotlib
- #matplotlib.use('Qt4Agg')
- from matplotlib.figure import Figure
- from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
-
- from PyQt4 import QtCore, QtGui
-
- ITERS = 1000
-
- import numpy as np
- import time
-
- class BlitQT(FigureCanvas):
-
- def __init__(self):
- FigureCanvas.__init__(self, Figure())
-
- self.ax = self.figure.add_subplot(111)
- self.ax.grid()
- self.draw()
-
- self.old_size = self.ax.bbox.width, self.ax.bbox.height
- self.ax_background = self.copy_from_bbox(self.ax.bbox)
- self.cnt = 0
-
- self.x = np.arange(0,2*np.pi,0.01)
- self.sin_line, = self.ax.plot(self.x, np.sin(self.x), animated=True)
- self.cos_line, = self.ax.plot(self.x, np.cos(self.x), animated=True)
- self.draw()
-
- self.tstart = time.time()
- self.startTimer(10)
-
- def timerEvent(self, evt):
- current_size = self.ax.bbox.width, self.ax.bbox.height
- if self.old_size != current_size:
- self.old_size = current_size
- self.ax.clear()
- self.ax.grid()
- self.draw()
- self.ax_background = self.copy_from_bbox(self.ax.bbox)
-
- self.restore_region(self.ax_background)
-
- # update the data
- self.sin_line.set_ydata(np.sin(self.x+self.cnt/10.0))
- self.cos_line.set_ydata(np.cos(self.x+self.cnt/10.0))
- # just draw the animated artist
- self.ax.draw_artist(self.sin_line)
- self.ax.draw_artist(self.cos_line)
- # just redraw the axes rectangle
- self.blit(self.ax.bbox)
-
- if self.cnt == 0:
- # TODO: this shouldn't be necessary, but if it is excluded the
- # canvas outside the axes is not initially painted.
- self.draw()
- if self.cnt==ITERS:
- # print the timing info and quit
- print('FPS:' , ITERS/(time.time()-self.tstart))
- sys.exit()
- else:
- self.cnt += 1
-
- app = QtGui.QApplication(sys.argv)
- widget = BlitQT()
- widget.show()
-
- sys.exit(app.exec_())
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/animation_blit_tk.txt b/dev/_sources/examples/old_animation/animation_blit_tk.txt
deleted file mode 100644
index 9d698e269e6..00000000000
--- a/dev/_sources/examples/old_animation/animation_blit_tk.txt
+++ /dev/null
@@ -1,66 +0,0 @@
-.. _old_animation-animation_blit_tk:
-
-old_animation example code: animation_blit_tk.py
-================================================
-
-[`source code `_]
-
-::
-
- # For detailed comments on animation and the techniqes used here, see
- # the wiki entry http://www.scipy.org/Cookbook/Matplotlib/Animations
-
- from __future__ import print_function
-
- import matplotlib
- matplotlib.use('TkAgg')
-
- import sys
- import pylab as p
- import numpy as npy
- import time
-
- ax = p.subplot(111)
- canvas = ax.figure.canvas
-
-
- # create the initial line
- x = npy.arange(0,2*npy.pi,0.01)
- line, = p.plot(x, npy.sin(x), animated=True, lw=2)
-
- def run(*args):
- background = canvas.copy_from_bbox(ax.bbox)
- # for profiling
- tstart = time.time()
-
- while 1:
- # restore the clean slate background
- canvas.restore_region(background)
- # update the data
- line.set_ydata(npy.sin(x+run.cnt/10.0))
- # just draw the animated artist
- ax.draw_artist(line)
- # just redraw the axes rectangle
- canvas.blit(ax.bbox)
-
- if run.cnt==1000:
- # print the timing info and quit
- print('FPS:', 1000/(time.time()-tstart))
- sys.exit()
-
- run.cnt += 1
- run.cnt = 0
-
-
- p.subplots_adjust(left=0.3, bottom=0.3) # check for flipy bugs
- p.grid() # to ensure proper background restore
- manager = p.get_current_fig_manager()
- manager.window.after(100, run)
-
- p.show()
-
-
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/animation_blit_wx.txt b/dev/_sources/examples/old_animation/animation_blit_wx.txt
deleted file mode 100644
index 0786c53e8f3..00000000000
--- a/dev/_sources/examples/old_animation/animation_blit_wx.txt
+++ /dev/null
@@ -1,90 +0,0 @@
-.. _old_animation-animation_blit_wx:
-
-old_animation example code: animation_blit_wx.py
-================================================
-
-[`source code `_]
-
-::
-
- # For detailed comments on animation and the techniqes used here, see
- # the wiki entry
- # http://www.scipy.org/wikis/topical_software/MatplotlibAnimation
-
- from __future__ import print_function
-
- # The number of blits() to make before exiting
- NBLITS = 1000
-
- import matplotlib
- matplotlib.use('WXAgg')
- matplotlib.rcParams['toolbar'] = 'None'
-
- import wx
- import sys
- import pylab as p
- import numpy as npy
- import time
-
-
- # allow the user to disable the WXAgg accelerator from the command line
- if '--no-accel' in sys.argv:
- import matplotlib.backends.backend_wxagg
- matplotlib.backends.backend_wxagg._use_accelerator(False)
-
-
- ax = p.subplot(111)
- canvas = ax.figure.canvas
-
-
- p.subplots_adjust(left=0.3, bottom=0.3) # check for flipy bugs
- p.grid() # to ensure proper background restore
-
- # create the initial line
- x = npy.arange(0,2*npy.pi,0.01)
- line, = p.plot(x, npy.sin(x), animated=True, lw=2)
-
- # for profiling
- tstart = time.time()
- blit_time = 0.0
-
- def update_line(*args):
- global blit_time
-
- if update_line.background is None:
- update_line.background = canvas.copy_from_bbox(ax.bbox)
-
- # restore the clean slate background
- canvas.restore_region(update_line.background)
- # update the data
- line.set_ydata(npy.sin(x+update_line.cnt/10.0))
- # just draw the animated artist
- ax.draw_artist(line)
- # just redraw the axes rectangle
-
- t = time.time()
- canvas.blit(ax.bbox)
- blit_time += time.time() - t
-
- if update_line.cnt == NBLITS:
- # print the timing info and quit
- frame_time = time.time() - tstart
- print('%d frames: %.2f seconds' % (NBLITS, frame_time))
- print('%d blits: %.2f seconds' % (NBLITS, blit_time))
- print()
- print('FPS: %.2f' % (NBLITS/frame_time))
- print('BPS: %.2f' % (NBLITS/blit_time))
- sys.exit()
-
- update_line.cnt += 1
- wx.WakeUpIdle()
-
-
-
- update_line.cnt = 0
- update_line.background = None
- wx.EVT_IDLE(wx.GetApp(), update_line)
- p.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/draggable_legend.txt b/dev/_sources/examples/old_animation/draggable_legend.txt
deleted file mode 100644
index 28082efdbcb..00000000000
--- a/dev/_sources/examples/old_animation/draggable_legend.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-.. _old_animation-draggable_legend:
-
-old_animation example code: draggable_legend.py
-===============================================
-
-[`source code `_]
-
-::
-
- import matplotlib.pyplot as plt
-
-
- ax = plt.subplot(111)
- ax.plot([1,2,3], label="test")
-
- l = ax.legend()
- d1 = l.draggable()
-
- xy = 1, 2
- txt = ax.annotate("Test", xy, xytext=(-30, 30),
- textcoords="offset points",
- bbox=dict(boxstyle="round",fc=(0.2, 1, 1)),
- arrowprops=dict(arrowstyle="->"))
- d2 = txt.draggable()
-
-
- from matplotlib._png import read_png
- from matplotlib.cbook import get_sample_data
-
- from matplotlib.offsetbox import OffsetImage, AnnotationBbox
-
- fn = get_sample_data("ada.png", asfileobj=False)
- arr_ada = read_png(fn)
-
- imagebox = OffsetImage(arr_ada, zoom=0.2)
-
- ab = AnnotationBbox(imagebox, xy,
- xybox=(120., -80.),
- xycoords='data',
- boxcoords="offset points",
- pad=0.5,
- arrowprops=dict(arrowstyle="->",
- connectionstyle="angle,angleA=0,angleB=90,rad=3")
- )
-
-
- ax.add_artist(ab)
-
- d3 = ab.draggable(use_blit=True)
-
-
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/dynamic_collection.txt b/dev/_sources/examples/old_animation/dynamic_collection.txt
deleted file mode 100644
index 102f08873d5..00000000000
--- a/dev/_sources/examples/old_animation/dynamic_collection.txt
+++ /dev/null
@@ -1,64 +0,0 @@
-.. _old_animation-dynamic_collection:
-
-old_animation example code: dynamic_collection.py
-=================================================
-
-[`source code `_]
-
-::
-
- import random
- from matplotlib.collections import RegularPolyCollection
- import matplotlib.cm as cm
- from matplotlib.pyplot import figure, show
- from numpy.random import rand
-
- fig = figure()
- ax = fig.add_subplot(111, xlim=(0,1), ylim=(0,1), autoscale_on=False)
- ax.set_title("Press 'a' to add a point, 'd' to delete one")
- # a single point
- offsets = [(0.5,0.5)]
- facecolors = [cm.jet(0.5)]
-
- collection = RegularPolyCollection(
- #fig.dpi,
- 5, # a pentagon
- rotation=0,
- sizes=(50,),
- facecolors = facecolors,
- edgecolors = 'black',
- linewidths = (1,),
- offsets = offsets,
- transOffset = ax.transData,
- )
-
- ax.add_collection(collection)
-
- def onpress(event):
- """
- press 'a' to add a random point from the collection, 'd' to delete one
- """
- if event.key=='a':
- x,y = rand(2)
- color = cm.jet(rand())
- offsets.append((x,y))
- facecolors.append(color)
- collection.set_offsets(offsets)
- collection.set_facecolors(facecolors)
- fig.canvas.draw()
- elif event.key=='d':
- N = len(offsets)
- if N>0:
- ind = random.randint(0,N-1)
- offsets.pop(ind)
- facecolors.pop(ind)
- collection.set_offsets(offsets)
- collection.set_facecolors(facecolors)
- fig.canvas.draw()
-
- fig.canvas.mpl_connect('key_press_event', onpress)
-
- show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/dynamic_image_gtkagg.txt b/dev/_sources/examples/old_animation/dynamic_image_gtkagg.txt
deleted file mode 100644
index 07775c7fe68..00000000000
--- a/dev/_sources/examples/old_animation/dynamic_image_gtkagg.txt
+++ /dev/null
@@ -1,58 +0,0 @@
-.. _old_animation-dynamic_image_gtkagg:
-
-old_animation example code: dynamic_image_gtkagg.py
-===================================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
-
- from __future__ import print_function
- """
- An animated image
- """
- import time
-
- import gobject
- import gtk
-
- import matplotlib
- matplotlib.use('GTKAgg')
-
- from pylab import *
-
- fig = figure(1)
- a = subplot(111)
- x = arange(120.0)*2*pi/120.0
- x = resize(x, (100,120))
- y = arange(100.0)*2*pi/100.0
- y = resize(y, (120,100))
- y = transpose(y)
- z = sin(x) + cos(y)
- im = a.imshow( z, cmap=cm.jet)#, interpolation='nearest')
-
- manager = get_current_fig_manager()
- cnt = 0
- tstart = time.time()
- def updatefig(*args):
- global x, y, cnt, start
- x += pi/15
- y += pi/20
- z = sin(x) + cos(y)
- im.set_array(z)
- manager.canvas.draw()
- cnt += 1
- if cnt==50:
- print('FPS', cnt/(time.time() - tstart))
- return False
- return True
-
- cnt = 0
-
- gobject.idle_add(updatefig)
- show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/dynamic_image_wxagg2.txt b/dev/_sources/examples/old_animation/dynamic_image_wxagg2.txt
deleted file mode 100644
index 90ef7d4b783..00000000000
--- a/dev/_sources/examples/old_animation/dynamic_image_wxagg2.txt
+++ /dev/null
@@ -1,112 +0,0 @@
-.. _old_animation-dynamic_image_wxagg2:
-
-old_animation example code: dynamic_image_wxagg2.py
-===================================================
-
-[`source code `_]
-
-::
-
- #!/usr/bin/env python
- """
- Copyright (C) 2003-2005 Jeremy O'Donoghue and others
-
- License: This work is licensed under the PSF. A copy should be included
- with this source code, and is also available at
- http://www.python.org/psf/license.html
-
- """
- import sys, time, os, gc
-
- import matplotlib
- matplotlib.use('WXAgg')
-
- from matplotlib import rcParams
- import numpy as npy
-
- import matplotlib.cm as cm
-
- from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg
- from matplotlib.backends.backend_wx import NavigationToolbar2Wx
-
- from matplotlib.figure import Figure
- from wx import *
-
-
- TIMER_ID = NewId()
-
- class PlotFigure(Frame):
-
- def __init__(self):
- Frame.__init__(self, None, -1, "Test embedded wxFigure")
-
- self.fig = Figure((5,4), 75)
- self.canvas = FigureCanvasWxAgg(self, -1, self.fig)
- self.toolbar = NavigationToolbar2Wx(self.canvas)
- self.toolbar.Realize()
-
- # On Windows, default frame size behaviour is incorrect
- # you don't need this under Linux
- tw, th = self.toolbar.GetSizeTuple()
- fw, fh = self.canvas.GetSizeTuple()
- self.toolbar.SetSize(Size(fw, th))
-
- # Create a figure manager to manage things
-
- # Now put all into a sizer
- sizer = BoxSizer(VERTICAL)
- # This way of adding to sizer allows resizing
- sizer.Add(self.canvas, 1, LEFT|TOP|GROW)
- # Best to allow the toolbar to resize!
- sizer.Add(self.toolbar, 0, GROW)
- self.SetSizer(sizer)
- self.Fit()
- EVT_TIMER(self, TIMER_ID, self.onTimer)
-
- def init_plot_data(self):
- # jdh you can add a subplot directly from the fig rather than
- # the fig manager
- a = self.fig.add_axes([0.075,0.1,0.75,0.85])
- cax = self.fig.add_axes([0.85,0.1,0.075,0.85])
- self.x = npy.empty((120,120))
- self.x.flat = npy.arange(120.0)*2*npy.pi/120.0
- self.y = npy.empty((120,120))
- self.y.flat = npy.arange(120.0)*2*npy.pi/100.0
- self.y = npy.transpose(self.y)
- z = npy.sin(self.x) + npy.cos(self.y)
- self.im = a.imshow( z, cmap=cm.jet)#, interpolation='nearest')
- self.fig.colorbar(self.im,cax=cax,orientation='vertical')
-
- def GetToolBar(self):
- # You will need to override GetToolBar if you are using an
- # unmanaged toolbar in your frame
- return self.toolbar
-
- def onTimer(self, evt):
- self.x += npy.pi/15
- self.y += npy.pi/20
- z = npy.sin(self.x) + npy.cos(self.y)
- self.im.set_array(z)
- self.canvas.draw()
- #self.canvas.gui_repaint() # jdh wxagg_draw calls this already
-
- def onEraseBackground(self, evt):
- # this is supposed to prevent redraw flicker on some X servers...
- pass
-
- if __name__ == '__main__':
- app = PySimpleApp()
- frame = PlotFigure()
- frame.init_plot_data()
-
- # Initialise the timer - wxPython requires this to be connected to
- # the receiving event handler
- t = Timer(frame, TIMER_ID)
- t.Start(200)
-
- frame.Show()
- app.MainLoop()
-
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/gtk_timeout.txt b/dev/_sources/examples/old_animation/gtk_timeout.txt
deleted file mode 100644
index c28e967a3e2..00000000000
--- a/dev/_sources/examples/old_animation/gtk_timeout.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-.. _old_animation-gtk_timeout:
-
-old_animation example code: gtk_timeout.py
-==========================================
-
-[`source code `_]
-
-::
-
- import gobject
- import numpy as np
- import matplotlib
- matplotlib.use('GTKAgg')
-
- import matplotlib.pyplot as plt
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
- line, = ax.plot(np.random.rand(10))
- ax.set_ylim(0, 1)
-
- def update():
- line.set_ydata(np.random.rand(10))
- fig.canvas.draw_idle()
- return True # return False to terminate the updates
-
- gobject.timeout_add(100, update) # you can also use idle_add to update when gtk is idle
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/histogram_tkagg.txt b/dev/_sources/examples/old_animation/histogram_tkagg.txt
deleted file mode 100644
index eef82469fc7..00000000000
--- a/dev/_sources/examples/old_animation/histogram_tkagg.txt
+++ /dev/null
@@ -1,82 +0,0 @@
-.. _old_animation-histogram_tkagg:
-
-old_animation example code: histogram_tkagg.py
-==============================================
-
-[`source code `_]
-
-::
-
- """
- This example shows how to use a path patch to draw a bunch of
- rectangles for an animated histogram
- """
- import time
- import numpy as np
- import matplotlib
- matplotlib.use('TkAgg') # do this before importing pylab
-
- import matplotlib.pyplot as plt
- import matplotlib.patches as patches
- import matplotlib.path as path
-
- fig = plt.figure()
- ax = fig.add_subplot(111)
-
- # histogram our data with numpy
- data = np.random.randn(1000)
- n, bins = np.histogram(data, 100)
-
- # get the corners of the rectangles for the histogram
- left = np.array(bins[:-1])
- right = np.array(bins[1:])
- bottom = np.zeros(len(left))
- top = bottom + n
- nrects = len(left)
-
- # here comes the tricky part -- we have to set up the vertex and path
- # codes arrays using moveto, lineto and closepoly
-
- # for each rect: 1 for the MOVETO, 3 for the LINETO, 1 for the
- # CLOSEPOLY; the vert for the closepoly is ignored but we still need
- # it to keep the codes aligned with the vertices
- nverts = nrects*(1+3+1)
- verts = np.zeros((nverts, 2))
- codes = np.ones(nverts, int) * path.Path.LINETO
- codes[0::5] = path.Path.MOVETO
- codes[4::5] = path.Path.CLOSEPOLY
- verts[0::5,0] = left
- verts[0::5,1] = bottom
- verts[1::5,0] = left
- verts[1::5,1] = top
- verts[2::5,0] = right
- verts[2::5,1] = top
- verts[3::5,0] = right
- verts[3::5,1] = bottom
-
- barpath = path.Path(verts, codes)
- patch = patches.PathPatch(barpath, facecolor='green', edgecolor='yellow', alpha=0.5)
- ax.add_patch(patch)
-
- ax.set_xlim(left[0], right[-1])
- ax.set_ylim(bottom.min(), top.max())
-
- def animate():
- if animate.cnt>=100:
- return
-
- animate.cnt += 1
- # simulate new data coming in
- data = np.random.randn(1000)
- n, bins = np.histogram(data, 100)
- top = bottom + n
- verts[1::5,1] = top
- verts[2::5,1] = top
- fig.canvas.draw()
- fig.canvas.manager.window.after(100, animate)
- animate.cnt = 0
- fig.canvas.manager.window.after(100, animate)
- plt.show()
-
-
-Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)
\ No newline at end of file
diff --git a/dev/_sources/examples/old_animation/index.txt b/dev/_sources/examples/old_animation/index.txt
deleted file mode 100644
index 33c99f93f94..00000000000
--- a/dev/_sources/examples/old_animation/index.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-.. _old_animation-examples-index:
-
-##############################################
-old_animation Examples
-##############################################
-
-.. htmlonly::
-
- :Release: |version|
- :Date: |today|
-
-.. toctree::
- :maxdepth: 1
-
- animate_decay_tk_blit
- animation_blit_fltk
- animation_blit_gtk
- animation_blit_gtk2
- animation_blit_qt
- animation_blit_qt4
- animation_blit_tk
- animation_blit_wx
- draggable_legend
- dynamic_collection
- dynamic_image_gtkagg
- dynamic_image_wxagg2
- gtk_timeout
- histogram_tkagg
- movie_demo
- simple_anim_gtk
- simple_anim_tkagg
- simple_idle_wx
- simple_timer_wx