vMeijin / pySmithPlot

Matplotlib extension for creating Smith charts with Python
127 stars 73 forks source link

Unknown property plot_hacklines #20

Open mariocannistra opened 6 years ago

mariocannistra commented 6 years ago

Hello. I experienced issue #15 and commented out the 'update_scParams' import statement. Running again the same program I got the following error message:

Traceback (most recent call last):
  File "calculateVNA.py", line 159, in <module>
    grid_minor_fancy=True, plot_hacklines=True)
  File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\pyplot.py", line 1072, in subplot
    a = fig.add_subplot(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\figure.py", line 1239, in add_subplot
    a = subplot_class_factory(projection_class)(self, *args, **kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\axes\_subplots.py", line 77, in __init__
    self._axes_class.__init__(self, fig, self.figbox, **kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\pysmithplot-0.2.0-py3.6.egg\smithplot\smithaxes.py", line 374, in __init__
  File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\axes\_base.py", line 539, in __init__
    self.update(kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\artist.py", line 888, in update
    for k, v in props.items()]
  File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\artist.py", line 888, in <listcomp>
    for k, v in props.items()]
  File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\artist.py", line 881, in _update_property
    raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property plot_hacklines

At the moment, I removed the ,plot_hacklines=True parameter from the subplot statement in order to reach the end of program.

This happened on Windows 8.1, using Anaconda 3 and Python version 3.6.5