flaport / fdtd

A 3D electromagnetic FDTD simulator written in Python with optional GPU support

Home Page:https://fdtd.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colorbar in grid.visualize

GenB31415 opened this issue · comments

Hi @flaport, is it possible to insert the colorbar to grid.visualize(...) figure? Thanks

I think this can be achieved by setting show = False in grid.visualize, then declaring a colorbar in matplotlib. Then call plt.show()

Indeed 🙂