Closed paulbrodersen closed 2 months ago
The update modifies the default backend setting in the Settings
class, based on the detected interactive shell type. Specifically, when a ZMQInteractiveShell is identified, the backend is set to "2d" instead of the previous "vtk". This change enhances compatibility and performance for users working in different development environments.
File Path | Change Summary |
---|---|
vedo/settings.py |
Changed self.default_backend from "vtk" to "2d" in Settings class. |
vedo/settings.py (1)
724-724: Do not use bare `except`
vedo/settings.py (1)
`234-237`: Conditional setting of `default_backend` based on shell type is a targeted fix for the Jupyter notebook detection issue. Ensure thorough testing to confirm that this change correctly identifies the environment in various configurations of IPython and Jupyter.
This PR attempts to mitigate issue #769, that arises due to the Jupyter notebook detection resulting in a false positive when working in an IPython REPL.