Skip to content

Conversation

@MitchellAcoustics
Copy link
Owner

  • Replaces type casting with direct parameter access using new get() method
  • Introduces ParamModels dataclass for better parameter organization
  • Simplifies style management with dedicated methods for grid, labels and legends
  • Reduces SPI layer sample size default from 10000 to 1000
  • Improves code maintainability and readability through better encapsulation

Removed redundant comments and streamlined examples for clarity across plotting methods. Improved diagonal line logic, refactored legend handling, and enhanced parameter handling for plotting/styling functions to improve maintainability and consistency.``

Signed-off-by: Andrew Mitchell <a.j.mitchell@ucl.ac.uk>
Introduce a new plotting module with a cleaner architecture based on composition. Includes the main `ISOPlot` class, various visualization layers, and supporting constants, enabling flexible and modular circumplex plotting functionality.

Signed-off-by: Andrew Mitchell <a.j.mitchell@ucl.ac.uk>
New refactoring is in the plotting/new submodule

Signed-off-by: Andrew Mitchell <a.j.mitchell@ucl.ac.uk>
Consolidated layer management into `add_layer` with improved versatility, replacing multiple layer-specific methods with a unified interface. Deprecated legacy methods for backward compatibility and refined styling and subplot creation workflows for better clarity and maintainability. Updated dependencies to include `deprecated` library.

Signed-off-by: Andrew Mitchell <a.j.mitchell@ucl.ac.uk>
Enhanced plotting functionality by introducing `subplot_by` for grouping data in subplots, along with options like `auto_allocate_axes`, `adjust_figsize`, and `subplot_titles`. Refactored layer rendering and documentation to incorporate these features, improving customization and usability. Updated dependencies to include `types-deprecated`.

Signed-off-by: Andrew Mitchell <a.j.mitchell@ucl.ac.uk>
- Replaces type casting with direct parameter access using new get() method
- Introduces ParamModels dataclass for better parameter organization
- Simplifies style management with dedicated methods for grid, labels and legends
- Reduces SPI layer sample size default from 10000 to 1000
- Improves code maintainability and readability through better encapsulation
@MitchellAcoustics MitchellAcoustics marked this pull request as ready for review May 11, 2025 00:05
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.

1 participant