Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b71ee62

Browse filesBrowse files
authored
Merge pull request #20354 from anntzer/cbb
Merge Colorbar and ColorbarBase.
2 parents 3886f50 + b84775c commit b71ee62
Copy full SHA for b71ee62

File tree

Expand file treeCollapse file tree

6 files changed

+162
-178
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+162
-178
lines changed

‎doc/users/prev_whats_new/whats_new_3.0.rst

Copy file name to clipboardExpand all lines: doc/users/prev_whats_new/whats_new_3.0.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ frame. Padding and separation parameters can be adjusted.
6060
Add ``minorticks_on()/off()`` methods for colorbar
6161
--------------------------------------------------
6262

63-
A new method `~.colorbar.ColorbarBase.minorticks_on` has been added to
63+
A new method ``ColorbarBase.minorticks_on`` has been added to
6464
correctly display minor ticks on a colorbar. This method doesn't allow the
6565
minor ticks to extend into the regions beyond vmin and vmax when the *extend*
6666
keyword argument (used while creating the colorbar) is set to 'both', 'max' or
67-
'min'. A complementary method `~.colorbar.ColorbarBase.minorticks_off` has
67+
'min'. A complementary method ``ColorbarBase.minorticks_off`` has
6868
also been added to remove the minor ticks on the colorbar.
6969

7070

‎doc/users/prev_whats_new/whats_new_3.3.0.rst

Copy file name to clipboardExpand all lines: doc/users/prev_whats_new/whats_new_3.3.0.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Align labels to Axes edges
285285
--------------------------
286286

287287
`~.axes.Axes.set_xlabel`, `~.axes.Axes.set_ylabel` and
288-
`.ColorbarBase.set_label` support a parameter ``loc`` for simplified
288+
``ColorbarBase.set_label`` support a parameter ``loc`` for simplified
289289
positioning. For the xlabel, the supported values are 'left', 'center', or
290290
'right'. For the ylabel, the supported values are 'bottom', 'center', or
291291
'top'.

‎examples/color/colorbar_basics.py

Copy file name to clipboardExpand all lines: examples/color/colorbar_basics.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@
5454
#
5555
# - `matplotlib.axes.Axes.imshow` / `matplotlib.pyplot.imshow`
5656
# - `matplotlib.figure.Figure.colorbar` / `matplotlib.pyplot.colorbar`
57-
# - `matplotlib.colorbar.ColorbarBase.minorticks_on`
58-
# - `matplotlib.colorbar.ColorbarBase.minorticks_off`
57+
# - `matplotlib.colorbar.Colorbar.minorticks_on`
58+
# - `matplotlib.colorbar.Colorbar.minorticks_off`

‎examples/images_contours_and_fields/image_masked.py

Copy file name to clipboardExpand all lines: examples/images_contours_and_fields/image_masked.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@
7979
# - `matplotlib.axes.Axes.imshow` / `matplotlib.pyplot.imshow`
8080
# - `matplotlib.figure.Figure.colorbar` / `matplotlib.pyplot.colorbar`
8181
# - `matplotlib.colors.BoundaryNorm`
82-
# - `matplotlib.colorbar.ColorbarBase.set_label`
82+
# - `matplotlib.colorbar.Colorbar.set_label`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.