| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…y for the same type Fixes #236
There was a problem hiding this comment.
This PR resolves the method redefinition/precompilation conflict when both Makie and ControlPlots are loaded by introducing an explicit plotting-backend dispatch layer in VortexStepMethod.plot_* APIs (Fixes #236).
Changes:
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| src/VortexStepMethod.jl | Introduces backend dispatch types, backend selection state, and wrapper routing for plotting entry points. |
| ext/VortexStepMethodMakieExt.jl | Moves Makie plotting methods onto backend-dispatched signatures and sets Makie as the default backend on extension init. |
| ext/VortexStepMethodControlPlotsExt.jl | Moves ControlPlots plotting methods onto backend-dispatched signatures and sets ControlPlots as the default backend on extension init. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 89.28571% with 3 lines in your changes missing coverage. Please review.
📢 Thoughts on this report? Let us know! |
Sorry, something went wrong.
…y for the same type (#237) - Added PlotBackend dispatch types plus set_plot_backend! and wrapper methods that route plotting calls through an active backend. - Updated Makie and ControlPlots extensions to implement plotting methods with an additional backend-dispatch argument. - Initialized a default active backend from each extension on load.
| Back | FazBrowse Home | New Git URL |
Fixes #236