8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f4058b commit 93e873bCopy full SHA for 93e873b
lib/matplotlib/cbook/deprecation.py
@@ -250,9 +250,9 @@ def wrapper(*args, **kwargs):
250
251
message = message.strip()
252
# Add "Deprecated" to top of docstring
253
- new_doc = '[*Deprecated*] {old_doc}\n\n'.format(old_doc=old_doc)
+ new_doc = '[*Deprecated*] {old_doc}\n'.format(old_doc=old_doc)
254
# Add a notes section if one isn't already present
255
- note_section = 'Notes\n-----'
+ note_section = '\nNotes\n-----'
256
if note_section not in new_doc:
257
new_doc += note_section
258
# Add deprecated message
0 commit comments