@@ -83,7 +83,7 @@ yellow, and black. This made them easy to type and usable in the
8383abbreviated style string in ``plot ``, however the new default colors
8484are only specified via hex values. To access these colors outside of
8585the 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
8787:ref: `colors ` for more details.
8888
8989To restore the old color cycle use
@@ -169,6 +169,7 @@ or setting ::
169169
170170in your :file: `matplotlibrc ` file.
171171
172+
172173Grid lines
173174----------
174175
@@ -199,6 +200,49 @@ or setting::
199200
200201in your :file: `matplotlibrc ` file.
201202
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+
202246Plotting functions
203247==================
204248
@@ -378,8 +422,6 @@ in your :file:`matplotlibrc` file.
378422Other
379423=====
380424
381- - For markers, scatter plots, bar charts and pie charts, there is no
382- longer a black outline around filled markers by default.
383425- lines.color change, only hits raw usage of Line2D
384426
385427Hatching
@@ -397,10 +439,6 @@ Hatching
397439Plot layout
398440===========
399441
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-
404442- The number of ticks on an axis is now automatically determined based
405443 on the length of the axis.
406444
0 commit comments