Comments (6)
Are you using a Retina display here, or maybe a hybrid setup with one Retina display and an external monitor that is not Retina?
We effectively scale the antialiasing distance by the pixel ratio of the screen, which is 2 for a Retina display. So the antialiasing distance on a Retina display is twice as much in physical pixels which means it is correct in CSS pixels (i.e. expected "human eye" pixels). So the antialiasing should be similar for canvas
and webgl
backends, which is evidently not the situation here.
From a purely practical point of view I do not currently have access to a Retina display (or any display with a pixel ratio far from 1) so I am not able to check that what we currently do is what I expect us to do.
from bokeh.
Yes, this issue is observed of my MacBook Pro: 14.2-inch (diagonal) Liquid Retina XDR display; 3024-by-1964 native resolution at 254 pixels per inch
from bokeh.
Thanks. Could you try with a different browser, ideally Chrome, to confirm that it is not a browser-specific problem?
from bokeh.
Thanks. Could you try with a different browser, ideally Chrome, to confirm that it is not a browser-specific problem?
I reproduced the issue in Safari and in one Blink/Chromium-based browser (unfortunately, I cannot install Chrome on my machine).
from bokeh.
I don't see any difference between different pixel densities in Chromium's devtools (all my screens are natively 1:1), but I see a clear differences when scaling the viewport (blurring seems to increase with scaling).
At 250% zoom (need to open this image in a new tab to see it in full resolution and see the blurring):
(both use 1:1 DPI). When testing this, note that you have to reload the page for zoom to take effect in bokehjs.
from bokeh.
Not sure if this is an additional context for Bokeh developers or a suggestion to check the zoom-related things on my side :) So just in case I did the following:
- I turned off the native system-wide macOS scaling.
- I reset the browser scaling.
And after those changes, the issue is still there.
from bokeh.
Related Issues (20)
- Broken page in the docs
- Explanation is part of the code block in the latex_axis_labels_titles_labels example HOT 1
- [BUG] Enforce `max_interval` / `min_interval` if `{x,y}_range` is not set HOT 1
- [BUG] Javascript Error Using AjaxDataSource With Image Data HOT 4
- [FEATURE] Create option for wheel zoom tool to apply only to subplot nearest to the cursor position HOT 1
- [BUG] Documentation Missing space character in the command to enable jupyter server extension in jupyterLab docs.
- Problems initializing Models using BokehJS without Python HOT 4
- Typo in the documentation related to writing tests in the Contribute section HOT 2
- App README links are all old / bad
- [BUG] Documentation: TypeScript in Custom Extensions section fails to compile HOT 4
- VBox is not working in 3.4.0rc1 HOT 14
- [FEATURE] Tab labels are fitted to the width of the page HOT 2
- [FEATURE] Coloring of active tabs HOT 1
- [BUG] Button does not updated when property is changed
- `Tooltip` node positioning is wrong when the target is offset
- [BUG] Figures break inside Scrollbox if using frame_height or followed by div using stretch_width HOT 1
- `webgl` backend doesn't support non-visual overrides
- [BUG] Visualization of large(r) dataset fails to load even if amount of data being rendered remains the same HOT 12
- Missing release notes
- [BUG] Dropdown doesnt update properly when .menu changed in 3.4
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 bokeh.