Skip to content

Commit 53cf940

Browse files
committed
fix sphinx error caused by limitation of cbook.deprecated
1 parent 46737f5 commit 53cf940

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/animation.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,8 +573,10 @@ def output_args(self):
573573
return args
574574

575575

576-
mencoder_dep = """Support for mencoder is only partially functional,
577-
and will be removed entirely in 2.2. Please use ffmpeg instead."""
576+
# The message must be a single line; internal newlines cause sphinx failure.
577+
mencoder_dep = ("Support for mencoder is only partially functional, "
578+
"and will be removed entirely in 2.2. "
579+
"Please use ffmpeg instead.")
578580

579581

580582
@writers.register('mencoder')

0 commit comments

Comments
 (0)