Skip to content

SP5: move axis management from Plot into Plot.Axes#3151

Merged
swharden merged 1 commit intomainfrom
3140
Jan 2, 2024
Merged

SP5: move axis management from Plot into Plot.Axes#3151
swharden merged 1 commit intomainfrom
3140

Conversation

@swharden
Copy link
Member

@swharden swharden commented Jan 2, 2024

Moved axis management logic from Plot into the Plot.Axes class.

This is really big breaking API change... ScottPlot 5 is marked as a preview package with warnings that the API is evolving, but I see this potentially affecting a lot of people.

before after
plot.GetAxisLimits() plot.Axes.GetLimits()
plot.SetAxisLimits() plot.Axes.SetLimits()
plot.AutoScale() plot.Axes.AutoScale()
plot.Margins() plot.Axes.Margins()

resolves #3140

@swharden swharden changed the title SP5: move axis management from Plot into Plot.Axis SP5: move axis management from Plot into Plot.Axes Jan 2, 2024
@swharden swharden marked this pull request as ready for review January 2, 2024 23:22
@swharden swharden merged commit 77a63a0 into main Jan 2, 2024
@swharden swharden deleted the 3140 branch January 2, 2024 23:22
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.

SP5: refactor the axis and grid systems

1 participant