Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xlims!, ylims!, zlims! support for Intervals #2613

Closed
wants to merge 5 commits into from

Conversation

asinghvi17
Copy link
Member

Description

With this, one can do xlims!(0..1) and it works. This also extends support for limits!, since it calls out to xlims!, ... internally.

Fixes #2611

Type of change

Delete options that do not apply:

  • New feature (non-breaking change which adds functionality)

Checklist

  • Added an entry in NEWS.md (for new features and breaking changes)
  • Added or changed relevant sections in the documentation
  • Added unit tests for new algorithms, conversion methods, etc.
  • Added reference image tests for new plotting functions, recipes, visual options, etc.

With this, one can do `xlims!(0..1)` and it works.  This also extends support for `limits!`, since it calls out to `xlims!`, ...  internally.
@asinghvi17 asinghvi17 marked this pull request as ready for review January 19, 2023 02:25
@SimonDanisch
Copy link
Member

Sorry, but I'm not really sure if we actually want this overload:
#2611 (comment)

@asinghvi17 asinghvi17 closed this Jan 28, 2023
@asinghvi17 asinghvi17 deleted the as/limits!_intervals branch January 28, 2023 17:33
@SimonDanisch SimonDanisch restored the as/limits!_intervals branch January 28, 2023 17:48
@SimonDanisch
Copy link
Member

SimonDanisch commented Jan 28, 2023

I'm not totally against this I guess, after the comments in #2611 ... Not sure, @jkrumbiegel, what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xlims! doesn't work with intervals
2 participants