a7a2e53f6da4bd9860a7a2f0704f0b6148ebefba,GPy/plotting/plotly_dep/plot_definitions.py,PlotlyPlots,show_canvas,#PlotlyPlots#Any#Any#,122
Before Change
// add mock data
figure.append_trace(Scatter(x=[], y=[], name="", showlegend=False), 1, 1)
from ..gpy_plot.plot_util import in_ipynb
if in_ipynb():
if OFFLINE:
plotly.offline.init_notebook_mode(connected=True)
return plotly.offline.iplot(figure, filename=filename, **kwargs)//self.current_states[hex(id(figure))]["filename"])
else:
return plotly.plotly.iplot(figure, filename=filename, **kwargs)
else:
if OFFLINE:
return plotly.offline.plot(figure, filename=filename, **kwargs)
else:
return plotly.plotly.plot(figure, filename=filename, **kwargs)//self.current_states[hex(id(figure))]["filename"])
def scatter(self, ax, X, Y, Z=None, color=Tango.colorsHex["mediumBlue"], cmap=None, label=None, marker="o", marker_kwargs=None, **kwargs):
try:
marker = SYMBOL_MAP[marker]
except:
After Change
return canvas
def show_canvas(self, canvas, filename=None, **kwargs):
return NotImplementedError
def scatter(self, ax, X, Y, Z=None, color=Tango.colorsHex["mediumBlue"], cmap=None, label=None, marker="o", marker_kwargs=None, **kwargs):
try:
marker = SYMBOL_MAP[marker]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: SheffieldML/GPy
Commit Name: a7a2e53f6da4bd9860a7a2f0704f0b6148ebefba
Time: 2017-06-01
Author: alexfeld@mit.edu
File Name: GPy/plotting/plotly_dep/plot_definitions.py
Class Name: PlotlyPlots
Method Name: show_canvas
Project Name: hpclab/rankeval
Commit Name: b104ef8ea5f6e98b0b05a5cf068bba0c8689d445
Time: 2017-07-27
Author: cristina.i.muntean@gmail.com
File Name: rankeval/visualization/effectiveness.py
Class Name:
Method Name: plot_tree_wise_average_contribution
Project Name: ContextLab/hypertools
Commit Name: 2df451029d31850d7f5353b3786b875f17f740a5
Time: 2018-04-06
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/load.py
Class Name:
Method Name: load
Project Name: hyperspy/hyperspy
Commit Name: 13770a257451834e69f67a3837dc4dd611f82dbd
Time: 2020-07-30
Author: tjof2@cam.ac.uk
File Name: hyperspy/signal_tools.py
Class Name: BackgroundRemoval
Method Name: apply