Skip to content

Commit

Permalink
Version 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Collin Delker committed Jun 27, 2020
1 parent c66b751 commit 3404a59
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
v0.7.DEV
v0.7.1 - 26-Jun-2020

- Bug fix: restore usage outside of Jupyter, so that Matplotlib window is shown when calling Drawing.draw().


v0.7 - 21-Jun-2020

- Dropped support for Python 2. Now requires 3.7+.
- Elements are now subclasses of Element. Previous (dict) element names are translated into
Expand Down
2 changes: 1 addition & 1 deletion schemdraw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .segments import Segment, SegmentCircle, SegmentArc, SegmentText, SegmentPoly, SegmentArrow
from .transform import Transform

__version__ = '0.7'
__version__ = '0.7.1'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name = 'SchemDraw',
version = '0.7',
version = '0.7.1',
description = 'Electrical circuit schematic drawing',
author = 'Collin J. Delker',
author_email = 'developer@collindelker.com',
Expand Down
14 changes: 14 additions & 0 deletions test/schematic.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
''' Test for using schemdraw in a script with interactive pyplot window '''
import schemdraw
import schemdraw.elements as elm

d = schemdraw.Drawing()
d.add(elm.Resistor(label='1K'))
d.add(elm.Capacitor('d'))

d2 = schemdraw.Drawing()
d2.add(elm.Diode(fill=True))

d2.draw()
d.draw()

0 comments on commit 3404a59

Please sign in to comment.