Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit caa711b

Browse files
committed
More detail in what's new
1 parent fa4c56e commit caa711b

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

doc/users/whats_new/style_changes.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Colors
1313
``````
1414

1515
- The default figure background color has changed from grey to white.
16+
Use the rcParam ``figure.facecolor`` to control this.
1617

1718
- The default cycle of colors to draw lines, markers and other content
1819
has been changed. It is based on the `Vega category10 palette
@@ -44,12 +45,20 @@ Plot layout
4445
- The limits are scaled to exactly the dimensions of the data, plus 5%
4546
padding. The old behavior was to scale to the nearest "round"
4647
numbers. To use the old behavior, set the ``rcParam``
47-
``axes.autolimit_mode`` to ``round_numbers``.
48+
``axes.autolimit_mode`` to ``round_numbers``. To control the
49+
margins on particular side individually, pass any of the following
50+
to any artist or plotting function:
51+
52+
- ``top_margin=False``
53+
- ``bottom_margin=False``
54+
- ``left_margin=False``
55+
- ``right_margin=False``
4856

4957
- Ticks now point outward by default. To have ticks pointing inward,
5058
use the ``rcParams`` ``xtick.direction`` and ``ytick.direction``.
5159

52-
- By default, caps on the ends of errorbars are not present.
60+
- By default, caps on the ends of errorbars are not present. Use the
61+
rcParam ``errorbar.capsize`` to control this.
5362

5463
Images
5564
``````

0 commit comments

Comments
 (0)