@@ -83,7 +83,7 @@ yellow, and black. This made them easy to type and usable in the
83
83
abbreviated style string in ``plot ``, however the new default colors
84
84
are only specified via hex values. To access these colors outside of
85
85
the property cycling the notation for colors ``'CN' `` was added to
86
- denote the first 10 colors in ``mpl.rcParms ['axes.prop_cycle'] `` See
86
+ denote the first 10 colors in ``mpl.rcParams ['axes.prop_cycle'] `` See
87
87
:ref: `colors ` for more details.
88
88
89
89
To restore the old color cycle use
@@ -169,6 +169,7 @@ or setting ::
169
169
170
170
in your :file: `matplotlibrc ` file.
171
171
172
+
172
173
Grid lines
173
174
----------
174
175
@@ -199,6 +200,49 @@ or setting::
199
200
200
201
in your :file: `matplotlibrc ` file.
201
202
203
+
204
+ Figure size, font size, and screen dpi
205
+ ======================================
206
+
207
+ The default dpi used for on-screen display was changed from 80dpi to
208
+ 100dpi, the same as the default dpi for saving files. Due to this
209
+ change, the on-screen display is now more what-you-see-is-what-you-get
210
+ for saved files. To keep figure the same size in terms of pixels, in
211
+ order to maintain approximately the same size on the screen, the
212
+ default figure size was reduced from 8in by 6in to 6.4in by 4.8in. As
213
+ a consequence of this the default font sizes used for the title, tick
214
+ labels, and axes labels were reduced to maintain their size relative
215
+ to the overall size of the figure. By default the dpi of the saved
216
+ image is now the dpi of the `~matplotlib.figure.Figure ` instance being
217
+ saved.
218
+
219
+ This will have consequences if you are trying to match text in a
220
+ figure directly with external text.
221
+
222
+
223
+ The previous defaults can be restored by ::
224
+
225
+ mpl.rcParams['figure.figsize'] = [8.0, 6.0]
226
+ mpl.rcParams['figure.dpi'] = 80
227
+ mpl.rcParams['savefig.dpi'] = 100
228
+
229
+ mpl.rcParams['font.size'] = 12
230
+ mpl.rcParams['legend.fontsize'] = 'large'
231
+ mpl.rcParams['figure.titlesize'] = 'medium'
232
+
233
+ or set::
234
+
235
+ figure.figsize : [8.0, 6.0]
236
+ figure.dpi : 80
237
+ savefig.dpi : 100
238
+
239
+ font.size : 12.0
240
+ legend.fontsize : 'large'
241
+ figure.titlesize : 'medium'
242
+
243
+ In your :file: `matplotlibrc ` file.
244
+
245
+
202
246
Plotting functions
203
247
==================
204
248
@@ -378,8 +422,6 @@ in your :file:`matplotlibrc` file.
378
422
Other
379
423
=====
380
424
381
- - For markers, scatter plots, bar charts and pie charts, there is no
382
- longer a black outline around filled markers by default.
383
425
- lines.color change, only hits raw usage of Line2D
384
426
385
427
Hatching
@@ -397,10 +439,6 @@ Hatching
397
439
Plot layout
398
440
===========
399
441
400
- - The default dpi used for on-screen display is now 100, which is the same as
401
- the old default for saving files. Due to this change, the on-screen
402
- display is now more what-you-see-is-what-you-get.
403
-
404
442
- The number of ticks on an axis is now automatically determined based
405
443
on the length of the axis.
406
444
0 commit comments