Bokeh Ellipse Glyph

from bokeh.plotting import figure, output_file, show
from bokeh.models import Range1d
from math import radians
from bokeh.io import export_png
fill_color = '#df65b0'
line_color = '#67001f'
output_file("../../figures/ellipse.html")
p = figure(plot_width=400, plot_height=400)
p.ellipse(x=0,y=0, width=0.75,height=0.35, fill_alpha=1,fill_color=fill_color, angle=radians(0),
         line_alpha=1, line_color=line_color, line_dash='dashed', line_width=5)
p.ellipse(x=0,y=1, width=0.35,height=0.75, fill_alpha=0.8, fill_color=fill_color, angle=radians(25),
         line_alpha=1, line_color=line_color, line_dash='dotdash', line_width=8)
p.ellipse(x=1,y=0, width=0.75,height=0.75, fill_alpha=0.6, fill_color = fill_color, angle=radians(45),
         line_alpha=1, line_color=line_color, line_dash='dotted', line_width=13)
p.ellipse(x=1,y=1, width=0.75,height=0.35, fill_alpha=0.4, fill_color = fill_color, angle=radians(75),
         line_alpha=1, line_color=line_color, line_dash='solid', line_width=17)
p.x_range = Range1d(-0.5,1.5, bounds=(-1,2))
p.y_range = Range1d(-0.5,1.5, bounds=(-1,2))
show(p)
export_png(p, filename="../../figures/ellipse.png");