Skip to content

Commit

Permalink
Added adjust_legend argument to solve the overlap of legend in all sc…
Browse files Browse the repository at this point in the history
…atter plot (aristoteleo#706)
  • Loading branch information
Starlitnightly committed Oct 17, 2024
1 parent e6f292b commit 1659aac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dynamo/plot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,7 @@ def _datashade_points(
if adjust_legend==True:
from adjustText import adjust_text
import adjustText

if adjustText.__version__<='0.8':
adjust_text(texts,only_move={'text': 'xy'},arrowprops=dict(arrowstyle='->', color='red'),)
else:
Expand Down

0 comments on commit 1659aac

Please sign in to comment.