Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/openfe/tests/utils/test_atommapping_network_plotting.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import importlib.resources
import inspect
from unittest import mock

import matplotlib
import matplotlib.figure
import pytest
from matplotlib import pyplot as plt

Expand Down
3 changes: 2 additions & 1 deletion src/openfe/utils/atommapping_network_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from rdkit import Chem

from openfe import LigandNetwork, SmallMoleculeComponent
from openfe.utils.custom_typing import MPL_MouseEvent
from openfe.utils import requires_package
from openfe.utils.network_plotting import Edge, GraphDrawing, Node


Expand Down Expand Up @@ -156,6 +156,7 @@ class AtomMappingNetworkDrawing(GraphDrawing):
EdgeCls = AtomMappingEdge


@requires_package("pygraphviz")
def plot_atommapping_network(network: LigandNetwork):
"""Convenience method for plotting the atom mapping network

Expand Down
Loading