Skip to content

[ENH]: hi-res plot directive... #25497

Closed

Description

@jklymak

Problem

Our plot directive makes 100-dpi figures for the webpage. These look pretty fuzzy on hiDPI screens, and we should do what we did for sphinx gallery and allow hi-res figures..

Proposed solution

Not quite sure how to fix this. We currently make a .. figure:: from the plot directive, which is exactly the same as a .. image:: except it allows a caption. Internally, we use the caption functionality exactly once. If we could drop the caption we could just use .. sg-image:: from sphinx gallery, which allows srcset multiple resolution images.

Just increasing the dpi doesn't really work because it makes the images twice as big, but still low resolution, unless we have specified the :width: manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions