b2a07e8dc86a5d057fc38c4b85461031cd4b78b9,nilearn/plotting/html_stat_map.py,,view_stat_map,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,390
Before Change
_save_sprite(stat_map_img, stat_map_sprite, vmax, vmin, cmap, threshold,
"png", mask_img)
stat_map_sprite.seek(0)
stat_map_base64 = encodebytes(stat_map_sprite.read()).decode("utf-8")
stat_map_sprite.close()
// Save the colormap
After Change
// Get cmap
if isinstance(cm, str):
cmap = plt.cm.get_cmap(cmap)
// If no background is used, switch to the white background color style
if (bg_img is None or bg_img is False) and black_bg is "auto":
black_bg = False
// Load and resample the data
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: nilearn/nilearn
Commit Name: b2a07e8dc86a5d057fc38c4b85461031cd4b78b9
Time: 2018-10-10
Author: pierre.bellec@gmail.com
File Name: nilearn/plotting/html_stat_map.py
Class Name:
Method Name: view_stat_map
Project Name: automl/auto-sklearn
Commit Name: 8442321b9b7a7cef7e3806b525965c36cea1549e
Time: 2020-09-25
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/smbo.py
Class Name: AutoMLSMBO
Method Name: run_smbo
Project Name: azavea/raster-vision
Commit Name: 692866b9ee5aa088435221ed929c796284c7a0ae
Time: 2019-01-03
Author: jmcclain@azavea.com
File Name: rastervision/data/label_store/semantic_segmentation_raster_store.py
Class Name: SemanticSegmentationRasterStore
Method Name: save
Project Name: polyaxon/polyaxon
Commit Name: 1d4e0d5aabe13a83b582e9699a8e083cf04495b8
Time: 2020-04-16
Author: mouradmourafiq@gmail.com
File Name: core/polyaxon/polyaxonfile/specs/__init__.py
Class Name:
Method Name: get_specification