diff --git a/mpl_animators/wcs.py b/mpl_animators/wcs.py index 770b1fe..3b856d2 100644 --- a/mpl_animators/wcs.py +++ b/mpl_animators/wcs.py @@ -179,7 +179,11 @@ def _apply_coord_params(self, axes): axislabel = params.get("axislabel", None) if axislabel: - coord.set_axislabel(axislabel) + if isinstance(axislabel, dict): + coord.set_axislabel(axislabel) + else: + # Default behavior for a string label + coord.set_axislabel(axislabel) grid = params.get("grid", None) if grid is not None: