Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ed0430 commit 56314cdCopy full SHA for 56314cd
2 files changed
examples/axes_grid/demo_parasite_axes.py
@@ -22,8 +22,9 @@
22
23
par2.set_ylabel("Velocity")
24
offset = (60, 0)
25
- new_axisline = par2._grid_helper.new_axisline
+ new_axisline = par2._grid_helper.new_fixed_axis
26
par2.axis["right2"] = new_axisline(loc="right",
27
+ axes=par2,
28
offset=offset)
29
30
examples/axes_grid/demo_parasite_axes2.py
@@ -1,5 +1,4 @@
1
from mpl_toolkits.axes_grid.parasite_axes import SubplotHost
2
-import matplotlib.transforms as mtransforms
3
import matplotlib.pyplot as plt
4
5
if 1:
@@ -20,6 +19,7 @@
20
19
offset = 60, 0
21
new_axisline = par2.get_grid_helper().new_fixed_axis
par2.axis["right2"].label.set_visible(True)
0 commit comments