Skip to content
Features
Business
Explore
Marketplace
Pricing
This repository
Sign in
or
Sign up
Watch
440
Star
5,572
Fork
2,667
matplotlib
/
matplotlib
Code
Issues
992
Pull requests
229
Projects
5
Wiki
Insights
Pulse
Graphs
Strip spaces in properties doc after newline.
#5826
Merged
tacaswell
merged 1 commit into
matplotlib
:
master
from
anntzer
:
strip-spaces-in-properties-doc
Jan 10, 2016
Conversation
2
Commits
1
Files changed
1
Changes from
all commits
Commits
Show all changes
1 commit
Select commit
e190bf7
Strip spaces in properties doc after newline.
anntzer
Jan 10, 2016
1 file
Jump to file
No files or symbols found.
+1
−1
artist.py
lib/matplotlib/artist.py
+1
−1
Unified
Split
Show comments
View
2
lib/matplotlib/artist.py
@@ -1205,7 +1205,7 @@ def get_valid_values(self, attr):
match
=
self
._get_valid_values_regex.search(docstring)
if
match
is
not
None
:
-
return
match.group(
1
).replace(
'
\n
'
,
'
'
)
+
return
re.sub(
"
\n
*
"
,
"
"
, match.group(
1
)
)
return
'
unknown
'
def
_get_setters_and_targets
(
self
):
Toggle all file notes
You can't perform that action at this time.
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.