Interacting with the temporal tissue graph and its properties

We use a simple exemple spherical time-series (3 time-points) to showcase this demo.

test_dataset = 'sphere'  # can be changed to 'p58' for a real developping Floral Meristem
import numpy as np

import plotly.io as pio
import plotly.express as px
from plotly.offline import iplot, init_notebook_mode

from timagetk.graphs.temporal_tissue_graph import example_temporal_tissue_graph_from_csv
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 3
      1 import numpy as np
----> 3 import plotly.io as pio
      4 import plotly.express as px
      5 from plotly.offline import iplot, init_notebook_mode

ModuleNotFoundError: No module named 'plotly'

Get the exemple temporal tissue graph dataset

ttg = example_temporal_tissue_graph_from_csv(test_dataset)
import importlib
import timagetk.visu.plotly_tissue_graph
importlib.reload(timagetk.visu.plotly_tissue_graph)
from timagetk.visu.plotly_tissue_graph import temporal_tissue_graph_gui

fig_w, w = temporal_tissue_graph_gui(ttg)
init_notebook_mode()
w