MCPcopy Create free account
hub / github.com/huggingface/evaluate / plot

Method plot

src/evaluate/visualization.py:127–131  ·  view source on GitHub ↗

Plots a line

(self, data, *args, **kwargs)

Source from the content-addressed store, hash-verified

125 return sdata
126
127 def plot(self, data, *args, **kwargs):
128 """Plots a line"""
129 sdata = self._scale_data(data, self.ranges)
130 self.ax1.plot(self.angle, np.r_[sdata, sdata[0]], *args, **kwargs)
131 self.plot_counter = self.plot_counter + 1
132
133 def use_legend(self, *args, **kwargs):
134 """Shows a legend"""

Callers 1

radar_plotFunction · 0.95

Calls 1

_scale_dataMethod · 0.95

Tested by

no test coverage detected