Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
fixed bug 6028 #6073
Conversation
mdboom
added the
needs_review
label
Feb 29, 2016
crazyo
referenced
this pull request
Feb 29, 2016
Closed
Appearance of non-math hyphen changes with math in text #6028
tacaswell
added this to the
2.0 (style change major release)
milestone
Feb 29, 2016
|
Thanks for investigating the issue. I think actually, for the non-math context,
to the top and leave the rest of Also, to be PEP8-compliant, the new keyword argument should be spelled |
|
@mdboom Hi thank you for your response. I have made changes accordingly :-) |
|
|
|
Looks good to me, even though the code might be clearer if a |
|
@zblz I've made the changes :-) |
tacaswell
added a commit
that referenced
this pull request
Mar 6, 2016
|
|
tacaswell |
85089a1
|
tacaswell
merged commit 85089a1
into matplotlib:master
Mar 6, 2016
tacaswell
removed the
needs_review
label
Mar 6, 2016
|
@crazyo Can you open a new PR to add a simple test for this? |
tacaswell
added a commit
that referenced
this pull request
Mar 6, 2016
|
|
tacaswell |
ebfbc4a
|
|
backported to v2.x as ebfbc4a |
QuLogic
added the
text
label
Mar 7, 2016
|
yes, will do. |
crazyo commentedFeb 29, 2016
The problem was that hyphen-minus was converted to minus signs without differentiating those in math expressions and those in texts. I fixed it by adding an optional parameter nonMath so that hyphens in texts won't be converted.