Skip to content

Jupyter notebook example: deprecated matplotlib function "set_smart_bounds" #12

Open
@matiollipt

Description

@matiollipt

Hi. Experimenting with codex, I found that the degree plotting function in the exploration notebook has a minor issue. matplotlib "set_smart_bounds" is deprecated. I found this approach to fix and I leave here for reference. Thanks for the nice dataset.

ax.spines["left"].set_bounds(x.min(), x.max())
ax.spines["bottom"].set_bounds(x.min(), x.max())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions