Casey Duckering

Results 64 comments of Casey Duckering

Thanks for the update @massgh. drawSvg currently uses `display(Javascript())` to load the interactive widget code but Jupyter Lab (*and also Classic Notebooks*, if launced by `jupyter lab`) does not support...

> Hyperlink example is not working properly, link is not clickable. Jupyter Lab appears to have changed the way objects with the method `_repr_svg_` are displayed. Notebooks inserted the ``...

I appreciate your interest in this, @ChrisJefferson. Are you referring to the hyperlink example not being clickable or the interactive widget not running? This GitHub issue is focused on the...

I appreciate the feedback @shrx. I currently have no plans to work on a feature like this unless someone finds a more accurate and faster method.

@MichaelBroughton This issue is still relevant as of Cirq 1.1.0. I recently discovered this confusing print output while debugging.

The behavior is similar but transposed if you use `NamedQubit`. ```python q0, q1, q2, q3 = cirq.LineQubit.range(4) print(cirq.Moment(cirq.CZ(q0, q1), cirq.CZ(q2, q3))) # ╷ 0 1 2 3 # ╶─┼───────── #...

This is now supported: https://github.com/cduck/drawsvg#embed-custom-fonts ```python import drawsvg as draw d = draw.Drawing(400, 100, origin='center') d.embed_google_font('Permanent Marker', text=set('Text with custom font')) d.append(draw.Text('Text with custom font', 35, 0, 0, center=True, font_family='Permanent...

Fixed by #134. Published version 2.4.0.

Thanks so much for all these examples. I've actually never used these attributes before but they appear to be part of the SVG 2 specification that CairoSVG doesn't really support....