-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Milestone
Description
Docs use Matplotlib's .. plot:: directive, which incorrectly crops off edges of images produced by plotting code (see Matplotlib issue here, resulting in behavior like that below:
Need to find a better way to fix this other than sticking the following block of code before every plt.show() instance, as this obscures the astroplan code that the docs are meant to illustrate:
# Note that you don't need this code block to produce the plot.
# It reduces the plot size for the documentation.
ax = plt.gca()
box = ax.get_position()
ax.set_position([box.x0, box.y0, box.width * 0.75, box.height * 0.75])
Reactions are currently unavailable
