forked from matplotlib/devdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
3696 lines (3641 loc) · 300 KB
/
index.html
File metadata and controls
3696 lines (3641 loc) · 300 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Gallery — Matplotlib 2.0.2.post4416.dev0+g1df513f documentation</title>
<link rel="stylesheet" href="../_static/mpl.css"
type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css"
type="text/css" />
<link rel="stylesheet" href="../_static/gallery.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '2.0.2.post4416.dev0+g1df513f',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="search" type="application/opensearchdescription+xml"
title="Search within Matplotlib 2.0.2.post4416.dev0+g1df513f documentation"
href="../_static/opensearch.xml"/>
<link rel="shortcut icon" href="../_static/favicon.ico"/>
<link rel="index" title="Index" href="../genindex.html"
/>
<link rel="search" title="Search" href="../search.html"
/>
<link rel="top" title="Matplotlib 2.0.2.post4416.dev0+g1df513f documentation" href="../index.html" />
</head>
<body>
<!-- The "Fork me on github" ribbon -->
<img style="float: right; margin-bottom: -40px; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" usemap="#ribbonmap"/>
<map name="ribbonmap">
<area shape="poly" coords="15,0,148,-1,148,135" href="https://github.com/matplotlib/matplotlib" title="Fork me on GitHub" />
</map>
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
<a href="../index.html"><img src="../_static/logo2.svg" width="540px" border="0" alt="matplotlib"/></a>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li><a href="../index.html">home</a>| </li>
<li><a href="#">examples</a>| </li>
<li><a href="../tutorials/index.html">tutorials</a>| </li>
<li><a href="../api/pyplot_summary.html">pyplot</a>| </li>
<li><a href="../contents.html">docs</a> »</li>
</ul>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper"><a href="https://www.numfocus.org">
<image src="https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A">
</a>
<br/>
<a href="http://depsy.org/package/python/matplotlib">
<img src="../_static/depsy_badge.svg">
</a>
<br/>
Travis-CI: <a href="https://travis-ci.org/matplotlib/matplotlib">
<img src="https://travis-ci.org/matplotlib/matplotlib.svg?branch=master"/>
</a>
<br/>
<h3><a href="../contents.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Gallery</a></li>
<li><a class="reference internal" href="#animation-examples-index">Animation Examples</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#matplotlib-api">Matplotlib API</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#axes-grid">Axes Grid</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#axis-artist">Axis Artist</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#color">Color</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#event-handling">Event Handling</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#front-page">Front Page</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#images-contours-and-fields">Images, contours and fields</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#lines-bars-and-markers">Lines, bars and markers</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#miscellaneous-examples">Miscellaneous Examples</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#mplot3d-toolkit">mplot3d toolkit</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#pie-and-polar-charts">Pie and polar charts</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#pylab-examples">Pylab Examples</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#pyplot-examples">Pyplot Examples</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#our-favorite-recipes">Our Favorite Recipes</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#scales-in-matplotlib">Scales in Matplotlib</a></li>
<li><a class="reference internal" href="#shapes-and-collections">Shapes and collections</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#showcase">Showcase</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#specialty-plots">Specialty Plots</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#statistics">Statistics</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#style-sheets">Style sheets</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#subplots-axes-and-figures">Subplots, axes and figures</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#text-labels-and-annotations">Text, labels and annotations</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#ticks-and-spines">Ticks and spines</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#units-in-matplotlib">Units in Matplotlib</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#embedding-matplotlib-in-graphical-user-interfaces">Embedding matplotlib in graphical user interfaces</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#userdemo">Userdemo</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#widgets">Widgets</a><ul>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../contents.html">Documentation overview</a><ul>
</ul></li>
</ul>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/gallery/index.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="gallery">
<span id="examples-index"></span><span id="id1"></span><h1>Gallery<a class="headerlink" href="#gallery" title="Permalink to this headline">¶</a></h1>
<p>This gallery contains examples of the many things you can do with
Matplotlib. Click on any image to see the full image and source code.</p>
<p>For longer tutorials, see our <a class="reference external" href="../tutorials/index.html">tutorials page</a>.
You can also find <a class="reference external" href="../resources/index.html">external resources</a> and
a <a class="reference external" href="../faq/index.html">FAQ</a> in our <a class="reference external" href="../contents.html">user guide</a>.</p>
<div style='clear:both'></div></div>
<div class="section" id="animation-examples-index">
<span id="animation-examples"></span><span id="id2"></span><h1>Animation Examples<a class="headerlink" href="#animation-examples-index" title="Permalink to this headline">¶</a></h1>
<div class="sphx-glr-thumbcontainer" tooltip="Pyplot animation example."><div class="figure" id="id7">
<img alt="../_images/sphx_glr_animation_demo_thumb.png" src="../_images/sphx_glr_animation_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/animation_demo.html#sphx-glr-gallery-animation-animation-demo-py"><span class="std std-ref">Animation Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="An animation of random data."><div class="figure" id="id8">
<img alt="../_images/sphx_glr_random_data_thumb.png" src="../_images/sphx_glr_random_data_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/random_data.html#sphx-glr-gallery-animation-random-data-py"><span class="std std-ref">Random data</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example demonstrates how to animate an image. "><div class="figure" id="id9">
<img alt="../_images/sphx_glr_dynamic_image_thumb.png" src="../_images/sphx_glr_dynamic_image_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/dynamic_image.html#sphx-glr-gallery-animation-dynamic-image-py"><span class="std std-ref">An animated image</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="A simple example of an animated plot "><div class="figure" id="id10">
<img alt="../_images/sphx_glr_simple_anim_thumb.png" src="../_images/sphx_glr_simple_anim_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/simple_anim.html#sphx-glr-gallery-animation-simple-anim-py"><span class="std std-ref">Simple Anim</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example uses a MovieWriter directly to grab individual frames and write them to a file. Th..."><div class="figure" id="id11">
<img alt="../_images/sphx_glr_moviewriter_sgskip_thumb.png" src="../_images/sphx_glr_moviewriter_sgskip_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/moviewriter_sgskip.html#sphx-glr-gallery-animation-moviewriter-sgskip-py"><span class="std std-ref">MovieWriter</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This examples demonstrates how to animate an image from a list of images (or Artists). "><div class="figure" id="id12">
<img alt="../_images/sphx_glr_dynamic_image2_thumb.png" src="../_images/sphx_glr_dynamic_image2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/dynamic_image2.html#sphx-glr-gallery-animation-dynamic-image2-py"><span class="std std-ref">An animated image using a list of images</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example showcases a sinusoidal decay animation. "><div class="figure" id="id13">
<img alt="../_images/sphx_glr_animate_decay_thumb.png" src="../_images/sphx_glr_animate_decay_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/animate_decay.html#sphx-glr-gallery-animation-animate-decay-py"><span class="std std-ref">Decay</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id14">
<img alt="../_images/sphx_glr_image_slices_viewer_thumb.png" src="../_images/sphx_glr_image_slices_viewer_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/image_slices_viewer.html#sphx-glr-gallery-animation-image-slices-viewer-py"><span class="std std-ref">Image Slices Viewer</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example contains two animations. The first is a random walk plot. The second is an image a..."><div class="figure" id="id15">
<img alt="../_images/sphx_glr_basic_example_thumb.png" src="../_images/sphx_glr_basic_example_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/basic_example.html#sphx-glr-gallery-animation-basic-example-py"><span class="std std-ref">Simple animation examples</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example showcases the same animations as `basic_example.py`, but instead of displaying the..."><div class="figure" id="id16">
<img alt="../_images/sphx_glr_basic_example_writer_sgskip_thumb.png" src="../_images/sphx_glr_basic_example_writer_sgskip_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/basic_example_writer_sgskip.html#sphx-glr-gallery-animation-basic-example-writer-sgskip-py"><span class="std std-ref">Saving an animation</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Emulates an oscilloscope. "><div class="figure" id="id17">
<img alt="../_images/sphx_glr_strip_chart_demo_thumb.png" src="../_images/sphx_glr_strip_chart_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/strip_chart_demo.html#sphx-glr-gallery-animation-strip-chart-demo-py"><span class="std std-ref">Oscilloscope</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This animation displays the posterior estimate updates as it is refitted when new data arrives...."><div class="figure" id="id18">
<img alt="../_images/sphx_glr_bayes_update_sgskip_thumb.png" src="../_images/sphx_glr_bayes_update_sgskip_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/bayes_update_sgskip.html#sphx-glr-gallery-animation-bayes-update-sgskip-py"><span class="std std-ref">The Bayes update</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example shows how to use a path patch to draw a bunch of rectangles for an animated histog..."><div class="figure" id="id19">
<img alt="../_images/sphx_glr_histogram_thumb.png" src="../_images/sphx_glr_histogram_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/histogram.html#sphx-glr-gallery-animation-histogram-py"><span class="std std-ref">Animated histogram</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Comparative path demonstration of frequency from a fake signal of a pulsar. (mostly known becau..."><div class="figure" id="id20">
<img alt="../_images/sphx_glr_unchained_thumb.png" src="../_images/sphx_glr_unchained_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/unchained.html#sphx-glr-gallery-animation-unchained-py"><span class="std std-ref">MATPLOTLIB UNCHAINED</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="A simple example of an animated plot... In 3D! "><div class="figure" id="id21">
<img alt="../_images/sphx_glr_simple_3danim_thumb.png" src="../_images/sphx_glr_simple_3danim_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/simple_3danim.html#sphx-glr-gallery-animation-simple-3danim-py"><span class="std std-ref">3D animation</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This animation illustrates the double pendulum problem."><div class="figure" id="id22">
<img alt="../_images/sphx_glr_double_pendulum_animated_sgskip_thumb.png" src="../_images/sphx_glr_double_pendulum_animated_sgskip_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/double_pendulum_animated_sgskip.html#sphx-glr-gallery-animation-double-pendulum-animated-sgskip-py"><span class="std std-ref">The double pendulum problem</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Simulates rain drops on a surface by animating the scale and opacity of 50 scatter points."><div class="figure" id="id23">
<img alt="../_images/sphx_glr_rain_thumb.png" src="../_images/sphx_glr_rain_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/rain.html#sphx-glr-gallery-animation-rain-py"><span class="std std-ref">Rain simulation</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example uses subclassing, but there is no reason that the proper function couldn't be set ..."><div class="figure" id="id24">
<img alt="../_images/sphx_glr_subplots_thumb.png" src="../_images/sphx_glr_subplots_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="animation/subplots.html#sphx-glr-gallery-animation-subplots-py"><span class="std std-ref">Animated subplots</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div style='clear:both'></div></div>
<div class="section" id="matplotlib-api">
<span id="api-examples"></span><h1>Matplotlib API<a class="headerlink" href="#matplotlib-api" title="Permalink to this headline">¶</a></h1>
<p>These examples use the Matplotlib api rather than the pylab/pyplot
procedural state machine. For robust, production level scripts, or
for applications or web application servers, we recommend you use the
Matplotlib API directly as it gives you the maximum control over your
figures, axes and plottng commands.</p>
<p>The example agg_oo.py is the simplest example of using the Agg backend
which is readily ported to other output formats. This example is a
good starting point if your are a web application developer. Many of
the other examples in this directory use <code class="docutils literal"><span class="pre">matplotlib.pyplot</span></code> just to
create the figure and show calls, and use the API for everything else.
This is a good solution for production quality scripts. For full
fledged GUI applications, see the user_interfaces examples.</p>
<div class="sphx-glr-thumbcontainer" tooltip="You can explicitly set which font family is picked up for a given font style (e.g., 'serif', 's..."><div class="figure" id="id25">
<img alt="../_images/sphx_glr_font_family_rc_sgskip_thumb.png" src="../_images/sphx_glr_font_family_rc_sgskip_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/font_family_rc_sgskip.html#sphx-glr-gallery-api-font-family-rc-sgskip-py"><span class="std std-ref">Configuring the font family</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="A pure OO (look Ma, no pylab!) example using the agg backend"><div class="figure" id="id26">
<img alt="../_images/sphx_glr_agg_oo_sgskip_thumb.png" src="../_images/sphx_glr_agg_oo_sgskip_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/agg_oo_sgskip.html#sphx-glr-gallery-api-agg-oo-sgskip-py"><span class="std std-ref">The object-oriented interface</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="You can use the proper typesetting Unicode minus (see https://en.wikipedia.org/wiki/Plus_sign#P..."><div class="figure" id="id27">
<img alt="../_images/sphx_glr_unicode_minus_thumb.png" src="../_images/sphx_glr_unicode_minus_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/unicode_minus.html#sphx-glr-gallery-api-unicode-minus-py"><span class="std std-ref">Unicode minus</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Demo to show use of the engineering Formatter. "><div class="figure" id="id28">
<img alt="../_images/sphx_glr_engineering_formatter_thumb.png" src="../_images/sphx_glr_engineering_formatter_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/engineering_formatter.html#sphx-glr-gallery-api-engineering-formatter-py"><span class="std std-ref">Labeling ticks using engineering notation</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Use a Text as a watermark "><div class="figure" id="id29">
<img alt="../_images/sphx_glr_watermark_text_thumb.png" src="../_images/sphx_glr_watermark_text_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/watermark_text.html#sphx-glr-gallery-api-watermark-text-py"><span class="std std-ref">Text watermark</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example showcases the PathPatch object to create a Bezier polycurve path patch. "><div class="figure" id="id30">
<img alt="../_images/sphx_glr_quad_bezier_thumb.png" src="../_images/sphx_glr_quad_bezier_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/quad_bezier.html#sphx-glr-gallery-api-quad-bezier-py"><span class="std std-ref">Bezier Curve</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Notice how the legend labels are defined with the plots! "><div class="figure" id="id31">
<img alt="../_images/sphx_glr_legend_thumb.png" src="../_images/sphx_glr_legend_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/legend.html#sphx-glr-gallery-api-legend-py"><span class="std std-ref">Legend using pre-defined labels</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Use a PNG file as a watermark "><div class="figure" id="id32">
<img alt="../_images/sphx_glr_watermark_image_thumb.png" src="../_images/sphx_glr_watermark_image_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/watermark_image.html#sphx-glr-gallery-api-watermark-image-py"><span class="std std-ref">Watermark image</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Show how to modify the coordinate formatter to report the image "z" value of the nearest pixel ..."><div class="figure" id="id33">
<img alt="../_images/sphx_glr_image_zcoord_thumb.png" src="../_images/sphx_glr_image_zcoord_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/image_zcoord.html#sphx-glr-gallery-api-image-zcoord-py"><span class="std std-ref">Modifying the coordinate formatter</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Illustrate some helper functions for shading regions where a logical mask is True"><div class="figure" id="id34">
<img alt="../_images/sphx_glr_span_regions_thumb.png" src="../_images/sphx_glr_span_regions_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/span_regions.html#sphx-glr-gallery-api-span-regions-py"><span class="std std-ref">Using span_where</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Make a compound path -- in this case two simple polygons, a rectangle and a triangle. Use CLOS..."><div class="figure" id="id35">
<img alt="../_images/sphx_glr_compound_path_thumb.png" src="../_images/sphx_glr_compound_path_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/compound_path.html#sphx-glr-gallery-api-compound-path-py"><span class="std std-ref">Compound path</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example shows how to make images from LaTeX strings. "><div class="figure" id="id36">
<img alt="../_images/sphx_glr_mathtext_asarray_thumb.png" src="../_images/sphx_glr_mathtext_asarray_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/mathtext_asarray.html#sphx-glr-gallery-api-mathtext-asarray-py"><span class="std std-ref">A mathtext image as numpy array</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="The lines intersecting the rectangle are colored in red, while the others are left as blue line..."><div class="figure" id="id37">
<img alt="../_images/sphx_glr_bbox_intersect_thumb.png" src="../_images/sphx_glr_bbox_intersect_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/bbox_intersect.html#sphx-glr-gallery-api-bbox-intersect-py"><span class="std std-ref">Changing colors of lines intersecting a box</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Let's explore various normalization on a multivariate normal distribution."><div class="figure" id="id38">
<img alt="../_images/sphx_glr_power_norm_thumb.png" src="../_images/sphx_glr_power_norm_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/power_norm.html#sphx-glr-gallery-api-power-norm-py"><span class="std std-ref">Exploring normalizations</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Illustrate the three different join styles "><div class="figure" id="id39">
<img alt="../_images/sphx_glr_joinstyle_thumb.png" src="../_images/sphx_glr_joinstyle_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/joinstyle.html#sphx-glr-gallery-api-joinstyle-py"><span class="std std-ref">Join styles</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example shows how to use colorbar by specifying the mappable object (here the imshow retur..."><div class="figure" id="id40">
<img alt="../_images/sphx_glr_colorbar_basics_thumb.png" src="../_images/sphx_glr_colorbar_basics_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/colorbar_basics.html#sphx-glr-gallery-api-colorbar-basics-py"><span class="std std-ref">Colorbar</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Although it is usually not a good idea to explicitly point to a single ttf file for a font inst..."><div class="figure" id="id41">
<img alt="../_images/sphx_glr_font_file_sgskip_thumb.png" src="../_images/sphx_glr_font_file_sgskip_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/font_file_sgskip.html#sphx-glr-gallery-api-font-file-sgskip-py"><span class="std std-ref">Using a ttf font file in matplotlib</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example shows how to use a path patch to draw a bunch of rectangles. The technique of usi..."><div class="figure" id="id42">
<img alt="../_images/sphx_glr_histogram_path_thumb.png" src="../_images/sphx_glr_histogram_path_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/histogram_path.html#sphx-glr-gallery-api-histogram-path-py"><span class="std std-ref">Building histograms using Rectangles and PolyCollections</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="A bar plot with errorbars and height labels on individual bars "><div class="figure" id="id43">
<img alt="../_images/sphx_glr_barchart_thumb.png" src="../_images/sphx_glr_barchart_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/barchart.html#sphx-glr-gallery-api-barchart-py"><span class="std std-ref">Barchart</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Demonstrate how to do two plots on the same axes with different left and right scales."><div class="figure" id="id44">
<img alt="../_images/sphx_glr_two_scales_thumb.png" src="../_images/sphx_glr_two_scales_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/two_scales.html#sphx-glr-gallery-api-two-scales-py"><span class="std std-ref">Plots with different scales</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example makes custom 'pie charts' as the markers for a scatter plot."><div class="figure" id="id45">
<img alt="../_images/sphx_glr_scatter_piecharts_thumb.png" src="../_images/sphx_glr_scatter_piecharts_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/scatter_piecharts.html#sphx-glr-gallery-api-scatter-piecharts-py"><span class="std std-ref">Scatter plot with pie chart markers</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="When plotting time series, e.g., financial time series, one often wants to leave out days on wh..."><div class="figure" id="id46">
<img alt="../_images/sphx_glr_date_index_formatter_thumb.png" src="../_images/sphx_glr_date_index_formatter_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/date_index_formatter.html#sphx-glr-gallery-api-date-index-formatter-py"><span class="std std-ref">Custom tick formatter for time series</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example demonstrates how to use patch collections. "><div class="figure" id="id47">
<img alt="../_images/sphx_glr_patch_collection_thumb.png" src="../_images/sphx_glr_patch_collection_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/patch_collection.html#sphx-glr-gallery-api-patch-collection-py"><span class="std std-ref">Circles, Wedges and Polygons</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="For the backends that support draw_image with optional affine transform (e.g., agg, ps backend)..."><div class="figure" id="id48">
<img alt="../_images/sphx_glr_affine_image_thumb.png" src="../_images/sphx_glr_affine_image_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/affine_image.html#sphx-glr-gallery-api-affine-image-py"><span class="std std-ref">Affine transform of an image</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Show how to make date plots in matplotlib using date tick locators and formatters. See major_m..."><div class="figure" id="id49">
<img alt="../_images/sphx_glr_date_thumb.png" src="../_images/sphx_glr_date_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/date.html#sphx-glr-gallery-api-date-py"><span class="std std-ref">Date tick labels</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example draws donuts (miam!) using Path and Patches. "><div class="figure" id="id50">
<img alt="../_images/sphx_glr_donut_thumb.png" src="../_images/sphx_glr_donut_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/donut.html#sphx-glr-gallery-api-donut-py"><span class="std std-ref">Mmh Donuts!!!</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Demonstrate/test the Sankey class by producing a long chain of connections. "><div class="figure" id="id51">
<img alt="../_images/sphx_glr_sankey_links_thumb.png" src="../_images/sphx_glr_sankey_links_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/sankey_links.html#sphx-glr-gallery-api-sankey-links-py"><span class="std std-ref">Long chain of connections using Sankey</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Show how to override basic methods so an artist can contain another artist. In this case, the ..."><div class="figure" id="id52">
<img alt="../_images/sphx_glr_line_with_text_thumb.png" src="../_images/sphx_glr_line_with_text_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/line_with_text.html#sphx-glr-gallery-api-line-with-text-py"><span class="std std-ref">Artist within an artist</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Displays some matplotlib logos."><div class="figure" id="id53">
<img alt="../_images/sphx_glr_logos2_thumb.png" src="../_images/sphx_glr_logos2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/logos2.html#sphx-glr-gallery-api-logos2-py"><span class="std std-ref">Matplotlib Logos</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Demonstrate the Sankey class by producing three basic diagrams. "><div class="figure" id="id54">
<img alt="../_images/sphx_glr_sankey_basics_thumb.png" src="../_images/sphx_glr_sankey_basics_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/sankey_basics.html#sphx-glr-gallery-api-sankey-basics-py"><span class="std std-ref">The Sankey class</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="For the first two subplots, we will use spirals. Their size will be set in plot units, not dat..."><div class="figure" id="id55">
<img alt="../_images/sphx_glr_collections_thumb.png" src="../_images/sphx_glr_collections_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/collections.html#sphx-glr-gallery-api-collections-py"><span class="std std-ref">Line, Poly and RegularPoly Collection with autoscaling</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Demonstrate the Sankey class with a practical example of a Rankine power cycle."><div class="figure" id="id56">
<img alt="../_images/sphx_glr_sankey_rankine_thumb.png" src="../_images/sphx_glr_sankey_rankine_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/sankey_rankine.html#sphx-glr-gallery-api-sankey-rankine-py"><span class="std std-ref">Rankine power cycle</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example showcases how to create a custom scale, by implementing the scaling use for latitu..."><div class="figure" id="id57">
<img alt="../_images/sphx_glr_custom_scale_example_thumb.png" src="../_images/sphx_glr_custom_scale_example_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/custom_scale_example.html#sphx-glr-gallery-api-custom-scale-example-py"><span class="std std-ref">Custom scale</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example showcases the hatching capabilities of matplotlib by plotting various histograms. "><div class="figure" id="id58">
<img alt="../_images/sphx_glr_filled_step_thumb.png" src="../_images/sphx_glr_filled_step_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/filled_step.html#sphx-glr-gallery-api-filled-step-py"><span class="std std-ref">Hatch-filled histograms</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example creates a radar chart, also known as a spider or star chart [1]_."><div class="figure" id="id59">
<img alt="../_images/sphx_glr_radar_chart_thumb.png" src="../_images/sphx_glr_radar_chart_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/radar_chart.html#sphx-glr-gallery-api-radar-chart-py"><span class="std std-ref">Radar chart (aka spider or star chart)</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This serves as an intensive exercise of matplotlib's transforms and custom projection API. This..."><div class="figure" id="id60">
<img alt="../_images/sphx_glr_skewt_thumb.png" src="../_images/sphx_glr_skewt_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/skewt.html#sphx-glr-gallery-api-skewt-py"><span class="std std-ref">SkewT-logP diagram: using transforms and custom projections</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example showcases the Hammer projection by alleviating many features of matplotlib. "><div class="figure" id="id61">
<img alt="../_images/sphx_glr_custom_projection_example_thumb.png" src="../_images/sphx_glr_custom_projection_example_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="api/custom_projection_example.html#sphx-glr-gallery-api-custom-projection-example-py"><span class="std std-ref">Custom projection</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div style='clear:both'></div></div>
<div class="section" id="axes-grid">
<span id="axes-grid1-examples-index"></span><span id="axes-grid-examples"></span><h1>Axes Grid<a class="headerlink" href="#axes-grid" title="Permalink to this headline">¶</a></h1>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id62">
<img alt="../_images/sphx_glr_demo_imagegrid_aspect_thumb.png" src="../_images/sphx_glr_demo_imagegrid_aspect_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_imagegrid_aspect.html#sphx-glr-gallery-axes-grid1-demo-imagegrid-aspect-py"><span class="std std-ref">Demo Imagegrid Aspect</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id63">
<img alt="../_images/sphx_glr_simple_colorbar_thumb.png" src="../_images/sphx_glr_simple_colorbar_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/simple_colorbar.html#sphx-glr-gallery-axes-grid1-simple-colorbar-py"><span class="std std-ref">Simple Colorbar</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id64">
<img alt="../_images/sphx_glr_simple_axesgrid_thumb.png" src="../_images/sphx_glr_simple_axesgrid_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/simple_axesgrid.html#sphx-glr-gallery-axes-grid1-simple-axesgrid-py"><span class="std std-ref">Simple Axesgrid</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id65">
<img alt="../_images/sphx_glr_demo_new_colorbar_thumb.png" src="../_images/sphx_glr_demo_new_colorbar_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_new_colorbar.html#sphx-glr-gallery-axes-grid1-demo-new-colorbar-py"><span class="std std-ref">Demo New Colorbar</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id66">
<img alt="../_images/sphx_glr_parasite_simple_thumb.png" src="../_images/sphx_glr_parasite_simple_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/parasite_simple.html#sphx-glr-gallery-axes-grid1-parasite-simple-py"><span class="std std-ref">Parasite Simple</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id67">
<img alt="../_images/sphx_glr_simple_axisline4_thumb.png" src="../_images/sphx_glr_simple_axisline4_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/simple_axisline4.html#sphx-glr-gallery-axes-grid1-simple-axisline4-py"><span class="std std-ref">Simple Axisline4</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id68">
<img alt="../_images/sphx_glr_demo_colorbar_with_axes_divider_thumb.png" src="../_images/sphx_glr_demo_colorbar_with_axes_divider_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_colorbar_with_axes_divider.html#sphx-glr-gallery-axes-grid1-demo-colorbar-with-axes-divider-py"><span class="std std-ref">Demo Colorbar with Axes Divider</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id69">
<img alt="../_images/sphx_glr_simple_rgb_thumb.png" src="../_images/sphx_glr_simple_rgb_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/simple_rgb.html#sphx-glr-gallery-axes-grid1-simple-rgb-py"><span class="std std-ref">Simple RGB</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id70">
<img alt="../_images/sphx_glr_simple_axesgrid2_thumb.png" src="../_images/sphx_glr_simple_axesgrid2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/simple_axesgrid2.html#sphx-glr-gallery-axes-grid1-simple-axesgrid2-py"><span class="std std-ref">Simple Axesgrid2</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id71">
<img alt="../_images/sphx_glr_simple_axes_divider1_thumb.png" src="../_images/sphx_glr_simple_axes_divider1_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/simple_axes_divider1.html#sphx-glr-gallery-axes-grid1-simple-axes-divider1-py"><span class="std std-ref">Simple Axes Divider 1</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id72">
<img alt="../_images/sphx_glr_simple_axes_divider2_thumb.png" src="../_images/sphx_glr_simple_axes_divider2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/simple_axes_divider2.html#sphx-glr-gallery-axes-grid1-simple-axes-divider2-py"><span class="std std-ref">Simple Axes Divider 2</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id73">
<img alt="../_images/sphx_glr_simple_axes_divider3_thumb.png" src="../_images/sphx_glr_simple_axes_divider3_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/simple_axes_divider3.html#sphx-glr-gallery-axes-grid1-simple-axes-divider3-py"><span class="std std-ref">Simple Axes Divider 3</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id74">
<img alt="../_images/sphx_glr_demo_colorbar_with_inset_locator_thumb.png" src="../_images/sphx_glr_demo_colorbar_with_inset_locator_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_colorbar_with_inset_locator.html#sphx-glr-gallery-axes-grid1-demo-colorbar-with-inset-locator-py"><span class="std std-ref">Demo Colorbar With Inset Locator</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id75">
<img alt="../_images/sphx_glr_demo_colorbar_of_inset_axes_thumb.png" src="../_images/sphx_glr_demo_colorbar_of_inset_axes_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_colorbar_of_inset_axes.html#sphx-glr-gallery-axes-grid1-demo-colorbar-of-inset-axes-py"><span class="std std-ref">Demo Colorbar of Inset Axes</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id76">
<img alt="../_images/sphx_glr_inset_locator_demo_thumb.png" src="../_images/sphx_glr_inset_locator_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/inset_locator_demo.html#sphx-glr-gallery-axes-grid1-inset-locator-demo-py"><span class="std std-ref">Inset Locator Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id77">
<img alt="../_images/sphx_glr_parasite_simple2_thumb.png" src="../_images/sphx_glr_parasite_simple2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/parasite_simple2.html#sphx-glr-gallery-axes-grid1-parasite-simple2-py"><span class="std std-ref">Parasite Simple2</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id78">
<img alt="../_images/sphx_glr_demo_fixed_size_axes_thumb.png" src="../_images/sphx_glr_demo_fixed_size_axes_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_fixed_size_axes.html#sphx-glr-gallery-axes-grid1-demo-fixed-size-axes-py"><span class="std std-ref">Demo Fixed Size Axes</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id79">
<img alt="../_images/sphx_glr_inset_locator_demo2_thumb.png" src="../_images/sphx_glr_inset_locator_demo2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/inset_locator_demo2.html#sphx-glr-gallery-axes-grid1-inset-locator-demo2-py"><span class="std std-ref">Inset Locator Demo2</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id80">
<img alt="../_images/sphx_glr_demo_axes_hbox_divider_thumb.png" src="../_images/sphx_glr_demo_axes_hbox_divider_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_axes_hbox_divider.html#sphx-glr-gallery-axes-grid1-demo-axes-hbox-divider-py"><span class="std std-ref">Demo Axes Hbox Divider</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id81">
<img alt="../_images/sphx_glr_scatter_hist_thumb.png" src="../_images/sphx_glr_scatter_hist_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/scatter_hist.html#sphx-glr-gallery-axes-grid1-scatter-hist-py"><span class="std std-ref">Scatter Hist</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id82">
<img alt="../_images/sphx_glr_make_room_for_ylabel_using_axesgrid_thumb.png" src="../_images/sphx_glr_make_room_for_ylabel_using_axesgrid_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/make_room_for_ylabel_using_axesgrid.html#sphx-glr-gallery-axes-grid1-make-room-for-ylabel-using-axesgrid-py"><span class="std std-ref">Make Room For Ylabel Using Axesgrid</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id83">
<img alt="../_images/sphx_glr_demo_axes_rgb_thumb.png" src="../_images/sphx_glr_demo_axes_rgb_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_axes_rgb.html#sphx-glr-gallery-axes-grid1-demo-axes-rgb-py"><span class="std std-ref">Demo Axes RGB</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id84">
<img alt="../_images/sphx_glr_simple_anchored_artists_thumb.png" src="../_images/sphx_glr_simple_anchored_artists_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/simple_anchored_artists.html#sphx-glr-gallery-axes-grid1-simple-anchored-artists-py"><span class="std std-ref">Simple Anchored Artists</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id85">
<img alt="../_images/sphx_glr_demo_edge_colorbar_thumb.png" src="../_images/sphx_glr_demo_edge_colorbar_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_edge_colorbar.html#sphx-glr-gallery-axes-grid1-demo-edge-colorbar-py"><span class="std std-ref">Demo Edge Colorbar</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id86">
<img alt="../_images/sphx_glr_demo_axes_divider_thumb.png" src="../_images/sphx_glr_demo_axes_divider_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_axes_divider.html#sphx-glr-gallery-axes-grid1-demo-axes-divider-py"><span class="std std-ref">Demo Axes Divider</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id87">
<img alt="../_images/sphx_glr_demo_axes_grid2_thumb.png" src="../_images/sphx_glr_demo_axes_grid2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_axes_grid2.html#sphx-glr-gallery-axes-grid1-demo-axes-grid2-py"><span class="std std-ref">Demo Axes Grid2</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id88">
<img alt="../_images/sphx_glr_demo_axes_grid_thumb.png" src="../_images/sphx_glr_demo_axes_grid_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axes_grid1/demo_axes_grid.html#sphx-glr-gallery-axes-grid1-demo-axes-grid-py"><span class="std std-ref">Demo Axes Grid</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div style='clear:both'></div></div>
<div class="section" id="axis-artist">
<span id="axisartist-examples-index"></span><span id="axis-artist-examples"></span><h1>Axis Artist<a class="headerlink" href="#axis-artist" title="Permalink to this headline">¶</a></h1>
<div class="sphx-glr-thumbcontainer" tooltip="This example shows some configurations for axis style. "><div class="figure" id="id89">
<img alt="../_images/sphx_glr_demo_axisline_style_thumb.png" src="../_images/sphx_glr_demo_axisline_style_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axisartist/demo_axisline_style.html#sphx-glr-gallery-axisartist-demo-axisline-style-py"><span class="std std-ref">Axis line styles</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Parasite axis demo"><div class="figure" id="id90">
<img alt="../_images/sphx_glr_demo_parasite_axes2_thumb.png" src="../_images/sphx_glr_demo_parasite_axes2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axisartist/demo_parasite_axes2.html#sphx-glr-gallery-axisartist-demo-parasite-axes2-py"><span class="std std-ref">Demo Parasite Axes2</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Custom grid and ticklines."><div class="figure" id="id91">
<img alt="../_images/sphx_glr_demo_curvelinear_grid2_thumb.png" src="../_images/sphx_glr_demo_curvelinear_grid2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axisartist/demo_curvelinear_grid2.html#sphx-glr-gallery-axisartist-demo-curvelinear-grid2-py"><span class="std std-ref">Demo Curvelinear Grid2</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Axis within rectangular frame"><div class="figure" id="id92">
<img alt="../_images/sphx_glr_demo_floating_axis_thumb.png" src="../_images/sphx_glr_demo_floating_axis_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axisartist/demo_floating_axis.html#sphx-glr-gallery-axisartist-demo-floating-axis-py"><span class="std std-ref">Demo Floating Axis</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Custom grid and ticklines."><div class="figure" id="id93">
<img alt="../_images/sphx_glr_demo_curvelinear_grid_thumb.png" src="../_images/sphx_glr_demo_curvelinear_grid_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axisartist/demo_curvelinear_grid.html#sphx-glr-gallery-axisartist-demo-curvelinear-grid-py"><span class="std std-ref">Demo Curvelinear Grid</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Demo of the floating axes."><div class="figure" id="id94">
<img alt="../_images/sphx_glr_demo_floating_axes_thumb.png" src="../_images/sphx_glr_demo_floating_axes_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="axisartist/demo_floating_axes.html#sphx-glr-gallery-axisartist-demo-floating-axes-py"><span class="std std-ref">Demo Floating Axes</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div style='clear:both'></div></div>
<div class="section" id="color">
<span id="color-examples"></span><h1>Color<a class="headerlink" href="#color" title="Permalink to this headline">¶</a></h1>
<p>For more in-depth information about the colormaps available in matplotlib
as well as a description of their properties,
see the <a class="reference internal" href="../tutorials/index.html#tutorials-colors"><span class="std std-ref">colormaps tutorial</span></a>.</p>
<div class="sphx-glr-thumbcontainer" tooltip="matplotlib gives you 5 ways to specify colors,"><div class="figure" id="id95">
<img alt="../_images/sphx_glr_color_demo_thumb.png" src="../_images/sphx_glr_color_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="color/color_demo.html#sphx-glr-gallery-color-color-demo-py"><span class="std std-ref">Color Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Use masked arrays to plot a line with different colors by y-value. "><div class="figure" id="id96">
<img alt="../_images/sphx_glr_color_by_yvalue_thumb.png" src="../_images/sphx_glr_color_by_yvalue_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="color/color_by_yvalue.html#sphx-glr-gallery-color-color-by-yvalue-py"><span class="std std-ref">Color By y-value</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Demo of custom property-cycle settings to control colors and other style properties for multi-l..."><div class="figure" id="id97">
<img alt="../_images/sphx_glr_color_cycle_thumb.png" src="../_images/sphx_glr_color_cycle_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="color/color_cycle.html#sphx-glr-gallery-color-color-cycle-py"><span class="std std-ref">Styling with cycler</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Display the colors from the default prop_cycle. "><div class="figure" id="id98">
<img alt="../_images/sphx_glr_color_cycle_default_thumb.png" src="../_images/sphx_glr_color_cycle_default_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="color/color_cycle_default.html#sphx-glr-gallery-color-color-cycle-default-py"><span class="std std-ref">Colors in the default property cycle</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Simple plot example with the named colors and its visual representation. "><div class="figure" id="id99">
<img alt="../_images/sphx_glr_named_colors_thumb.png" src="../_images/sphx_glr_named_colors_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="color/named_colors.html#sphx-glr-gallery-color-named-colors-py"><span class="std std-ref">Visualizing named colors</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Some simple functions to generate colours."><div class="figure" id="id100">
<img alt="../_images/sphx_glr_colors_sgskip_thumb.png" src="../_images/sphx_glr_colors_sgskip_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="color/colors_sgskip.html#sphx-glr-gallery-color-colors-sgskip-py"><span class="std std-ref">Colours</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div style='clear:both'></div></div>
<div class="section" id="event-handling">
<span id="event-handling-examples"></span><h1>Event Handling<a class="headerlink" href="#event-handling" title="Permalink to this headline">¶</a></h1>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id101">
<img alt="../_images/sphx_glr_close_event_thumb.png" src="../_images/sphx_glr_close_event_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/close_event.html#sphx-glr-gallery-event-handling-close-event-py"><span class="std std-ref">Close Event</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Show how to connect to keypress events "><div class="figure" id="id102">
<img alt="../_images/sphx_glr_keypress_demo_thumb.png" src="../_images/sphx_glr_keypress_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/keypress_demo.html#sphx-glr-gallery-event-handling-keypress-demo-py"><span class="std std-ref">Keypress Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Simple example of using general timer objects. This is used to update the time placed in the ti..."><div class="figure" id="id103">
<img alt="../_images/sphx_glr_timers_thumb.png" src="../_images/sphx_glr_timers_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/timers.html#sphx-glr-gallery-event-handling-timers-py"><span class="std std-ref">Timers</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example shows how to connect events in one window, for example, a mouse press, to another ..."><div class="figure" id="id104">
<img alt="../_images/sphx_glr_zoom_window_thumb.png" src="../_images/sphx_glr_zoom_window_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/zoom_window.html#sphx-glr-gallery-event-handling-zoom-window-py"><span class="std std-ref">Zoom Window</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="compute the mean and standard deviation (stddev) of 100 data sets and plot mean vs stddev. Whe..."><div class="figure" id="id105">
<img alt="../_images/sphx_glr_pick_event_demo2_thumb.png" src="../_images/sphx_glr_pick_event_demo2_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/pick_event_demo2.html#sphx-glr-gallery-event-handling-pick-event-demo2-py"><span class="std std-ref">Pick Event Demo2</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="A small game demo using Matplotlib."><div class="figure" id="id106">
<img alt="../_images/sphx_glr_pong_sgskip_thumb.png" src="../_images/sphx_glr_pong_sgskip_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/pong_sgskip.html#sphx-glr-gallery-event-handling-pong-sgskip-py"><span class="std std-ref">Pong</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Enable picking on the legend to toggle the original line on and off "><div class="figure" id="id107">
<img alt="../_images/sphx_glr_legend_picking_thumb.png" src="../_images/sphx_glr_legend_picking_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/legend_picking.html#sphx-glr-gallery-event-handling-legend-picking-py"><span class="std std-ref">Legend Picking</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Illustrate the figure and axes enter and leave events by changing the frame colors on enter and..."><div class="figure" id="id108">
<img alt="../_images/sphx_glr_figure_axes_enter_leave_thumb.png" src="../_images/sphx_glr_figure_axes_enter_leave_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/figure_axes_enter_leave.html#sphx-glr-gallery-event-handling-figure-axes-enter-leave-py"><span class="std std-ref">Figure Axes Enter Leave</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id109">
<img alt="../_images/sphx_glr_looking_glass_thumb.png" src="../_images/sphx_glr_looking_glass_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/looking_glass.html#sphx-glr-gallery-event-handling-looking-glass-py"><span class="std std-ref">Looking Glass</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Example showing the use of a TriFinder object. As the mouse is moved over the triangulation, t..."><div class="figure" id="id110">
<img alt="../_images/sphx_glr_trifinder_event_demo_thumb.png" src="../_images/sphx_glr_trifinder_event_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/trifinder_event_demo.html#sphx-glr-gallery-event-handling-trifinder-event-demo-py"><span class="std std-ref">Trifinder Event Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Downsampling lowers the sample rate or sample size of a signal. In this tutorial, the signal is..."><div class="figure" id="id111">
<img alt="../_images/sphx_glr_resample_thumb.png" src="../_images/sphx_glr_resample_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/resample.html#sphx-glr-gallery-event-handling-resample-py"><span class="std std-ref">Resampling Data</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Show how to use a lasso to select a set of points and get the indices of the selected points. ..."><div class="figure" id="id112">
<img alt="../_images/sphx_glr_lasso_demo_thumb.png" src="../_images/sphx_glr_lasso_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/lasso_demo.html#sphx-glr-gallery-event-handling-lasso-demo-py"><span class="std std-ref">Lasso Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id113">
<img alt="../_images/sphx_glr_data_browser_thumb.png" src="../_images/sphx_glr_data_browser_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/data_browser.html#sphx-glr-gallery-event-handling-data-browser-py"><span class="std std-ref">Data Browser</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Creates two identical panels. Zooming in on the right panel will show a rectangle in the first..."><div class="figure" id="id114">
<img alt="../_images/sphx_glr_viewlims_thumb.png" src="../_images/sphx_glr_viewlims_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/viewlims.html#sphx-glr-gallery-event-handling-viewlims-py"><span class="std std-ref">Viewlims</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=" You can enable picking by setting the "picker" property of an artist (for example, a matplotli..."><div class="figure" id="id115">
<img alt="../_images/sphx_glr_pick_event_demo_thumb.png" src="../_images/sphx_glr_pick_event_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/pick_event_demo.html#sphx-glr-gallery-event-handling-pick-event-demo-py"><span class="std std-ref">Pick Event Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id116">
<img alt="../_images/sphx_glr_path_editor_thumb.png" src="../_images/sphx_glr_path_editor_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/path_editor.html#sphx-glr-gallery-event-handling-path-editor-py"><span class="std std-ref">Path Editor</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This is an example to show how to build cross-GUI applications using Matplotlib event handling ..."><div class="figure" id="id117">
<img alt="../_images/sphx_glr_poly_editor_thumb.png" src="../_images/sphx_glr_poly_editor_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/poly_editor.html#sphx-glr-gallery-event-handling-poly-editor-py"><span class="std std-ref">Poly Editor</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="A Matplotlib based game of Pong illustrating one way to write interactive animation which are e..."><div class="figure" id="id118">
<img alt="../_images/sphx_glr_pipong_thumb.png" src="../_images/sphx_glr_pipong_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="event_handling/pipong.html#sphx-glr-gallery-event-handling-pipong-py"><span class="std std-ref">Pipong</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div style='clear:both'></div></div>
<div class="section" id="front-page">
<span id="front-page-examples"></span><h1>Front Page<a class="headerlink" href="#front-page" title="Permalink to this headline">¶</a></h1>
<div class="sphx-glr-thumbcontainer" tooltip="This example reproduces the frontpage histogram example. "><div class="figure" id="id119">
<img alt="../_images/sphx_glr_histogram_thumb1.png" src="../_images/sphx_glr_histogram_thumb1.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="frontpage/histogram.html#sphx-glr-gallery-frontpage-histogram-py"><span class="std std-ref">Frontpage histogram example</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example reproduces the frontpage simple plot example. "><div class="figure" id="id120">
<img alt="../_images/sphx_glr_membrane_thumb.png" src="../_images/sphx_glr_membrane_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="frontpage/membrane.html#sphx-glr-gallery-frontpage-membrane-py"><span class="std std-ref">Frontpage plot example</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example reproduces the frontpage contour example. "><div class="figure" id="id121">
<img alt="../_images/sphx_glr_contour_thumb.png" src="../_images/sphx_glr_contour_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="frontpage/contour.html#sphx-glr-gallery-frontpage-contour-py"><span class="std std-ref">Frontpage contour example</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example reproduces the frontpage 3D example."><div class="figure" id="id122">
<img alt="../_images/sphx_glr_3D_thumb.png" src="../_images/sphx_glr_3D_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="frontpage/3D.html#sphx-glr-gallery-frontpage-3d-py"><span class="std std-ref">Frontpage 3D example</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div style='clear:both'></div></div>
<div class="section" id="images-contours-and-fields">
<span id="images-contours-and-fields-examples"></span><h1>Images, contours and fields<a class="headerlink" href="#images-contours-and-fields" title="Permalink to this headline">¶</a></h1>
<div class="sphx-glr-thumbcontainer" tooltip="A simple example of a quiver plot with a quiverkey. "><div class="figure" id="id123">
<img alt="../_images/sphx_glr_quiver_simple_demo_thumb.png" src="../_images/sphx_glr_quiver_simple_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="images_contours_and_fields/quiver_simple_demo.html#sphx-glr-gallery-images-contours-and-fields-quiver-simple-demo-py"><span class="std std-ref">Quiver Simple Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This illustrates placing images directly in the figure, with no axes."><div class="figure" id="id124">
<img alt="../_images/sphx_glr_figimage_demo_thumb.png" src="../_images/sphx_glr_figimage_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="images_contours_and_fields/figimage_demo.html#sphx-glr-gallery-images-contours-and-fields-figimage-demo-py"><span class="std std-ref">Figimage Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Demo of image that's been clipped by a circular patch. "><div class="figure" id="id125">
<img alt="../_images/sphx_glr_image_clip_path_thumb.png" src="../_images/sphx_glr_image_clip_path_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="images_contours_and_fields/image_clip_path.html#sphx-glr-gallery-images-contours-and-fields-image-clip-path-py"><span class="std std-ref">Clipping images with patches</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="This example displays the difference between interpolation methods for imshow and matshow."><div class="figure" id="id126">
<img alt="../_images/sphx_glr_interpolation_methods_thumb.png" src="../_images/sphx_glr_interpolation_methods_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="images_contours_and_fields/interpolation_methods.html#sphx-glr-gallery-images-contours-and-fields-interpolation-methods-py"><span class="std std-ref">Interpolations for imshow/matshow</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Illustrate the difference between corner_mask=False and corner_mask=True for masked contour plo..."><div class="figure" id="id127">
<img alt="../_images/sphx_glr_contour_corner_mask_thumb.png" src="../_images/sphx_glr_contour_corner_mask_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="images_contours_and_fields/contour_corner_mask.html#sphx-glr-gallery-images-contours-and-fields-contour-corner-mask-py"><span class="std std-ref">Contour Corner Mask</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip=""><div class="figure" id="id128">
<img alt="../_images/sphx_glr_griddata_demo_thumb.png" src="../_images/sphx_glr_griddata_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="images_contours_and_fields/griddata_demo.html#sphx-glr-gallery-images-contours-and-fields-griddata-demo-py"><span class="std std-ref">Griddata Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="pcolormesh uses a QuadMesh, a faster generalization of pcolor, but with some restrictions."><div class="figure" id="id129">
<img alt="../_images/sphx_glr_quadmesh_demo_thumb.png" src="../_images/sphx_glr_quadmesh_demo_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="images_contours_and_fields/quadmesh_demo.html#sphx-glr-gallery-images-contours-and-fields-quadmesh-demo-py"><span class="std std-ref">QuadMesh Demo</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-thumbcontainer" tooltip="Layer images above one another using alpha blending "><div class="figure" id="id130">
<img alt="../_images/sphx_glr_layer_images_thumb.png" src="../_images/sphx_glr_layer_images_thumb.png" />
<p class="caption"><span class="caption-text"><a class="reference internal" href="images_contours_and_fields/layer_images.html#sphx-glr-gallery-images-contours-and-fields-layer-images-py"><span class="std std-ref">Layer Images</span></a></span></p>
</div>
</div><div class="toctree-wrapper compound">