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 cdb6232

Browse filesBrowse files
committed
DOC: Cleanup scales examples
- Remove https://matplotlib.org/3.9.3/gallery/scales/log_bar.html The only scale-related aspect of the example is `ax.set_yscale("log")`. That's not something we need an extra example for. The scale works for all data content. We don't need to show that it also works for bars. Even worse, the example creates grouped bars, which require extra code and therefore distract from the scale aspect. - Rename some example titles "Demo" -> "scale"
1 parent f8900ea commit cdb6232
Copy full SHA for cdb6232

File tree

Expand file treeCollapse file tree

4 files changed

+9
-38
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+9
-38
lines changed

‎galleries/examples/scales/asinh_demo.py

Copy file name to clipboardExpand all lines: galleries/examples/scales/asinh_demo.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
============
3-
Asinh Demo
4-
============
2+
===========
3+
Asinh scale
4+
===========
55
66
Illustration of the `asinh <.scale.AsinhScale>` axis scaling,
77
which uses the transformation

‎galleries/examples/scales/log_bar.py

Copy file name to clipboardExpand all lines: galleries/examples/scales/log_bar.py
-29Lines changed: 0 additions & 29 deletions
This file was deleted.

‎galleries/examples/scales/logit_demo.py

Copy file name to clipboardExpand all lines: galleries/examples/scales/logit_demo.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
================
3-
Logit Demo
4-
================
2+
===========
3+
Logit scale
4+
===========
55
66
Examples of plots with logit axes.
77
"""

‎galleries/examples/scales/scales.py

Copy file name to clipboardExpand all lines: galleries/examples/scales/scales.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
======
3-
Scales
4-
======
2+
===============
3+
Scales overview
4+
===============
55
66
Illustrate the scale transformations applied to axes, e.g. log, symlog, logit.
77

0 commit comments

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