Slices for 2d Datas

Issue #8 resolved
Ugo Lebreuilly created an issue

I can't get the plot_slice function to work with 2d datas anymore. On on the direction of the slice arrays is filled with zeros. My guess is that it reads z instead of x.

Comments (2)

  1. Neil Vaytet repo owner

    Hi @ulebreui, can you check 2 things:

    1. Before pulling the new changes, did making a 2d slice work if you had defined dx in your plot_slice call? osiris.plot_slice(mydata.density, dx=10)

    2. Do the new changes make the slice work even without specifying dx? Thanks!

  2. Log in to comment