|
27 | 27 | ## - a hex string, such as ff00ff |
28 | 28 | ## - a scalar grayscale intensity such as 0.75 |
29 | 29 | ## - a legal html color name, e.g., red, blue, darkslategray |
| 30 | +## |
| 31 | +## Configurations are currently divided into following parts: |
| 32 | +## - BACKENDS |
| 33 | +## - LINES |
| 34 | +## - PATCHES |
| 35 | +## - HATCHES |
| 36 | +## - BOXPLOT |
| 37 | +## - FONT |
| 38 | +## - TEXT |
| 39 | +## - LaTeX |
| 40 | +## - AXES |
| 41 | +## - DATES |
| 42 | +## - TICKS |
| 43 | +## - GRIDS |
| 44 | +## - LEGEND |
| 45 | +## - FIGURE |
| 46 | +## - IMAGES |
| 47 | +## - CONTOUR PLOTS |
| 48 | +## - ERRORBAR PLOTS |
| 49 | +## - HISTOGRAM PLOTS |
| 50 | +## - SCATTER PLOTS |
| 51 | +## - AGG RENDERING |
| 52 | +## - PATHS |
| 53 | +## - SAVING FIGURES |
| 54 | +## - INTERACTIVE KEYMAPS |
| 55 | +## - ANIMATION |
30 | 56 |
|
31 | 57 | ##### CONFIGURATION BEGINS HERE |
32 | 58 |
|
| 59 | + |
| 60 | +#### BACKENDS |
33 | 61 | ## The default backend. If you omit this parameter, the first |
34 | 62 | ## working backend from the following list is used: |
35 | 63 | ## MacOSX Qt5Agg Qt4Agg Gtk3Agg TkAgg WxAgg Agg |
|
55 | 83 | ## When True, open the webbrowser to the plot that is shown |
56 | 84 | #webagg.open_in_browser : True |
57 | 85 |
|
58 | | -## if you are running pyplot inside a GUI and your backend choice |
| 86 | +## If you are running pyplot inside a GUI and your backend choice |
59 | 87 | ## conflicts, we will automatically try to find a compatible one for |
60 | 88 | ## you if backend_fallback is True |
61 | 89 | #backend_fallback: True |
|
94 | 122 |
|
95 | 123 | #markers.fillstyle: full ## full|left|right|bottom|top|none |
96 | 124 |
|
| 125 | + |
97 | 126 | #### PATCHES |
98 | 127 | ## Patches are graphical objects that fill 2D space, like polygons or circles. |
99 | 128 | ## See https://matplotlib.org/api/artist_api.html#module-matplotlib.patches |
|
104 | 133 | #patch.force_edgecolor : False ## True to always use edgecolor |
105 | 134 | #patch.antialiased : True ## render patches in antialiased (no jaggies) |
106 | 135 |
|
| 136 | + |
107 | 137 | #### HATCHES |
108 | 138 | #hatch.color : black |
109 | 139 | #hatch.linewidth : 1.0 |
110 | 140 |
|
111 | | -#### Boxplot |
| 141 | + |
| 142 | +#### BOXPLOT |
112 | 143 | #boxplot.notch : False |
113 | 144 | #boxplot.vertical : True |
114 | 145 | #boxplot.whiskers : 1.5 |
|
206 | 237 | #font.fantasy : Comic Sans MS, Chicago, Charcoal, ImpactWestern, Humor Sans, xkcd, fantasy |
207 | 238 | #font.monospace : DejaVu Sans Mono, Bitstream Vera Sans Mono, Computer Modern Typewriter, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace |
208 | 239 |
|
| 240 | + |
209 | 241 | #### TEXT |
210 | 242 | ## The text properties used by `text.Text`. |
211 | 243 | ## See https://matplotlib.org/api/artist_api.html#module-matplotlib.text |
212 | 244 | ## for more information on text properties |
213 | 245 | #text.color : black |
214 | 246 |
|
| 247 | + |
215 | 248 | #### LaTeX |
216 | 249 | ## See following links for more information on LaTex properties: |
217 | 250 | ## https://matplotlib.org/tutorials/text/usetex.html |
|
280 | 313 | ## the special name "regular" for the same font |
281 | 314 | ## used in regular text. |
282 | 315 |
|
| 316 | + |
283 | 317 | #### AXES |
284 | 318 | ## Following are default face and edge colors, default tick sizes, |
285 | 319 | ## default fontsizes for ticklabels, and so on. See |
|
342 | 376 | #polaraxes.grid : True ## display grid on polar axes |
343 | 377 | #axes3d.grid : True ## display grid on 3d axes |
344 | 378 |
|
| 379 | + |
345 | 380 | #### DATES |
346 | 381 | ## These control the default format strings used in AutoDateFormatter. |
347 | 382 | ## Any valid format datetime format string can be used (see the python |
|
359 | 394 | #date.autoformatter.second : %H:%M:%S |
360 | 395 | #date.autoformatter.microsecond : %M:%S.%f |
361 | 396 |
|
| 397 | + |
362 | 398 | #### TICKS |
363 | 399 | ## See https://matplotlib.org/api/axis_api.html#matplotlib.axis.Tick |
364 | 400 | #xtick.top : False ## draw ticks on the top side |
|
401 | 437 | #ytick.minor.right : True ## draw y axis right minor ticks |
402 | 438 | #ytick.alignment : center_baseline ## alignment of yticks |
403 | 439 |
|
| 440 | + |
404 | 441 | #### GRIDS |
405 | 442 | #grid.color : b0b0b0 ## grid color |
406 | 443 | #grid.linestyle : - ## solid |
407 | 444 | #grid.linewidth : 0.8 ## in points |
408 | 445 | #grid.alpha : 1.0 ## transparency, between 0.0 and 1.0 |
409 | 446 |
|
410 | | -#### Legend |
| 447 | + |
| 448 | +#### LEGEND |
411 | 449 | #legend.loc : best |
412 | 450 | #legend.frameon : True ## if True, draw the legend on a background patch |
413 | 451 | #legend.framealpha : 0.8 ## legend patch transparency |
|
430 | 468 | #legend.borderaxespad : 0.5 ## the border between the axes and legend edge |
431 | 469 | #legend.columnspacing : 2.0 ## column separation |
432 | 470 |
|
| 471 | + |
433 | 472 | #### FIGURE |
434 | 473 | ## See https://matplotlib.org/api/figure_api.html#matplotlib.figure.Figure |
435 | 474 | #figure.titlesize : large ## size of the figure title (Figure.suptitle()) |
|
464 | 503 | #figure.constrained_layout.hspace : 0.02 ## Space between subplot groups. Float representing |
465 | 504 | #figure.constrained_layout.wspace : 0.02 ## a fraction of the subplot widths being separated. |
466 | 505 |
|
| 506 | + |
467 | 507 | #### IMAGES |
468 | 508 | #image.aspect : equal ## equal | auto | a number |
469 | 509 | #image.interpolation : nearest ## see help(imshow) for options |
|
476 | 516 | ## saving a figure as a vector graphics file, |
477 | 517 | ## such as a PDF. |
478 | 518 |
|
| 519 | + |
479 | 520 | #### CONTOUR PLOTS |
480 | 521 | #contour.negative_linestyle : dashed ## string or on-off ink sequence |
481 | 522 | #contour.corner_mask : True ## True | False | legacy |
482 | 523 |
|
| 524 | + |
483 | 525 | #### ERRORBAR PLOTS |
484 | 526 | #errorbar.capsize : 0 ## length of end cap on error bars in pixels |
485 | 527 |
|
| 528 | + |
486 | 529 | #### HISTOGRAM PLOTS |
487 | 530 | #hist.bins : 10 ## The default number of histogram bins. |
488 | 531 | ## If Numpy 1.11 or later is |
|
492 | 535 | #scatter.marker : o ## The default marker type for scatter plots. |
493 | 536 | #scatter.edgecolors : face ## The default edgecolors for scatter plots. |
494 | 537 |
|
495 | | -#### Agg rendering |
496 | | -#### Warning: experimental, 2008/10/10 |
| 538 | + |
| 539 | +#### AGG RENDERING |
| 540 | +## Warning: experimental, 2008/10/10 |
497 | 541 | #agg.path.chunksize : 0 ## 0 to disable; values in the range |
498 | 542 | ## 10000 to 100000 can improve speed slightly |
499 | 543 | ## and prevent an Agg rendering failure |
|
502 | 546 | ## It may cause minor artifacts, though. |
503 | 547 | ## A value of 20000 is probably a good |
504 | 548 | ## starting point. |
| 549 | + |
| 550 | + |
505 | 551 | #### PATHS |
506 | 552 | #path.simplify : True ## When True, simplify paths by removing "invisible" |
507 | 553 | ## points to reduce file size and increase rendering |
|
521 | 567 | ## the length is randomly scaled. |
522 | 568 | #path.effects : [] ## |
523 | 569 |
|
| 570 | + |
524 | 571 | #### SAVING FIGURES |
525 | | -## the default savefig params can be different from the display params |
| 572 | +## The default savefig params can be different from the display params |
526 | 573 | ## e.g., you may want a higher resolution, or to make the figure |
527 | 574 | ## background white |
528 | 575 | #savefig.dpi : figure ## figure dots per inch or 'figure' |
|
555 | 602 | #ps.distiller.res : 6000 ## dpi |
556 | 603 | #ps.fonttype : 3 ## Output Type 3 (Type3) or Type 42 (TrueType) |
557 | 604 |
|
558 | | -### pdf backend params |
| 605 | +### PDF backend params |
559 | 606 | #pdf.compression : 6 ## integer from 0 to 9 |
560 | 607 | ## 0 disables compression (good for debugging) |
561 | 608 | #pdf.fonttype : 3 ## Output Type 3 (Type3) or Type 42 (TrueType) |
562 | 609 | #pdf.use14corefonts : False |
563 | 610 | #pdf.inheritcolor : False |
564 | 611 |
|
565 | | -### svg backend params |
| 612 | +### SVG backend params |
566 | 613 | #svg.image_inline : True ## write raster image data directly into the svg file |
567 | 614 | #svg.fonttype : path ## How to handle SVG fonts: |
568 | 615 | ## none: Assume fonts are installed on the machine where the SVG will be viewed. |
|
578 | 625 | ### docstring params |
579 | 626 | ##docstring.hardcopy = False ## set this when you want to generate hardcopy docstring |
580 | 627 |
|
| 628 | + |
| 629 | +#### INTERACTIVE KEYMAPS |
581 | 630 | ## Event keys to interact with figures/plots via keyboard. |
582 | 631 | ## See https://matplotlib.org/users/navigation_toolbar.html for more details on |
583 | 632 | ## interactive navigation. Customize these settings according to your needs. |
|
599 | 648 | #keymap.all_axes : a ## enable all axes |
600 | 649 | #keymap.copy : ctrl+c, cmd+c ## Copy figure to clipboard |
601 | 650 |
|
602 | | -###ANIMATION settings |
| 651 | + |
| 652 | +#### ANIMATION |
603 | 653 | #animation.html : none ## How to display the animation as HTML in |
604 | 654 | ## the IPython notebook. 'html5' uses |
605 | 655 | ## HTML5 video tag; 'jshtml' creates a |
|
0 commit comments