Skip to content

SVG not displaying scatter output #8446

@cphalpert

Description

@cphalpert

ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)

Bokeh: 1.0.1
IPython: 6.5.0

Description of expected behavior and the observed behavior

I expect the chart below to contain both navy and red circles. The red circles are displayed, but the navy circles created by the .scatter method do not appear.

Complete, minimal, self-contained example code that reproduces the issue

from bokeh.plotting import figure, show
from bokeh.io.export import get_svgs
from IPython.display import SVG

p = figure(plot_width=400, plot_height=400)
p.scatter([-1, -2, -3, -4, -5], [6, 7, 2, 4, 5], size=20, color="navy", alpha=0.5, marker='circle')
p.circle([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], size=20, color="red", alpha=0.5)
p.output_backend = 'svg'
# show the results
SVG(get_svgs(p)[0])

Screenshots or screencasts of the bug in action

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions