Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy-shields committed Sep 24, 2020
1 parent fc1c9a6 commit d322995
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nxv/_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ def render(
if algorithm is None:
algorithm = "dot"
if not algorithm or not isinstance(algorithm, str):
raise ValueError("The algorithm parameter must be the str name of a valid GraphViz algorithm.")
raise ValueError(
"The algorithm parameter must be the str name of a valid GraphViz algorithm."
)

if format is None:
if _ipython.is_execution_context():
Expand Down

0 comments on commit d322995

Please sign in to comment.