Skip to content

Fixes for quick plotting - both 1D and 3D#3749

Merged
rozyczko merged 4 commits intomainfrom
3746-quick-plotting-from-data-explorer-fails
Nov 13, 2025
Merged

Fixes for quick plotting - both 1D and 3D#3749
rozyczko merged 4 commits intomainfrom
3746-quick-plotting-from-data-explorer-fails

Conversation

@rozyczko
Copy link
Copy Markdown
Member

Description

Fixes #3747 #3746

  1. Removed import added (was marked as unused but it is strictly necessary
  2. New version of matplotlib with slightly different API

How Has This Been Tested?

Local tests on Win10

Review Checklist:

[if using the editor, use [x] in place of [ ] to check a box]

Documentation (check at least one)

  • [ X] There is nothing that needs documenting
  • Documentation changes are in this PR
  • There is an issue open for the documentation (link?)

Installers

  • There is a chance this will affect the installers, if so
    • Windows installer (GH artifact) has been tested (installed and worked)
    • MacOSX installer (GH artifact) has been tested (installed and worked)
    • Wheels installer (GH artifact) has been tested (installed and worked)

Licensing (untick if necessary)

  • The introduced changes comply with SasView license (BSD 3-Clause)

@rozyczko rozyczko added the Defect Bug or undesirable behaviour label Nov 12, 2025
# Disable rotation for large sets.
# TODO: Define "large" for a dataset
SET_TOO_LARGE = 500
if len(data_x) > SET_TOO_LARGE:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess in majority (or even all cases) data_x is same/similar to data_y but wondering if this conditions shouldn't be generalized for data.size

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could. I'd like to look at this method in a bit more detail, so postponing fixing it here (as this is just a big fix commit) but will create a new issue.

Copy link
Copy Markdown
Contributor

@wpotrzebowski wpotrzebowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Mac. Works as expected.

@rozyczko rozyczko merged commit edbaf31 into main Nov 13, 2025
30 checks passed
@rozyczko rozyczko deleted the 3746-quick-plotting-from-data-explorer-fails branch November 13, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Defect Bug or undesirable behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quick slow 3D plotting shows empty canvas

2 participants