-
Notifications
You must be signed in to change notification settings - Fork 54
/
index.html
706 lines (642 loc) · 24.3 KB
/
index.html
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
<!-- from pydata-sphinx-theme to simplify for landing page -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>Matplotlib — Visualization with Python</title>
<link href="_static/css/theme.css" rel="stylesheet">
<link href="_static/css/index.ff1ffe594081f20da1ef19478df9384b.css" rel="stylesheet">
<link rel="stylesheet"
href="_static/vendor/fontawesome/5.13.0/css/all.min.css">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2">
<link rel="preload" as="font" type="font/woff2" crossorigin
href="_static/vendor/fontawesome/5.13.0/webfonts/fa-brands-400.woff2">
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/css/style.css" />
<link rel="stylesheet" type="text/css" href="_static/css/normalize.css" />
<link rel="stylesheet" type="text/css" href="_static/css/landing.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="None">
<!-- Google Analytics -->
</head>
<body data-spy="scroll" data-target="#bd-toc-nav" data-offset="80">
<div class="container-fluid" id="banner"></div>
<nav class="navbar navbar-light navbar-expand-lg bg-light fixed-top bd-navbar" id="navbar-main"><div class="container-xl">
<div id="navbar-start">
<a class="navbar-brand" href="https://matplotlib.org/stable/">
<img src="_static/images/logo2.svg" class="logo" alt="logo">
</a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapsible" aria-controls="navbar-collapsible" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar-collapsible" class="col-lg-9 collapse navbar-collapse">
<div id="navbar-center" class="mr-auto">
<div class="navbar-center-item">
<ul id="navbar-main-elements" class="navbar-nav">
<li class="nav-item">
<a class="reference internal nav-link" href="https://matplotlib.org/stable/plot_types/index">Plot types</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="https://matplotlib.org/stable/gallery/index">Examples</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="https://matplotlib.org/stable/tutorials/index">Tutorials</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="https://matplotlib.org/stable/api/index">Reference</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="https://matplotlib.org/stable/users/index">Usage guide</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="https://matplotlib.org/stable/devel/index">Develop</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="https://matplotlib.org/stable/users/release_notes">Release notes</a>
</li>
</ul>
</div>
</div>
<div id="navbar-end">
<div class="navbar-end-item">
<ul id="navbar-icon-links" class="navbar-nav" aria-label="Icon Links">
<li class="nav-item">
<a class="nav-link" href="https://gitter.im/matplotlib/matplotlib" rel="noopener" target="_blank" title="gitter">
<span><i class="fab fa-gitter"></i></span>
<label class="sr-only">gitter</label>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://discourse.matplotlib.org" rel="noopener" target="_blank" title="discourse">
<span><i class="fab fa-discourse"></i></span>
<label class="sr-only">discourse</label>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/matplotlib/matplotlib" rel="noopener" target="_blank" title="GitHub">
<span><i class="fab fa-github-square"></i></span>
<label class="sr-only">GitHub</label>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://twitter.com/matplotlib/" rel="noopener" target="_blank" title="twitter">
<span><i class="fab fa-twitter-square"></i></span>
<label class="sr-only">twitter</label>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
<main role="main">
<section class="grid__intro-text">
<h1>Matplotlib: Visualization with Python</h1>
<p>
Matplotlib is a comprehensive library for creating static, animated,
and interactive visualizations in Python. Matplotlib makes easy things
easy and hard things possible.
</p>
<ul class="no-padding">
<li>
Create
<a href="https://ieeexplore.ieee.org/document/4160265/citations?tabFilter=papers"
>publication quality plots</a
>.
</li>
<li>
Make
<a
href="https://mybinder.org/v2/gh/matplotlib/mpl-brochure-binder/main?labpath=MatplotlibExample.ipynb"
>interactive figures</a
>
that can zoom, pan, update.
</li>
<li>
Customize
<a
href="https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html"
>visual style</a> and
<a href="https://matplotlib.org/stable/tutorials/provisional/mosaic.html"
>layout</a>.
</li>
<li>
Export to
<a href="https://matplotlib.org/stable/api/figure_api.html#matplotlib.figure.Figure.savefig"
>many file formats</a
>
.
</li>
<li>
Embed in
<a href="https://matplotlib.org/stable/gallery/#embedding-matplotlib-in-graphical-user-interfaces"
>JupyterLab and Graphical User Interfaces</a
>.
</li>
<li>
Use a rich array of
<a href="https://matplotlib.org/mpl-third-party/"
>third-party packages</a
>
built on Matplotlib.
</li>
</ul>
<a
href="https://mybinder.org/v2/gh/matplotlib/mpl-brochure-binder/main?labpath=MatplotlibExample.ipynb"
class="button button--purple"
tabindex="0"
role="button"
>
Try Matplotlib (on Binder)
</a>
</section>
<section class="grid__intro" id="image_rotator"></section>
<!-- END INTRO SECTION -->
<!-- START QUICKLINKS -->
<section class="grid__quicklinks">
<ul class="quicklinks">
<li>
<a
href="https://matplotlib.org/stable/tutorials/introductory/usage.html#sphx-glr-tutorials-introductory-usage-py"
>
<img
src="_static/images/getting-started.png"
alt="computer desktop icon"
class="quicklinks__icon"
/>
Getting Started
</a>
</li>
<li>
<a href="https://matplotlib.org/stable/plot_types/index.html">
<img
src="_static/images/sample-plots.png"
alt="folder icon"
class="quicklinks__icon"
/>
Examples
</a>
</li>
<li>
<a href="https://matplotlib.org/stable/index.html">
<img
src="_static/images/userguide.png"
alt="documentation book icon"
class="quicklinks__icon"
/>
Reference
</a>
</li>
<li>
<a href="https://matplotlib.org/cheatsheets/">
<img
src="_static/images/cheatsheets.png"
alt="cheatsheet icon"
class="quicklinks__icon"
/>
Cheat Sheets
</a>
</li>
<li>
<a href="https://matplotlib.org/stable/index.html">
<img
src="_static/images/documentation.png"
alt="matplotlib logo icon"
class="quicklinks__icon"
/>
Documentation
</a>
</li>
</ul>
</section>
<!-- END QUICKLINKS -->
<div class="rule rule--viridis grid__rule1"></div>
<!-- News -->
<section class="grid__news news">
<div class="news__items">
<!-- make these easier to visually differentiate !-->
<!-- optional important news -->
<h3>News</h3>
<div class="news__item--highlight">
<h5 class="date">November 15, 2021</h5>
<a href="https://matplotlib.org/stable" class="link--offsite">Matplotlib 3.5.0 Released</a>
<p>
Highlights include <a href="https://matplotlib.org/devdocs/users/prev_whats_new/whats_new_3.5.0.html#subplot-mosaic-supports-simple-axes-sharing">shared axes in <span class="pre">subplot_mosaic</span></a>, post-colormaping <a href="https://matplotlib.org/devdocs/users/prev_whats_new/whats_new_3.5.0.html#image-interpolation-now-possible-at-rgba-stage"> resampling</a>, and support for <a href="https://matplotlib.org/devdocs/users/prev_whats_new/whats_new_3.5.0.html#gtk-backend">GTK4</a> and
<a href="https://matplotlib.org/devdocs/users/prev_whats_new/whats_new_3.5.0.html#qt-backends">Qt6</a>.
</p><p>
See the <a href="https://matplotlib.org/devdocs/users/prev_whats_new/whats_new_3.5.0.html">release notes</a> and <a href="https://matplotlib.org/devdocs/api/prev_api_changes/api_changes_3.5.0.html">API changes</a> for details.
</p>
</div>
<!-- START NEWS ITEMS -->
<div class="news__item">
<h5 class="date">September 15, 2021</h5>
<a href="https://discourse.matplotlib.org/t/maplotlib-selected-for-nasa-roses-ostfl-2020/22303" class="link--offsite">Matplotlib selected for NASA ROSES funding</a>
</div>
<div class="news__item">
<h5 class="date">September 9, 2021</h5>
<a href="https://discourse.matplotlib.org/t/maplotlib-selected-for-nasa-roses-ostfl-2020/22303" class="link--offsite">Matplotlib awarded a CZI EOSS Cycle 4 grant</a>
</div>
<!-- END NEWS ITEMS -->
<!-- link to discourse -->
<div class="news__discourse-link">
<div class="rule"></div>
<a
href="https://discourse.matplotlib.org/c/announce/14"
class="link--offsite"
>Older Announcements</a
>
</div>
</section>
<!-- START RESOURCES -->
<section class="grid__resources">
<!-- drop boxes !-->
<!-- <div class="callout callout--blue"> -->
<h3>Resources</h3>
<div class="callout__list">
<i class="far fa-question-circle callout__icon"></i>
<p>
Be sure to check the
<a href="https://matplotlib.org/stable/users/index.html">Users
guide</a> and the
<a href="https://matplotlib.org/stable/api/index.html">API docs</a
>. The full text
<a href="https://matplotlib.org/stable/search.html">search</a> is a
good way to discover the docs including the many examples.
</p>
</div>
<div class="callout__list">
<i class="fab fa-discourse callout__icon" aria-hidden="true"></i>
<p>
Join our community at
<a href="https://discourse.matplotlib.org">
discourse.matplotlib.org
</a>
to get help, share your work, and discuss contributing &
development.
</p>
</div>
<div class="callout__list">
<i class="fab fa-gitter callout__icon" aria-hidden="true"></i>
<p>
Short questions may be posted on the
<a href="https://gitter.im/matplotlib/matplotlib">gitter</a>
channel.
</p>
</div>
<div class="callout__list">
<i class="fab fa-stack-overflow callout__icon" aria-hidden="true"></i>
<p>
Check out the Matplotlib tag on
<a href="https://stackoverflow.com/questions/tagged/matplotlib"
>stackoverflow</a
>.
</p>
</div>
<!-- </div> -->
</section>
<!-- END RESOURCES -->
<div class="rule rule--viridis grid__rule2"></div>
<!-- START DOMAIN SPECIFIC TOOLS -->
<section class="grid__tools">
<h3>Domain Specific Tools</h3>
<p>
A large number of third party packages extend and build on Matplotlib
functionality, including several higher-level plotting interfaces
(seaborn, HoloViews, ggplot, ...), and a projection and mapping
toolkit (Cartopy).
</p>
<a href="https://matplotlib.org/mpl-third-party/" class="link--offsite"
>More Domain-Specific Tools</a
>
</section>
<!-- tool switcher -->
<section class="tools grid__tools-switcher grid__tools-switcher__tabs">
<div
class="tabs grid__tabs__tabs"
role="tablist"
aria-label="Domain Specific Libray Tabs"
>
<button
class="tabs__tab"
role="tab"
aria-selected="true"
id="seaborn-tab"
aria-controls="seaborn-content"
tabindex="0"
>
seaborn
</button>
<button
class="tabs__tab"
role="tab"
aria-selected="false"
id="cartopy-tab"
aria-controls="cartopy-content"
tabindex="-1"
>
Cartopy
</button>
<button
class="tabs__tab"
role="tab"
aria-selected="false"
id="dna-features-viewer-tab"
aria-controls="dna-features-viewer-content"
tabindex="-1"
>
DNA Features Viewer
</button>
<button
class="tabs__tab"
role="tab"
aria-selected="false"
id="plotnine-tab"
aria-controls="plotnine-content"
tabindex="-1"
>
plotnine
</button>
<button
class="tabs__tab"
role="tab"
aria-selected="false"
id="wcs-axes-tab"
aria-controls="wcs-axes-content"
tabindex="-1"
>
WCS Axes
</button>
</div>
<div
class="tabs__content grid__tabs__panel"
id="seaborn-content"
role="tabpanel"
tabindex="0"
aria-labelledby="seaborn-tab"
>
<div class="tabs__content__info">
<h3>seaborn</h3>
<p>
seaborn is a high level interface for drawing statistical graphics
with Matplotlib. It aims to make visualization a central part of
exploring and understanding complex datasets.
</p>
<a href="https://seaborn.pydata.org/" class="link--offsite"
>statistical data visualization</a
>
</div>
<img src="" alt="" />
</div>
<div
class="tabs__content grid__tabs__panel"
id="cartopy-content"
role="tabpanel"
tabindex="0"
aria-labelledby="cartopy-tab"
hidden
>
<div class="tabs__content__info">
<h3>Cartopy</h3>
<p>
Cartopy is a Python package designed for geospatial data
processing in order to produce maps and other geospatial data
analyses.
</p>
<a
href="https://scitools.org.uk/cartopy/docs/latest/"
class="link--offsite"
>Cartopy</a
>
</div>
<img src="" alt="" />
</div>
<div
class="tabs__content grid__tabs__panel"
id="dna-features-viewer-content"
role="tabpanel"
tabindex="0"
aria-labelledby="dna-features-viewer-tab"
hidden
>
<div class="tabs__content__info">
<h3>DNA Features Viewer</h3>
<p>
DNA Features Viewer is a Python library to visualize DNA features,
e.g. from GenBank or Gff files, or Biopython SeqRecords.
</p>
<a
href="https://github.com/Edinburgh-Genome-Foundry/DnaFeaturesViewer"
class="link--offsite"
>DNA Features Viewer</a
>
</div>
<img src="" alt="" />
</div>
<div
class="tabs__content grid__tabs__panel"
id="plotnine-content"
role="tabpanel"
tabindex="0"
aria-labelledby="plotnine-tab"
hidden
>
<div class="tabs__content__info">
<h3>plotnine</h3>
<p>
plotnine is an implementation of a grammar of graphics in Python.
The grammar allows users to compose plots by explicitly mapping
data to the visual objects that make up the plot.
</p>
<a
href="https://plotnine.readthedocs.io/en/stable/"
class="link--offsite"
>plotnine</a
>
</div>
<img src="" alt="" />
</div>
<div
class="tabs__content grid__tabs__panel"
id="wcs-axes-content"
role="tabpanel"
tabindex="0"
aria-labelledby="wcs-axes-tab"
hidden
>
<div class="tabs__content__info">
<h3>WCSAxes</h3>
<p>
WCSAxes is a framework for making plots of Astronomical data in
Matplotlib.
</p>
<a
href="https://docs.astropy.org/en/stable/visualization/wcsaxes/"
class="link--offsite"
>WCSAxes</a
>
</div>
<img src="" alt="" />
</div>
</section>
<!-- END DOMAIN SPECIFIC TOOLS -->
<div class="rule rule--viridis grid__rule3"></div>
<!-- START SUPPORT MATPLOTLIB -->
<section class="grid__support">
<h2>Support Matplotlib</h2>
<ul class="support__items grid__contribute">
<li class="callout callout--purple">
<h4>Contribute</h4>
<p>
Matplotlib is a community project maintained for and by its users
</p>
<p>
You can help by answering questions
<a href="https://discourse.matplotlib.org">on discourse</a>,
reporting a bug or requesting a feature
<a href="https://github.com/matplotlib/matplotlib/issues"
>on GitHub</a
>, or improving the
<a href="https://matplotlib.org/stable/devel/index.html"
>documentation and code</a
>!
</p>
<a href="https://discourse.matplotlib.org" class="link--offsite"
>Join us on Discourse</a
>
<a
href="https://github.com/matplotlib/matplotlib"
class="link--offsite"
>Join us on GitHub</a
>
</li>
<li class="callout callout--blue">
<h4>Cite</h4>
<p>
Matplotlib is the result of development efforts by John Hunter
(1968–2012) and the project's
<a href="https://matplotlib.org/stable/users/credits.html"
>many contributors.</a
>
</p>
<p>
If Matplotlib contributes to a project that leads to a scientific
publication, please acknowledge this work by citing the project!
</p>
<a
href="https://matplotlib.org/stable/citing.html"
class="link--offsite"
>Ready made citation</a
>
</li>
<li class="callout callout--teal">
<h4>Donate</h4>
<p>
If you would like to support Matplotlib financially you can
donate by
<a href="https://github.com/sponsors/matplotlib">
sponsoring Matplotlib on GitHub
</a>
or making a (USA) tax-deductible donation
<a href="https://numfocus.org/donate-to-matplotlib">
through NumFOCUS
</a>.
</p>
<a
href="https://github.com/sponsors/matplotlib"
class="link--offsite"
>Sponsor on GitHub</a
>
<a
href="https://numfocus.org/donate-to-matplotlib"
class="link--offsite"
>Donate to Matplotlib</a
>
</li>
</ul>
</section>
<script src="_static/images-rotate-info.js"></script>
<script src="_static/script.js"></script>
</main>
<script src="_static/js/index.be7d3bbb2ef33a8344ce.js"></script>
<footer class="footer-section">
<div class="grid__mpl-info">
<h1>Matplotlib</h1>
<ul class="social fas">
<li>
<a href="https://github.com/matplotlib/matplotlib" aria-label="Matplotlib on Github">
<i class="fab fa-github" aria-hidden="true"></i>
</a>
</li>
<li class="social__twitter">
<a href="https://twitter.com/matplotlib" aria-label="Matplotlib on Twitter">
<i class="fab fa-twitter" aria-hidden="true"></i>
</a>
</li>
<li class="social__discourse">
<a href="https://discourse.matplotlib.org" aria-label="Matplotlib Discourse">
<i class="fab fa-discourse" aria-hidden="true"></i>
</a>
</li>
<li class="social__gitter">
<a href="https://gitter.im/matplotlib/matplotlib" aria-label="Matplotlib on Gitter">
<i class="fab fa-gitter" aria-hidden="true"></i>
</a>
</li>
<li class="social__instagran">
<a href="https://instagram.com/matplotart" aria-label="Matplotlib on Instagram">
<i class="fab fa-instagram" aria-hidden="true"></i>
</a>
</li>
</ul>
<a
href="https://numfocus.org/donate-to-matplotlib"
class="button button--green"
>Donate to Matplotlib</a
>
<p class="copywrite">©2021 The Matplotlib Development team</p>
</div>
<ul class="mpl-links grid__mpl-links">
<li><a href="https://matplotlib.org/matplotblog/">Matplotblog</a></li>
<li>
<a
href="https://github.com/matplotlib/matplotlib/blob/master/CODE_OF_CONDUCT.md"
>Code of Conduct</a
>
</li>
<li><a href="https://matplotlib.org/stable/users/project/license.html">License</a></li>
<li>
<a href="https://github.com/matplotlib/governance">Governance</a>
</li>
<li><a href="https://numfocus.org/sponsored-projects">NumFOCUS Fiscally Sponsored Project</a></li>
</ul>
<ul class="release-docs grid__release-docs">
<dl class="release">
<dt>Latest Stable Release</dt>
<dd>
<a href="https://matplotlib.org/stable">docs</a> |
<a href="https://matplotlib.org/stable/users/whats_new.html"
>changelog</a
>
</dd>
</dl>
<dl class="release">
<dt>Development version</dt>
<dd>
<a href="https://matplotlib.org/devdocs/index.html">docs</a>
</dd>
</dl>
</ul>
</footer>
</body>
</html>