1f09d1866cafb3e16e628f9f1bfd91471acc0988,lib/matplotlib/backends/backend_webagg_core.py,FigureManagerWebAgg,get_javascript,#Any#Any#,449

Before Change


        else:
            output = stream

        with io.open(os.path.join(
                os.path.dirname(__file__),
                "web_backend", "js",
                "mpl.js"), encoding="utf8") as fd:
            output.write(fd.read())

        toolitems = []

After Change


        else:
            output = stream

        output.write((Path(__file__).parent / "web_backend/js/mpl.js")
                     .read_text(encoding="utf-8"))

        toolitems = []
        for name, tooltip, image, method in cls.ToolbarCls.toolitems:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: 1f09d1866cafb3e16e628f9f1bfd91471acc0988
Time: 2018-05-29
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/backends/backend_webagg_core.py
Class Name: FigureManagerWebAgg
Method Name: get_javascript


Project Name: theislab/scanpy
Commit Name: ec60a13a0028b14afd71f037fecb8d8fab029232
Time: 2019-01-07
Author: flying-sheep@web.de
File Name: setup.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 1f09d1866cafb3e16e628f9f1bfd91471acc0988
Time: 2018-05-29
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/backends/backend_nbagg.py
Class Name: FigureManagerNbAgg
Method Name: get_javascript