diff --git a/skymap/survey.py b/skymap/survey.py index c5c3199..439f48d 100644 --- a/skymap/survey.py +++ b/skymap/survey.py @@ -306,6 +306,9 @@ def inv_tr(x,y): plt.gca().axis('off') ax = axisartist.Axes(fig,rect,grid_helper=grid_helper) fig.add_axes(ax) + elif isinstance(rect,list): + ax = axisartist.Axes(fig, rect ,grid_helper=grid_helper) + fig.add_axes(ax) else: ax = axisartist.Subplot(fig,rect,grid_helper=grid_helper) fig.add_subplot(ax)