MCPcopy Index your code
hub / github.com/bqplot/bqplot / scatter

Function scatter

bqplot/pyplot.py:776–797  ·  view source on GitHub ↗

Draw a scatter in the current context figure. Parameters ---------- x: numpy.ndarray, 1d The x-coordinates of the data points. y: numpy.ndarray, 1d The y-coordinates of the data points. options: dict (default: {}) Options for the scales to be created. If

(x, y, **kwargs)

Source from the content-addressed store, hash-verified

774
775@_process_data('color', 'opacity', 'size', 'skew', 'rotation')
776def scatter(x, y, **kwargs):
777 """Draw a scatter in the current context figure.
778
779 Parameters
780 ----------
781
782 x: numpy.ndarray, 1d
783 The x-coordinates of the data points.
784 y: numpy.ndarray, 1d
785 The y-coordinates of the data points.
786 options: dict (default: {})
787 Options for the scales to be created. If a scale labeled 'x' is
788 required for that mark, options['x'] contains optional keyword
789 arguments for the constructor of the corresponding scale type.
790 axes_options: dict (default: {})
791 Options for the axes to be created. If an axis labeled 'x' is required
792 for that mark, axes_options['x'] contains optional keyword arguments
793 for the constructor of the corresponding axis type.
794 """
795 kwargs['x'] = x
796 kwargs['y'] = y
797 return _draw_mark(Scatter, **kwargs)
798
799
800@_process_data()

Callers

nothing calls this directly

Calls 1

_draw_markFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…