Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed handling of data_aspect #3848
This PR allows setting the data_aspect even if a fixed width and height are set by adjusting the plot ranges instead of the width and height of the plot. This is already what data_aspect did after the initialization of a plot so all this changes is that this can now also be done during plot initialization.
This is an important usecase and an unfortunate oversight. I also think there was an issue with inverted handling for data_aspect in certain scenarios.