Skip to content

Commit

Permalink
fix(encode_axis): functional updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lmeyerov committed Jul 19, 2024
1 parent 856839d commit ac11e56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions graphistry/PlotterBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,8 @@ def encode_axis(self, rows: List[Dict] = []) -> Plottable:
"""

complex_encodings = {**self._complex_encodings} if self._complex_encodings else {}
if 'node_encodings' not in complex_encodings:
complex_encodings['node_encodings'] = {}
node_encodings = {**complex_encodings['node_encodings']}
node_encodings = {**complex_encodings['node_encodings']} if 'node_encodings' not in complex_encodings else {}
complex_encodings['node_encodings'] = node_encodings
node_encodings['current'] = {**node_encodings['current']} if 'current' in node_encodings else {}
node_encodings['default'] = {**node_encodings['default']} if 'default' in node_encodings else {}
node_encodings['default']["pointAxisEncoding"] = {
Expand Down

0 comments on commit ac11e56

Please sign in to comment.