Scatter mark. !!! warning In the case of the Scatter mark, scales for 'x' and 'y' **must** be provided. The scales of other data attributes are optional. In the case where another data attribute than 'x' or 'y' is provided but the corresponding scale is missing,
| 580 | |
| 581 | @register_mark('bqplot.Scatter') |
| 582 | class Scatter(_ScatterBase): |
| 583 | |
| 584 | """Scatter mark. |
| 585 | |
| 586 | !!! warning |
| 587 | In the case of the Scatter mark, scales for 'x' and 'y' **must** be provided. |
| 588 | The scales of other data attributes are optional. In the case where another |
| 589 | data attribute than 'x' or 'y' is provided but the corresponding scale is |
| 590 | missing, the data attribute is ignored. |
| 591 | |
| 592 | Data Attributes |
| 593 | --------------- |
| 594 | |
| 595 | Attributes |
| 596 | ---------- |
| 597 | x: numpy.ndarray (default: []) |
| 598 | abscissas of the data points (1d array) |
| 599 | y: numpy.ndarray (default: []) |
| 600 | ordinates of the data points (1d array) |
| 601 | color: numpy.ndarray or None (default: None) |
| 602 | color of the data points (1d array). Defaults to default_color when not |
| 603 | provided or when a value is NaN |
| 604 | opacity: numpy.ndarray or None (default: None) |
| 605 | opacity of the data points (1d array). Defaults to default_opacity when |
| 606 | not provided or when a value is NaN |
| 607 | size: numpy.ndarray or None (default: None) |
| 608 | size of the data points. Defaults to default_size when not provided or |
| 609 | when a value is NaN |
| 610 | skew: numpy.ndarray or None (default: None) |
| 611 | skewness of the markers representing the data points. Defaults to |
| 612 | default_skew when not provided or when a value is NaN |
| 613 | rotation: numpy.ndarray or None (default: None) |
| 614 | orientation of the markers representing the data points. |
| 615 | The rotation scale's range is [0, 180] |
| 616 | Defaults to 0 when not provided or when a value is NaN. |
| 617 | |
| 618 | Style Attributes |
| 619 | ---------------- |
| 620 | |
| 621 | Attributes |
| 622 | ---------- |
| 623 | icon: string (class-level attribute) |
| 624 | Font-awesome icon for that mark |
| 625 | name: string (class-level attribute) |
| 626 | User-friendly name of the mark |
| 627 | marker: {'circle', 'cross', 'diamond', 'square', 'triangle-down', 'triangle-up', 'arrow', 'rectangle', 'ellipse', 'plus', 'crosshair', 'point'} |
| 628 | Marker shape |
| 629 | colors: list of colors (default: ['steelblue']) |
| 630 | List of colors of the markers. If the list is shorter than the number |
| 631 | of points, the colors are reused. |
| 632 | default_colors: Deprecated |
| 633 | Same as `colors`, deprecated as of version 0.8.4 |
| 634 | fill: Bool (default: True) |
| 635 | Whether to fill the markers or not |
| 636 | stroke: Color or None (default: None) |
| 637 | Stroke color of the marker |
| 638 | stroke_width: Float (default: 1.5) |
| 639 | Stroke width of the marker |
nothing calls this directly
no test coverage detected
searching dependent graphs…