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

Skip to content

Commit 7547813

Browse files
committed
Fixed capitalization and accidental extra alt: after plot
1 parent d1dc422 commit 7547813

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/users/prev_whats_new/whats_new_3.6.0.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,6 @@ control the alignment on existing Legends.
470470

471471
.. plot::
472472
:alt: Figure with 3 subplots. All the subplots are titled test. The three subplots have legends titled alignment='left', alignment='center', alignment='right'. The legend texts are respectively aligned left, center and right,
473-
:alt: Plot showing a line from 1,2 to 3.5,-0.5. X axis showing the 1, 2 and 3
474473
:include-source: true
475474

476475
fig, axs = plt.subplots(3, 1)
@@ -609,7 +608,7 @@ weight can be set separately from the figure title using :rc:`figure.labelsize`
609608
and :rc:`figure.labelweight`.
610609

611610
.. plot::
612-
:alt: A figure with 4 plots organised in 2 rows and 2 columns. The title of the figure is suptitle in bold and 64 points. The x axis is labelled supxlabel, and y axis is labelled subylabel. Both labels are 32 points and bold
611+
:alt: A figure with 4 plots organised in 2 rows and 2 columns. The title of the figure is suptitle in bold and 64 points. The x axis is labelled supxlabel, and y axis is labelled subylabel. Both labels are 32 points and bold.
613612
:include-source: true
614613

615614
# Original (previously combined with below) rcParams:
@@ -677,7 +676,7 @@ The focal length can be calculated from a desired FOV via the equation:
677676
focal\_length = 1/\tan(FOV/2)
678677

679678
.. plot::
680-
:alt: A figure showing 3 basic 3d Wireframe plots. From left to right, the plots use focal length of 0.2, 1 and infinity. Focal length betwen 0.2 and 1 produce plot with depth while focal length between 1 and infinity show relatively flattened image
679+
:alt: A figure showing 3 basic 3d Wireframe plots. From left to right, the plots use focal length of 0.2, 1 and infinity. Focal length between 0.2 and 1 produce plot with depth while focal length between 1 and infinity show relatively flattened image.
681680
:include-source: true
682681

683682
from mpl_toolkits.mplot3d import axes3d
@@ -703,7 +702,7 @@ programmatically. The default roll angle of 0 is backwards-compatible with
703702
existing 3D plots.
704703

705704
.. plot::
706-
:alt: view of a wireframe of a 3d contour that is somewhat a thickend s shape elevation and azimuth are 0 degrees so the shape is veiwed straight on, but tilted because the roll is 30 degrees
705+
:alt: View of a wireframe of a 3D contour that is somewhat a thickened s shape. Elevation and azimuth are 0 degrees so the shape is viewed straight on, but tilted because the roll is 30 degrees.
707706
:include-source: true
708707

709708
from mpl_toolkits.mplot3d import axes3d
@@ -723,7 +722,7 @@ Users can set the aspect ratio for the X, Y, Z axes of a 3D plot to be 'equal',
723722
'equalxy', 'equalxz', or 'equalyz' rather than the default of 'auto'.
724723

725724
.. plot::
726-
:alt: 5 plots, each showing a different aspect option for a rectangle that has height 4, depth 1, and width 1 auto: none of the dimensions have equal aspect, depth and width form a rectangular and height appears shrunken in proportion. equal: all the dimensions have equal aspect. equalxy: width and depth equal, height not so looks shrunken in proportion. equalyz: depth and height equal, width not so elongated. equalxz: width and height equal, depth not so elongated
725+
:alt: Five plots, each showing a different aspect option for a rectangle that has height 4, depth 1, and width 1. auto: none of the dimensions have equal aspect, depth and width form a rectangular and height appears shrunken in proportion. equal: all the dimensions have equal aspect. equalxy: width and depth equal, height not so looks shrunken in proportion. equalyz: depth and height equal, width not so elongated. equalxz: width and height equal, depth not so elongated
727726
:include-source: true
728727

729728
from itertools import combinations, product

0 commit comments

Comments
 (0)