October 2018
Beginner to intermediate
676 pages
18h 30m
English
Here are the steps involved in plotting the required graph:
fig = plt.figure()ax = AxisArtist.Axes(fig, [0.1, 0.1, 0.8, 0.8])fig.add_axes(ax)
ax.axis["right", "top"].set_visible(False)ax.set_xlabel("X Axis")ax.axis["bottom"].label.set_rotation(30)ax.set_ylabel("Y Axis")
ax.axis["y=1"] = ax.new_floating_axis(nth_coord=0, value=1.0)ax.axis["y=1"].label.set_text("floating X axis on top")
ax.axis["x=0.5"] = ax.new_floating_axis(nth_coord=1, ...
Read now
Unlock full access