Skip to content

Trigger ax limit adjustment only when x/y feature has been changed #463

@jo-mueller

Description

@jo-mueller

Title. In the current plotter, using the zoom functionality from the matplotlib toolbar is a bit annoying, because the zoom, if set, is pretty much reset whenever anything is done with the clusters plotter (i.e., selecting an object or unselecting it).

The ax reset function is necessary, though. Otherwise, choosing different features as x/y-features wouldn't resize the axis and the data could end up way outside the biaplotter's FOV, making it practically unusable.

A solution could be to break out the axis resizing in its own little function and trigger it separately and explicitly in the feature_update function here in the clusters plotter, not everytime the _colorize() and _refresh() methods in the biaplotter are invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions