vMeijin / pySmithPlot

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

path_interpolation=0 does not work #5

Closed nigelkg closed 9 years ago

nigelkg commented 10 years ago

plot with the option path_interpolation=0 results in a number of steps of zero which does not work and causes the error trace below

ValueError Traceback (most recent call last)

in () 266 267 for proc in r: --> 268 proc.get() 269 else: 270 # make_grids_on() /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.pyc in get(self, timeout) 552 return self._value 553 else: --> 554 raise self._value 555 556 def _set(self, i, obj): ValueError: slice step cannot be zero
rpcope1 commented 9 years ago

I am seeing this issue also. Why don't you open this up against my repo:

https://github.com/rpcope1/pySmithPlot/issues

and I'll see if I can't fix it.

vMeijin commented 9 years ago

I fixed it. I thought I already fixed it a long time ago, but I must forgot to commit it. I think the whole interpolation part has to be reworked.

rpcope1 commented 9 years ago

Cool! Thanks for your help.