1. Michael Forbes
  2. pweave
Issue #7 resolved

Delay matplotlib loading.

Michael Forbes
repo owner created an issue

Importing matplotlib takes a significant fraction of the runtime when weaving and tangling. This should be disabled unless plots are actually being generated. (Maybe also delay numpy etc.).

Comments (2)

  1. Michael Forbes reporter

    FIX: Fixes issue 4: allows multiline captions. FIX: Fixes issue 7: matplotlib loading delayed (actually fixed earlier). Fixed some bugs with figure placeholders and matplotlib import. - Updated tests. (All pass). - Use scrbook in example (not a custom class). - Put more of the option processing in pweave_parse.py, simplifying options.py.

    696de58b0ef4

  2. Michael Forbes reporter

    FIX: Fixes issue 4: allows multiline captions. FIX: Fixes issue 7: matplotlib loading delayed (actually fixed earlier). Fixed some bugs with figure placeholders and matplotlib import. - Updated tests. (All pass). - Use scrbook in example (not a custom class). - Put more of the option processing in pweave_parse.py, simplifying options.py.

    696de58b0ef4

  3. Log in to comment