[plotter] [bug] put the right error catch
This commit is contained in:
+1
-1
@@ -597,7 +597,7 @@ class Plotter(Aggregator, BaseProcessor):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
plot_overlay(ax_los, im_extent, **overlays_kwargs[i])
|
plot_overlay(ax_los, im_extent, **overlays_kwargs[i])
|
||||||
except TypeError:
|
except IndexError:
|
||||||
plot_overlay(ax_los, im_extent)
|
plot_overlay(ax_los, im_extent)
|
||||||
|
|
||||||
return PlotInfo(
|
return PlotInfo(
|
||||||
|
|||||||
Reference in New Issue
Block a user