5e599fb01df65d156a40f7a138ab6627a06a50db,gpflow/base.py,Module,_repr_html_,#Module#,38

Before Change


    def _repr_html_(self):
        from .utilities import tabulate_module_summary

        return tabulate_module_summary(self, tablefmt="html")

    def _repr_pretty_(self, p, cycle):
        from .utilities import tabulate_module_summary

After Change


         Nice representation of GPflow objects in IPython/Jupyter notebooks 
        from html import escape

        return self._representation_table(escape(repr(self)), "html")

    def _repr_pretty_(self, p, cycle):
         Nice representation of GPflow objects in the IPython shell 
        repr_str = self._representation_table(repr(self), default_summary_fmt())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: GPflow/GPflow
Commit Name: 5e599fb01df65d156a40f7a138ab6627a06a50db
Time: 2020-05-07
Author: 6815729+condnsdmatters@users.noreply.github.com
File Name: gpflow/base.py
Class Name: Module
Method Name: _repr_html_


Project Name: GPflow/GPflow
Commit Name: 5ec7e9155692fa6f8d34efe5009811ac5bfca764
Time: 2020-05-04
Author: st--@users.noreply.github.com
File Name: gpflow/base.py
Class Name: Module
Method Name: _repr_html_


Project Name: GPflow/GPflow
Commit Name: 5e599fb01df65d156a40f7a138ab6627a06a50db
Time: 2020-05-07
Author: 6815729+condnsdmatters@users.noreply.github.com
File Name: gpflow/base.py
Class Name: Module
Method Name: _repr_pretty_


Project Name: GPflow/GPflow
Commit Name: 5ec7e9155692fa6f8d34efe5009811ac5bfca764
Time: 2020-05-04
Author: st--@users.noreply.github.com
File Name: gpflow/base.py
Class Name: Module
Method Name: _repr_pretty_