Dear sir,
I was trying to plot capacitance versus voltage curve as given in your mini tutorial at link :
http://quantumwise.com/publications/tutorials/mini-tutorials/203While doing so, I got an error during the execution of file
mulliken-analysis.py. This file is given on the mentioned link.
The error I got is :
Traceback (most recent call last):
File "/tmp/3700607190692751.py", line 54, in <module>
axarr[1].plot(numpy.arange(len(c)),numpy.cumsum(c-net_charges[0]))
File "./build/atkpython/lib/python2.7/site-packages/matplotlib/axes.py", line 3848, in plot
File "./build/atkpython/lib/python2.7/site-packages/matplotlib/axes.py", line 323, in _grab_next_args
File "./build/atkpython/lib/python2.7/site-packages/matplotlib/axes.py", line 300, in _plot_args
File "./build/atkpython/lib/python2.7/site-packages/matplotlib/axes.py", line 240, in _xy_from_xy
ValueError: x and y must have same first dimension.
Please tell me how to proceed with this.
Thanks
Priyank