You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few times now, myself and others (e.g. @gtsambos) have wanted to make the SVG canvas a little bigger, e.g. to accommodate long or rotated labels, etc.
should we implement the .replace method on the tskit.SVGstring class, so ti returns another SVGstring? That would save a small amount of hassle, but I don't want to be implementing all the other standard string methods that return a string. I guess this would be just
A few times now, myself and others (e.g. @gtsambos) have wanted to make the SVG canvas a little bigger, e.g. to accommodate long or rotated labels, etc.
There's a quick hack to do this as follows:
So two things here:
.replace
method on the tskit.SVGstring class, so ti returns another SVGstring? That would save a small amount of hassle, but I don't want to be implementing all the other standard string methods that return a string. I guess this would be justsize()
passed todraw_svg
to avoid having to hack it altogether?The text was updated successfully, but these errors were encountered: