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
What steps will reproduce the problem?
Sample code:
----
titleSVGTextElement = svgfig.Text(10, 10, "test").SVG()
parentOfCurrentElement.append(titleSVGTextElement)
----
What is the expected output? What do you see instead?
Expected: Labeled SVG output with the word "test"
Observed: Labeled SVG output with the Python list __repr__ representation:
['t', 'e', 's', 't']
What version of the product are you using? On what operating system?
1.1.4 via Google Code
Please provide any additional information below.
I downloaded the source and changed the Text class's __init__ function here:
self.d. = list(d)
to
self.d = str(d)
I repeated this for the TextGlobal class.
I copied this version of svgfig.py into the Google Code 1.1.4 release, and
then recompiled via setup.py.
This appeared to resolve the issue.
Original issue reported on code.google.com by [email protected] on 10 Mar 2008 at 9:27
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 10 Mar 2008 at 9:27The text was updated successfully, but these errors were encountered: