FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Options for `%matplotlib inline` · Issue #3982 · ipython/ipython · GitHub

Repository navigation

Options for %matplotlib inline #3982

Open

Description

It occurred to me that a simple way to configure the inline backend, in particular to choose between standard PNG, retina (2x) PNG and SVG (and future PDF?) would be via the following syntax:

%matplotlib inline svg

or

%matplotlib inline --svg

I had a look at the code, but I don't know enough about how either the command-line argument parsers work, or how the configuration works, to implement this.

In this way, there would be no need to make the %config InlineBackend stuff so public.

Activity

  1. minrk commented on Aug 10, 2013

    Member

    There will probably never be inline PDF, because browsers don't deal with them well. There may be PDF in addition to whatever chosen interactive figure format, but 'inline pdf' doesn't make sense.

  2. flying-sheep commented on Jun 28, 2026

    Collaborator

    There should however be retina JPEG, retina WebP, …

    I.e. we should separate scale from image format, see ipython/matplotlib-inline#5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL