Skip to content

Automatically choose the output format optimal for rendering in browser. #251

Open

Description

@KOLANICH
No description provided.

Activity

  1. Carreau commented on Jul 14, 2017

    @Carreau
    Member

    I'm unsure what your question/suggestion is. If an object has an SVG representation it is sent to the frontend. There is no need to make it "default".

  2. KOLANICH commented on Jul 15, 2017

    @KOLANICH
    Author

    I mean that every my notebook I have to start with

    %config InlineBackend.figure_format = 'svg'

    I wonder why matplotlib output is not set by default to svg in jupyter notebook setting taking in accounts the facts that jupyter notebook uses web browsers for GUI, all modern web browsers support svg and svg is a vector format, which is good for drawing curves and schemas, such as matplotlib plots.

  3. takluyver commented on Jul 15, 2017

    @takluyver
    Member

    SVG tends to get horrible when you have very large numbers of elements, IIRC. E.g. mpl can handle a scatter plot of millions of points, but nobody wants the result as an SVG.

  4. KOLANICH commented on Jul 15, 2017

    @KOLANICH
    Author

    I guess then it'll require some heuristics and matplotlib monkey-patching to choose the optimal format automatically then.

  5. changed the title [-]Make svg a default output format[/-] [+]Automatically choose the output format optimal for rendering in browser.[/+] on Jul 15, 2017
  6. takluyver commented on Jul 16, 2017

    @takluyver
    Member

    I don't think this is something where the tools should try to be 'smart'. Simplicity and predictability are good things too. :-)

  7. added this to the wishlist milestone on Jul 19, 2017
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