Skip to content

ArrayAnimatorWCS appears to be overriding user input slider labels #7

@DanRyanIrish

Description

@DanRyanIrish

Describe the bug

ArrayAnimatorWCS appears from the code to be overriding user input slider_labels: https://github.com/sunpy/mpl-animators/blob/main/mpl_animators/wcs.py#L103

Suggest the following replacement to the above line:

slider_labels = kwargs.pop("slider_labels", None) if not slider_labers: slider_labels = self._compute_slider_labels_from_wcs(slices) + extra_slider_labels

To Reproduce

import sunpy

sunpy.map.Map(...)
etc

What happened?

No response

Expected behavior

No response

Screenshots

No response

System Details

No response

Installation method

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions