Skip to content

Commit

Permalink
Merge pull request #726 from etetoolkit/ete4_#725
Browse files Browse the repository at this point in the history
correct ete4_#725
  • Loading branch information
jordibc committed Nov 6, 2023
2 parents a544b3f + 301eddc commit 34add0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ete4/core/tree.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,7 @@ cdef class Tree(object):
Set 'node_style' as the fixed style for the current node.
"""
if isinstance(node_style, NodeStyle):
if TREEVIEW and isinstance(node_style, NodeStyle):
self._img_style = node_style
elif isinstance(node_style, smNodeStyle):
self._sm_style = node_style
Expand Down

0 comments on commit 34add0a

Please sign in to comment.