Where could I change the plot code?

52 views
Skip to first unread message

张瑞

unread,
Feb 22, 2022, 10:15:26 PM2/22/22
to PyCDT forum
I have changed the subtitle in 
1.anaconda3/envs/pycdt/lib/python3.8/site-packages/pycdt-2.0.5-py3.8.egg/pycdt/utils/plotter.py
2./home/qiao/apps/pycdt/build/lib/pycdt/utils/plotter.py
3. /home/qiao/apps/pycdt/pycdt/utils/plotter.py

but the output figure still stay the same

PyCDT forum

unread,
Feb 23, 2022, 9:05:06 AM2/23/22
to PyCDT forum
Could you please figure out where the library is installed?

You could get that info by running the below command on python shell

>>> import pycdt
>>> print(pycdt.__path__)

Bharat



Rui Zhang

unread,
Feb 24, 2022, 3:25:36 AM2/24/22
to PyCDT forum
Thanks its /home/qiao/apps/anaconda3/envs/pycdt/lib/python3.8/site-packages/pycdt-2.0.5-py3.8.egg/pycdt, the same as the first one that I changed

Rui Zhang

unread,
Feb 24, 2022, 3:40:43 AM2/24/22
to PyCDT forum
And I have changed the /home/qiao/apps/anaconda3/envs/pycdt/lib/python3.8/site-packages/pycdt-2.0.5-py3.8.egg/pycdt/utils/plotter.py. The subtitle is plt.xlabel("testFermi energy (eV)", size=ax_fontsize*width). However, the output figure stay unchanged

在2022年2月23日星期三 UTC+8 22:05:06<PyCDT forum> 写道:

Rui Zhang

unread,
Feb 24, 2022, 8:12:54 AM2/24/22
to PyCDT forum
I have just figured that the plotter.py was not used in pycdt script. May I know how could I use it in the script?

在2022年2月23日星期三 UTC+8 22:05:06<PyCDT forum> 写道:
Reply all
Reply to author
Forward
0 new messages