8000 save_fig problem · Issue #277 · jnothman/UpSetPlot · GitHub
[go: up one dir, main page]

Skip to content

save_fig problem #277

Open
Open

Description

@harryhoch

trying to save an UpSet figure, using the example from the documentation page:

from upsetplot import generate_counts
from upsetplot import plot
from matplotlib import pyplot

example = generate_counts()
plot(example)
pyplot.show()
pyplot.savefig("myplot.png")

The resulting file is blank.

Activity

  1. cardi commented on May 23, 2025

    @cardi

    Swap savefig and show:

    plot(example)
    pyplot.savefig("myplot.png")
    pyplot.show()
    

    Some more details on why are at https://stackoverflow.com/a/9012749.

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0