Skip to content

Using matplotlib.pyplot.show in console leads to figure shown twice #265

Closed
@gdementen

Description

@gdementen

Test case (to type in the viewer console):

import matplotlib.pyplot as plt
import larray as la

def plot_and_show(arr):
    ax = arr.plot()
    plt.show()
    return ax

plot_and_show(la.ndtest(4))

This is really a very rare case currently but is a lot more frequent after larray-project/larray#620 (which is implemented in my devel branch) and thus this issue annoys me 😉.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions