Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Default renderer is incorrect when ipython is installed in environment #5257

Open
Assignees
Labels
P1needed for current cycle bugsomething broken
@emilykl

Description

  • If the ipython package is installed in the environment, the default renderer (pio.renderers.default) is set to "plotly_mimetype+notebook" even when running in a normal Python script.
  • This causes undesirable behavior for fig.show(): Calling fig.show() causes HTML/Javascript output to be printed to the terminal, rather than launching a browser window to show the plot.
  • If ipython is NOT installed, then pio.renderers.default is set to "browser", as it should be, and fig.show() behaves normally.

Metadata

Metadata

Assignees

Labels

P1needed for current cycle bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /