Hi,
I could not plot grids in Google Colab. I amanaged to show them with the below code:
def Bempp_configure_plotly_browser_state():
import IPython
display(IPython.core.display.HTML('''
<script src="/static/components/requirejs/require.js"></script>
<script>
requirejs.config({
paths: {
base: '/static/base',
plotly: 'https://cdn.plot.ly/plotly-1.5.1.min.js?noext',
},
});
</script>
'''))
bempp.api.PLOT_BACKEND = "jupyter_notebook"
plotly.io.renderers.default = 'colab'
Then, before plotting insert the following lines:
Bempp_configure_plotly_browser_state()
grid.plot()