@champost The splom is a special Plotly trace. It doesn’t work with tools.make_subplots. Perhaps your intention was to insert each splom in a subplot, but this operation is forbidden.
Download this code https://plot.ly/python/splom/ and read the introduction to understand what is plotted in each cell.
Notice in the layout definition that xaxes, respectively yaxes 1,2,3,4 , define the reference system for each cell in the scatter plot matrix.
Only gridcolor='#fff' in axis definition is obsolete in the above code. Change it to gridcolor='#ffffff' and you’ll get a splom.
@champost I found this solution to your requirements:
Define the four sploms as go.FigureWidget instances and insert them in a dashboard
as follows:
import ipywidgets as ipw
ipw.VBox([ipw.HBox([fig1, fig2]), ipw.HBox([fig3, fig4])])
Instead of vertical_spacing, horizontal_spacing keys from the usual plotly subplots definition,
here you have to tune the margins such that two horizontally/vertically stacked figures to be sufficiently close: https://plot.ly/~empet/14994.
PS. For anyone having difficulty (like I had) with no output when using go.FigureWidget, make sure to update your notebook version (>= 5.3) with this command sudo pip install --upgrade --ignore-installed notebook (i.e. if you have admin rights).