Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97387

Using Visual Studio Code Python extension with Jupyter interactive window on a Retina display

$
0
0

Is there a way to instruct the Jupiter interactive window to use a Retina display with the Python extension of Visual Studio Code? For example, this minimal code

#%%
import numpy as np
from matplotlib import pyplot as plt
x = np.linspace(-10, 10, 1000)
plt.plot(x, np.sin(x))

produces an output that shows clearly the image pixels (note the resolution difference between the text "matplotlib.lines.Line2D..." and the plot markers):

output of the code

Using the standard line

%config InlineBackend.figure_format = 'retina'

unfortunately does not seem to solve the problem: it makes images twice as large, but still not retina-display ready.


Viewing all articles
Browse latest Browse all 97387

Trending Articles