1faa532ba371e3df998ab80a09f1a882509d0580,hyperspy/gui_ipywidgets/utils.py,,labelme,#Any#Any#,12
Before Change
if label is Undefined:
label = ""
return ipywidgets.HBox(
[ipywidgets.Label(label), widget], layout=FORM_ITEM_LAYOUT)
After Change
if label is Undefined:
label = ""
if not isinstance(label, ipywidgets.Label):
label = ipywidgets.Label(label)
return ipywidgets.HBox(
[label, widget], layout=FORM_ITEM_LAYOUT)
def labelme_sandwich(label1, widget, label2):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: hyperspy/hyperspy
Commit Name: 1faa532ba371e3df998ab80a09f1a882509d0580
Time: 2017-03-22
Author: frandelapena@gmail.com
File Name: hyperspy/gui_ipywidgets/utils.py
Class Name:
Method Name: labelme
Project Name: ilastik/ilastik
Commit Name: 6ee34a812077b1320ac844cde309af673dd65589
Time: 2012-10-05
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/labeling/labelingGui.py
Class Name: LabelingGui
Method Name: addNewLabel
Project Name: chakki-works/doccano
Commit Name: 7c0ff4479bf450eb04cccd32a0b4ed73b7e532c9
Time: 2018-06-06
Author: light.tree.1.13@gmail.com
File Name: doccano/app/server/views.py
Class Name: LabelAPI
Method Name: post
Project Name: snorkel-team/snorkel
Commit Name: 196e2de1453955f67c3cfce5b4c679c17e36e49c
Time: 2016-09-04
Author: ajratner@gmail.com
File Name: snorkel/loaders.py
Class Name: ExternalAnnotationsLoader
Method Name: add
Project Name: markovmodel/PyEMMA
Commit Name: 9efefe29fbff306b332efa5cb225bf024d215553
Time: 2018-01-15
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/progress/reporter/notebook.py
Class Name: my_tqdm_notebook
Method Name: status_printer