-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Svg fontweight fix #3346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svg fontweight fix #3346
Conversation
font-weight is not properly saved to the svg file.
As a side note, you can just keep pushing to the same branch and the PR will update it's self. If you want to discard a commit, This is replaces #3308 |
And the test-failure is pep8 confromance in the tests you added.
|
I’ve modified the code to conform to PEP8. Sorry for all these problems. It’s the first time I create ‘pull requests’ to a public repository. I’m not familiar with all these rules (although I have read the documents on matplotlib.org). By the way, I’m not sure what is the purpose of the test code. One of the guys said that the testing code should show 'Something that fails before this change, and works correctly after it’. I don’t understand because I’ve already fix the problem, how can I show the problem and the fix the same time? From my understanding from reading the docs on matplotlib.org, the testing code is intended to reproduce the same result as that of the baseline example. This is very different from 'Something that fails before this change, and works correctly after it’. thank you guys for being so patient! On Aug 6, 2014, at 9:52 PM, Thomas A Caswell notifications@github.com wrote:
|
My intent was: The test should do something that before this bugfix would produce an image that is incorrect, and after the bugfix would produce something correct. I think you've done that here, but I haven't confirmed. |
ping @xwtang Will you be able to write a test for this? |
Merged to master as cc3a4c1 |
This was PR #3346, but merged to master instead of v1.4.x
fix a bug in SVG backend when saving fonts with 'Bold' weight.
add a nose test.