Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Description
Bug report
The plots done with "TkAgg" backend look blurry on retina screen of my Mac Book Pro. The plots look good when I'm using the default "MaxOSX" backend. It would be nice to have retina-friendly output for "TkAgg" since I'm using the plots into a tkinter GUI app.
Code for reproduction
importmatplotlibmatplotlib.use('TkAgg')# Remove this to compare with MacOSX backendimportmatplotlib.pyplotaspltf=plt.figure(figsize=(6,4))a=f.add_subplot(111)a.plot([1,2,3,4])plt.show()
Actual outcome
The plots and toolbar look blurry on "TkAgg" backend.
Expected outcome
The plots and toolbar look sharp, just like on "MaxOSX" backend.
Matplotlib version
- Operating system: MacOS 10.13.2
- Matplotlib version: 2.1.2
- tkinter.TkVersion: 8.5
- Matplotlib backend (
print(matplotlib.get_backend())
): TkAgg - Python version: 3.6.4
I've installed python fromhttps://www.python.org/downloads/mac-osx/, clicking on Download menu and selecting Python 3.6.4 for MacOS.
If I create a tkinter app, other elements like labels, menus are sharp as well, only the plot is blurry. This indicates that tkinter is capable of showing sharp graphics, the question is how to do it.