Skip to content

Commit

Permalink
visualizer: (fixes #70) Update configuration of GooCanvas.CanvasEllipse
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhenderson committed Jul 17, 2019
1 parent db57203 commit 109f1f9
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/visualizer/visualizer/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,11 +527,14 @@ def __init__(self, channel):
@return none
"""
self.channel = channel
self.canvas_item = GooCanvas.CanvasEllipse(radius_x=30, radius_y=30,
fill_color="white",
stroke_color="grey", line_width=2.0,
line_dash=GooCanvas.LineDash([10.0, 10.0 ]),
visibility=GooCanvas.CanvasItemVisibility.VISIBLE)
self.canvas_item = GooCanvas.CanvasEllipse()
self.canvas_item.radius_x=30
self.canvas_item.radius_y=30
self.canvas_item.fill_color="white"
self.canvas_item.stroke_color="grey"
self.canvas_item.line_width="2.0"
self.canvas_item.line_dash=GooCanvas.CanvasLineDash([10.0, 10.0])
self.canvas_item.visibility=GooCanvas.CanvasItemVisibility.VISIBLE
self.canvas_item.pyviz_object = self
self.links = []

Expand Down

0 comments on commit 109f1f9

Please sign in to comment.