Dear all, I have a question about the figure plotting of kwant, or maybe it is just a python question. When we plot more than one figures in kwant, we need to close the first figure to let the second one start to be plotted. Can we plot all the figures without manually closing the figure window? Maybe a silly question, i am really not good at python. Weiyuan Tong
Dear Weiyuan, Sorry for a delayed reply. It's rather a matplotlib question. If you call pyplot.figure() several times before running pyplot.show(), it would work. Another option is to run things in interactive mode (http://matplotlib.org/faq/usage_faq.html#what-is-interactive-mode). Then any change will be displayed as soon as you update the plot. Best, Anton On Wed, Oct 28, 2015 at 9:57 AM, Weiyuan Tong <weiyuantongtrans@gmail.com> wrote:
Dear all, I have a question about the figure plotting of kwant, or maybe it is just a python question. When we plot more than one figures in kwant, we need to close the first figure to let the second one start to be plotted. Can we plot all the figures without manually closing the figure window? Maybe a silly question, i am really not good at python. Weiyuan Tong
participants (2)
-
Anton Akhmerov
-
Weiyuan Tong