f04c2384c98e80b37ac442f5e0fb6152d4ee059e,trixi/logger/visdom/numpyvisdomlogger.py,NumpyVisdomLogger,show_images,#NumpyVisdomLogger#Any#Any#Any#Any#Any#Any#,151

Before Change



        if opts is None:
            opts = {}
        vis_task = {
            "type": "images",
            "images": images,
            "name": name,
            "title": title,
            "caption": caption,
            "env_appendix": env_appendix,
            "opts": opts
        }
        self._queue.put_nowait(vis_task)

    def __show_images(self, images, name=None, title=None, caption=None, env_appendix="", opts=None, **kwargs):
        

After Change


        if opts is None:
            opts = {}
        else:
            if "nrow" in opts.keys():
                nrow = opts["nrow"]
            else:
                nrow = 8  // as defined in function
        opts = opts.copy()
        opts.update(dict(
            title=title,
            caption=caption
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: MIC-DKFZ/trixi
Commit Name: f04c2384c98e80b37ac442f5e0fb6152d4ee059e
Time: 2019-03-01
Author: t.adler@dkfz-heidelberg.de
File Name: trixi/logger/visdom/numpyvisdomlogger.py
Class Name: NumpyVisdomLogger
Method Name: show_images


Project Name: tensorflow/tpu
Commit Name: 1a3107265bd3f41ae081ef956d2dbad2a355551c
Time: 2020-01-22
Author: pengchong@google.com
File Name: models/official/detection/modeling/retinanet_model.py
Class Name: RetinanetModel
Method Name: build_outputs


Project Name: tensorflow/tpu
Commit Name: 1a3107265bd3f41ae081ef956d2dbad2a355551c
Time: 2020-01-22
Author: pengchong@google.com
File Name: models/official/detection/modeling/maskrcnn_model.py
Class Name: MaskrcnnModel
Method Name: build_outputs


Project Name: dmnfarrell/pandastable
Commit Name: 1af2719c4940dafca58ac9a1bafc41d9add6ffa5
Time: 2014-02-15
Author: farrell.damien@gmail.com@c7c09e87-b3be-f776-313c-63292bcc8aec
File Name: plotting.py
Class Name: MPLoptions
Method Name: showDialog