Skip to content

Commit

Permalink
Change to SVG backend of schemdraw
Browse files Browse the repository at this point in the history
  • Loading branch information
hpretl committed Jul 19, 2024
1 parent 20d9603 commit e6b6756
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions _sec_mosfet_diode.qmd
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

```{python}
import schemdraw
import schemdraw as sd
import schemdraw.elements as elm
with schemdraw.Drawing():
with sd.Drawing(canvas='svg'):
elm.Vdd()
elm.SourceI().down().label(r'$I_\mathrm{bias}$')
elm.Dot()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
schemdraw
schemdraw[svgmath]

0 comments on commit e6b6756

Please sign in to comment.