Skip to content

Commit c9a5463

Browse files
authored
Merge pull request #23468 from anntzer/dfag
Display grid in floating axes example.
2 parents 1e69493 + f34d0b9 commit c9a5463

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/axisartist/demo_floating_axes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def setup_axes1(fig, rect):
4141

4242
ax1 = fig.add_subplot(
4343
rect, axes_class=floating_axes.FloatingAxes, grid_helper=grid_helper)
44+
ax1.grid()
4445

4546
aux_ax = ax1.get_aux_axes(tr)
4647

@@ -72,6 +73,7 @@ def setup_axes2(fig, rect):
7273

7374
ax1 = fig.add_subplot(
7475
rect, axes_class=floating_axes.FloatingAxes, grid_helper=grid_helper)
76+
ax1.grid()
7577

7678
# create a parasite axes whose transData in RA, cz
7779
aux_ax = ax1.get_aux_axes(tr)
@@ -129,6 +131,7 @@ def setup_axes3(fig, rect):
129131

130132
ax1.axis["left"].label.set_text(r"cz [km$^{-1}$]")
131133
ax1.axis["top"].label.set_text(r"$\alpha_{1950}$")
134+
ax1.grid()
132135

133136
# create a parasite axes whose transData in RA, cz
134137
aux_ax = ax1.get_aux_axes(tr)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy