Rename recently introduced parameters in SpanSelector by timhoffm · Pull Request #20558 · matplotlib/matplotlib · GitHub
Skip to content

Rename recently introduced parameters in SpanSelector - #20558

Merged
tacaswell merged 1 commit into
matplotlib:masterfrom
timhoffm:span-selector
Jul 1, 2021
Merged

tacaswell merged 1 commit into
matplotlib:masterfrom
timhoffm:span-selector

Conversation

@timhoffm

@timhoffm timhoffm commented Jun 30, 2021

Copy link
Copy Markdown
Member

PR Summary

Follow up to #20113.

  • IMHO two parameters were not named clearly, so renaming
    • line_props -> handle_props
    • maxdist -> handle_grab_distance
  • Minor improvements:
    • document default for buttons
    • document default for drag_from_anywhere
    • properly document onselect

Heads up: I also see a naming issue with interactive (see #20113 (comment)), but it's unclear if we should go back to the old span_stay or a different new name. To be discussed in tomorrows dev call. This can be addressed separately from this PR.

@timhoffm timhoffm added this to the v3.5.0 milestone Jun 30, 2021
@ericpre

ericpre commented Jul 1, 2021

Copy link
Copy Markdown
Member

@tacaswell

Copy link
Copy Markdown
Member

@tacaswell
tacaswell merged commit 11a628f into matplotlib:master Jul 1, 2021
@timhoffm
timhoffm deleted the span-selector branch July 1, 2021 18:46
@ericpre ericpre mentioned this pull request Jul 6, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants