Comments (6)
I've observed that this happens on Windows with different scaling set than 100% (tested 125% and 135%).
from pyvistaqt.
Does it happen with 200% scaling? If not I'm guessing it has to do with the fractional scaling sometimes (but not others) making the render area 1px bigger than Qt expects due to rounding errors/differences (e.g., we round
while they floor
or similar)
from pyvistaqt.
@larsoner thanks for the quick reply. Yes, it looks like the issue. For 200% scaling there are no artifacts. Is there a feasible way to hack it?
I'm trying to figure out a way around it, hence my discussion #464 - as a workaround I tried to draw some rectangles over the plotter to simply cover the incorrect borders (I'm using wide margins anyway), but it didn't work either.
from pyvistaqt.
Can you try locally changing these to use np.floor
rather than round
?
Line 476 in 77be3ec
it might fix the problem, in which case we should make this change here and in the VTK gitlab source
from pyvistaqt.
(or math.floor
probably since numpy
doesn't appear to be used in that file)
from pyvistaqt.
I've tested np.floor/np.ceil/np.round and unfortunately the glitch is stilll there.
from pyvistaqt.
Related Issues (20)
- Running pyvistaqt project in Github Action HOT 2
- Inconsistent plotting results with PyVistaQT versus Jupyter (Trame) backends HOT 3
- Issue using pyvistaqt QtInteractor on Windows 10
- MAINT: Deploy docs HOT 7
- solicitud para agregar característica, para guardar los modelos en formato obj
- Stage release for PyVista 0.40 HOT 3
- Update GC testing fixture
- MAINT: Remove Azure
- Make the canvas background transparent HOT 1
- X Error of failed request: BadWindow (invalid Window parameter) HOT 4
- macOS `pvqt.BackgroundPlotter` never opens window HOT 2
- DOC: MultiPlotter vs BackgroundPlotter
- no mouse interactivity with BackgroundPlotter HOT 1
- Consider adding `.git_archival.txt` to include version number in git archive
- QtInteractor CPU usage is based on window size and meshes rendered HOT 1
- circular import
- Not compatible with PySide 6.7 HOT 6
- app_window property returns misleading value in a MultiPlotter setting
- Can BackgroundPlotter refresh and redraw in a loop?
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 pyvistaqt.