8000 Document minimal MovieWriter sub-class · Issue #5403 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Document minimal MovieWriter sub-class #5403
Closed
@WarrenWeckesser

Description

@WarrenWeckesser

The following is using matplotlib 1.4.3, but the relevant code is the same on github:

In [45]: import matplotlib

In [46]: matplotlib.__version__
Out[46]: '1.4.3'

In [47]: from matplotlib.animation import MovieWriter

In [48]: MovieWriter()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-48-68333e95c4ab> in <module>()
----> 1 MovieWriter()

/Users/warren/anaconda/lib/python2.7/site-packages/matplotlib/animation.pyc in __init__(self, fps, codec, bitrate, extra_args, metadata)
    141 
    142         if extra_args is None:
--> 143             self.extra_args = list(rcParams[self.args_key])
    144         else:
    145             self.extra_args = extra_args

AttributeError: 'MovieWriter' object has no attribute 'args_key'

What is self.args_key supposed to be?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0