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

Skip to content

Commit cd532aa

Browse files
committed
Removing trailing whitespace in 152
Fixed indentation and type Blank line before directive
1 parent 1895995 commit cd532aa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/users/prev_whats_new/whats_new_3.6.0.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The relative width and height of columns and rows in `~.Figure.subplots` and
2121
*width_ratios* keyword arguments to the methods:
2222

2323
.. plot::
24-
:alt: A figure with three subplots in three rows and one column. The height of the subplot in the first row is three times than the subplots in the 2nd and 3rd row
24+
:alt: A figure with three subplots in three rows and one column. The height of the subplot in the first row is three times than the subplots in the 2nd and 3rd row.
2525
:include-source: true
2626

2727
fig = plt.figure()
@@ -70,7 +70,7 @@ Using the ``layout='compressed'`` layout reduces the space between the Axes,
7070
and adds the extra space to the outer margins:
7171

7272
.. plot::
73-
:alt: Four identical two by two heatmaps, each cell a different color: purple, blue, yellow, green going clockwise from upper left corner. The four heatmaps are laid out in a two by two grid with minimum white space between the heatmaps
73+
:alt: Four identical two by two heatmaps, each cell a different color: purple, blue, yellow, green going clockwise from upper left corner. The four heatmaps are laid out in a two by two grid with minimum white space between the heatmaps.
7474

7575
fig, axs = plt.subplots(2, 2, figsize=(5, 3),
7676
sharex=True, sharey=True, layout='compressed')
@@ -98,7 +98,7 @@ with the previous layout engine.
9898
may be returned.
9999

100100
.. plot::
101-
:alt: Plot of a straight line y=x, with a small inset axes in the lower right corner that shows a circle with radial grid lines and a line plotted in polar coordinates
101+
:alt: Plot of a straight line y=x, with a small inset axes in the lower right corner that shows a circle with radial grid lines and a line plotted in polar coordinates.
102102
:include-source: true
103103

104104
fig, ax = plt.subplots()
@@ -148,8 +148,9 @@ Striped lines (experimental)
148148

149149
The new *gapcolor* parameter to `~.Axes.plot` enables the creation of striped
150150
lines.
151+
151152
.. plot::
152-
:alt: Plot of x**3 where the line is an orange-blue striped line, achieved using the keywords`linestyle='--', color='orange', gapcolor='blue'
153+
:alt: Plot of x**3 where the line is an orange-blue striped line, achieved using the keywords`linestyle='--', color='orange', gapcolor='blue'
153154
:include-source: true
154155

155156
x = np.linspace(1., 3., 10)

0 commit comments

Comments
 (0)