Removed unnecessary regexp part. Added comments about whether using a capturing group is necessary.
Added comment about possibly clearer regexp.
Simplify codemirror ipython-mode

make it a subset of python mode, only with configuration
Use adjustbox to specify figure size in latex
Merge pull request #3578 from jakobgager/latex_image_handle

Use adjustbox to specify figure size in nbconvert -> latex

Instead of hardcoding the image size used when compiling latex, a maximum size is specified only.
This way smaller images don't get enlarged. The Sphinx converter use the same approach.
Merge pull request #3495 from lebigot/master

Simplified regexp, and suggestions for clearer regexps.
Merge pull request #3577 from Carreau/simple-mode

Simplify codemirror ipython-mode

make it a subset of python mode, only with configuration
Merge remote-tracking branch 'upstream/master'