8000 DOC: Cleanup scales examples · matplotlib/matplotlib@cdb6232 · GitHub
[go: up one dir, main page]

Skip to content

Commit cdb6232

Browse 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

File tree

4 files changed

+9
-38
lines changed

4 files changed

+9
-38
lines changed

galleries/examples/scales/asinh_demo.py

Lines 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

Lines changed: 0 additions & 29 deletions
This file was deleted.

galleries/examples/scales/logit_demo.py

Lines 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

Lines 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