home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1103009167

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/4114#issuecomment-1103009167 https://api.github.com/repos/pydata/xarray/issues/4114 1103009167 IC_kwDOAMm_X85BvpWP 15079414 2022-04-19T19:25:44Z 2022-04-19T20:37:34Z CONTRIBUTOR

Thanks @max-sixty. ~~I think~~ it was with %matplotlib widget (ipympl) that I got the behavior I described. With %matplotlib inline (default inline backend) the figures get closed[^1] at the end of a cell, so the two plot commands would have to be in the same cell to get an overlay, which is fine. But with ipympl, this is not the case so you have to be more careful.

Example ![image](https://user-images.githubusercontent.com/15079414/164080131-07a8d5d1-86b5-44d4-811f-ab6f19b1bd0f.png)

[^1]: You can disable this behavior with %config InlineBackend.close_figures=False and get an overlay from plot commands in separate cells, but then you have to manually refresh the plot it seems.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  627805952
Powered by Datasette · Queries took 0.49ms · About: xarray-datasette