How do I get Retina figures from the matplotlib backend?

The matplotlib backend still doesn’t generate Retina figures by default. How do I configure this?

1 Like

Increasing the dpi does indeed increase the figure size, be it with HoloViews or Matplotlib. However plotting a Matplotlib figure in a notebook with the inline backend (not used by HoloViews) set with %config InlineBackend.figure_format = 'retina' increases the dpi without increasing the figure size. So it seems that a change needs to be made in HoloViews to replicate the behavior offered by the matplotlib inline backend.

Agreed. I forgot to mention that I also tried InlineBackend.figure_format = 'retina', which, as you point out, is has no effect on HoloViews figures.