Comments (4)
Ok, great. Thanks for the confirmation, @neutrinoceros . And I can push up a fix later today -- I spent some time yesterday experimenting with the qt back end options in new environments and I understand it much better now.
from yt.
Is it necessary to specify a backend in general? I've heard matplotlib isn't great at finding defaults, but I know I've had to change the backend through an environment variable on at least one system to get (interactive?) plotting to work at all. If setting the backend explicitly is not necessary, maybe it would be better to let users set this if they have to, based on what works/is available on their system.
from yt.
Well it already is possible for the user to set the matplotlib backend, but internally yt tries to do its own detection in order to get the proper canvas objects (based on whatever matplotlib detects). It may be that this whole architecture could be removed or refactored, but I think that'd be a much larger refactor (throughout many of the yt plot window classes) compared to just getting the generic QtAgg backend to work.
from yt.
BACKEND_SPECS
should definitely be updated in this situation. What I don't understand is why 4-years-ago me thought it was a good idea to silently swallow KeyError
s and return None
... Seeing that this does causes issues, I would suggest to just drop the try/except logic.
from yt.
Related Issues (20)
- TST: incompatibilities with pytest 8 (tracking issue)
- bug/not implemented problem: annotate_contour does not work with GIZMO MFM output HOT 1
- Volume Rendering Multiple Fields with MPI HOT 1
- [4.3.1] Test failure on i386 in test_grid_arrays_view HOT 1
- BUG: some RAMSES fields return different values depending on order of operations HOT 5
- ENH: Only open auxilliary files for Tipsy as needed
- unexpected output when using ParticlePhasePlot HOT 2
- OSX wheels aren't compiled with OpenMP support HOT 5
- BUG: ResourceWarnings for unclosed files in boxlib frontend HOT 2
- BUG: convert_to_cartesian from _sanitize_center fails for Geographic geometry when bbox is subset of globe
- BLD: non-isolated builds are broken
- TST: Upcoming dependency test failures HOT 1
- How to change the particle size in function "ParticlePhasePlot" HOT 2
- BUG: Multiple fields break sanitization HOT 2
- BUG: segault on manylinux2014 image HOT 5
- Deprecation warning in GDF (and maybe more?) HOT 3
- Try to project gas particles (SPH) to a mesh with octree structure HOT 2
- ImportError when compiling with gcc 14.1.1 and conda HOT 5
- DOC: docs builds are failing HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yt.