238d9bb3a1130da16acfd68c158dd6858343202f,doc/sphinxext/gallery_generator.py,ExampleGenerator,exec_file,#ExampleGenerator#,360
Before Change
code_text = fp.read()
code_text += BOKEH_EXPORT_CODE.format(pngfilename=thumbfile)
with rc_context(rc={"plot.bokeh.show": False}):
exec(
code_text,
{"export_png": export_png, "ndarray": ndarray, "gridplot": gridplot},
)
create_thumbnail(pngfile, thumbfile, cx=cx, cy=cy)
def toctree_entry(self):
After Change
with open(self.filename, "r") as fp:
code_text = fp.read()
with rc_context(rc={"plot.bokeh.show": False}):
exec(code_text)
def toctree_entry(self):
return " ./{}\n\n".format(op.join(op.splitext(self.htmlfilename)[0]))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: arviz-devs/arviz
Commit Name: 238d9bb3a1130da16acfd68c158dd6858343202f
Time: 2021-01-27
Author: oriol.abril.pla@gmail.com
File Name: doc/sphinxext/gallery_generator.py
Class Name: ExampleGenerator
Method Name: exec_file
Project Name: nipy/dipy
Commit Name: c585a9779e5d8ae0b0b148792f8a7f8cecf73532
Time: 2019-02-12
Author: skab12@gmail.com
File Name: tools/make_examples.py
Class Name:
Method Name: run_script
Project Name: cesium-ml/cesium
Commit Name: afb3c7ec1591e4a72da2f8dec10f3596eee0ad53
Time: 2015-01-05
Author: a.crellinquick@gmail.com
File Name: TCP/Software/feature_extract/Code/feature_interfaces.py
Class Name:
Method Name: initialize
Project Name: cesium-ml/cesium
Commit Name: afb3c7ec1591e4a72da2f8dec10f3596eee0ad53
Time: 2015-01-05
Author: a.crellinquick@gmail.com
File Name: TCP/Software/ingest_tools/feature_extraction_interface.py
Class Name: Internal_Feature_Extractors
Method Name: __init__