Source code for pyrosetta_help.alphafold.plot
__all__ = ['make_pae_plot']
import numpy as np
[docs]def make_pae_plot(errors: np.ndarray) -> 'plotly.import graph_objs.Figure':
"""
Make AlphaFold2-EBIālike PAE plot (green and white)
"""
import plotly.express as px
fig = px.imshow(errors, color_continuous_scale=[(0, 'green'), (1, 'white')])
return fig