Visualizing with plotly¶
In this section we will use Plotly to make interactive plots. Please let us know if you have suggestions for new figures that could be made with Plotly.
%matplotlib inline
import numpy as np
from mutagenesis_visualization.main.demo.demo_objects import DemoObjects
from mutagenesis_visualization.main.utils.data_paths import PDB_5P21
DEMO_OBJECTS:DemoObjects = DemoObjects()
hras_rbd = DEMO_OBJECTS.hras_rbd
hras_gapgef = DEMO_OBJECTS.hras_gapgef
Heatmap¶
- Classes reviewed in this section:
Plot an interactive heatmap. Hopover individual pixels to get their characteristics.
hras_rbd.plotly_heatmap(
title='H-Ras Heatmap',
figsize=(6, 2.5),
)