Adjust SciView's Plots resolution/dpi

The default resolution of plots in SciView is sub-optimal and blurry. Is there a way to up the resolution/dpi?

0
3 comments

Upon further inspection, actually there's nothing wrong with the SciView Plots panel. I just had to define a larger figure size explicitly for instance via:

```
import matplotlib.pyplot as plt

fig, ax = plt.subplots(figsize=(10, 10))
ax.plot(x, y)
```

1

For information only:

The size of the plots can also be changed globally for a whole script:

plt.rcParams['figure.figsize'] = (15, 5)
1

That one-line configuration fix works great.

However, I have a project that generates various kinds of plots. It violates the design principles and could altered the code everywhere.
It should have some adjustment on the IDE side since it is a tool/feature (show plots in tool window) provided by PyCharm Pro.
 

0

Please sign in to leave a comment.