forked from yahoo/graphkit
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
In the function
Line 458 in 1079c1f
| def make_data_value_tooltip(plot_args: PlotArgs): |
tooltip can get very long, if the object is large.
If it gets too long, one is faced with the following error (for example
Error: /tmp/tmpc0u033k1: syntax error in line 26 scanning a quoted string (missing endquote? longer than 16384?)\nString starting:"(output)\\n [...]
A quick hack (which works for me) to work around this problem is to modify
Line 474 in 1079c1f
| return quote_html_tooltips(tooltip) |
return quote_html_tooltips(tooltip[:4095])(length chosen arbitrarily to be much shorter than 16384!).
Is there some smarter or more sensible way to handle this eventuality, or is a dumb truncation of this kind an appropriate actual fix?
Metadata
Metadata
Assignees
Labels
No labels