44ad29832a7c8adb134f53f1017dd7c0c7fc98ef,astroML/plotting/tools.py,,devectorize_axes,#Any#Any#Any#,13
Before Change
ax.xaxis.set_visible(False)
ax.yaxis.set_visible(False)
// save png covering axis
id, tmpf = tempfile.mkstemp(suffix=".png")
plt.savefig( tmpf, format="png", dpi=dpi, transparent=transparent, bbox_inches=Bbox([extents[:2], extents[2:]]) )
im = image.imread(tmpf)
os.remove(tmpf)
After Change
// setup: make all visible spines (axes & ticks) & text invisible
// we need to set these back later, so we save their current state
_sp = {}
_txt_vis = [t.get_visible() for t in ax.texts]
for k in ax.spines:
_sp[k] = ax.spines[k].get_visible()
ax.spines[k].set_visible(False)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances Project Name: astroML/astroML
Commit Name: 44ad29832a7c8adb134f53f1017dd7c0c7fc98ef
Time: 2012-10-28
Author: vanderplas@astro.washington.edu
File Name: astroML/plotting/tools.py
Class Name:
Method Name: devectorize_axes
Project Name: brian-team/brian2
Commit Name: fdb8ed82b7323e0e6b8492f84c2aff78bc72c2e5
Time: 2019-11-04
Author: marcel.stimberg@inserm.fr
File Name: brian2/tests/__init__.py
Class Name:
Method Name: run
Project Name: konstantint/PassportEye
Commit Name: d6f7a7ba0a4cc7d4e559ea1264244ea01ab069fe
Time: 2018-12-23
Author: peter.g.horsley@gmail.com
File Name: passporteye/mrz/image.py
Class Name: Loader
Method Name: __call__
Project Name: NifTK/NiftyNet
Commit Name: f3411bb824254b62f249772b530f74728dcd5c30
Time: 2018-05-03
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_sets_partitioner.py
Class Name: ImageSetsPartitioner
Method Name: grep_files_by_data_section
Project Name: mathics/Mathics
Commit Name: d33c107d22daa4ae7ee88e6fe32e7ed8cf11273f
Time: 2016-09-14
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/importexport.py
Class Name: Import
Method Name: apply