How to use the visdom._opts2layout function in visdom

To help you get started, we’ve selected a few visdom examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github MIC-DKFZ / trixi / trixi / util / extravisdom.py View on Github external
prev_interv = float(iv)
            traces.append(dict(
                z=z,
                x=x,
                y=y,
                # colorscale=[[i, 'rgb(%d,%d,255)' % (ci, ci)] for i in np.arange(0, 1.1, 0.1)],
                # autocolorscale=True,
                showscale=False,
                type='surface',
            ))

        return self._send({
            'data': traces,
            'win': win,
            'eid': env,
            'layout': _opts2layout(opts),
            'opts': opts,
        })

visdom

A tool for visualizing live, rich data for Torch and Numpy

Apache-2.0
Latest version published 2 years ago

Package Health Score

60 / 100
Full package analysis