Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Not showing any figure #47

@pluiez

Description

@pluiez

Hi I'm new to plotly_express and also plotly, please correct me if I missed anything. I followed the steps described walkthrough.ipynb, and run the following code snippet in a single python file but nothing happened, no figure and nothing generated.

import plotly_express as px
gapminder = px.data.gapminder()
gapminder2007 = gapminder.query("year == 2007")

px.scatter(gapminder2007, x="gdpPercap", y="lifeExp")

Do I need to plot the figure by using plot(fig) like in matplotlib?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions