Traceback (most recent call last):
File "PSPsolver1.py", line 520, in getchain
Publisher().sendMessage(("show.mainframe"), msg)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub/pubsub1 /pub.py", line 750, in sendMessage
self.__topicTree.sendMessage(aTopic, message, onTopicNeverCreated)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub/pubsub1/pub.py", line 423, in sendMessage
deliveryCount += node.sendMessage(message)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub/pubsub1/pub.py", line 261, in sendMessage
listener(message)
File "PSPsolver1.py", line 1112, in showFrame
createfigure()
File "PSPsolver1.py", line 927, in createfigure
x_ax.imshow(xcolors, cmap=cmap, interpolation='none')
File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 6749, in imshow
filterrad=filterrad, resample=resample, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/image.py", line 547, in __init__
**kwargs
File "/usr/lib/pymodules/python2.7/matplotlib/image.py", line 94, in __init__
self.set_interpolation(interpolation)
File "/usr/lib/pymodules/python2.7/matplotlib/image.py", line 458, in set_interpolation
raise ValueError('Illegal interpolation string')
ValueError: Illegal interpolation string
我在使用 matplotlib 时遇到问题 我有一段代码可以在一台计算机上运行,但是当我尝试在另一台计算机上运行它时,它似乎不起作用,并且我收到此错误 有关如何操作的任何建议?