Probleme, Grundstücke in ipython Notebook Anzeige% matplotlib Inline funktioniert nicht für Grundstücke innerhalb eines Moduls
hier ist eine vereinfachte Version von dem, was ich tue:
%matplotlib inline
import MyPackage
obj = MyPackage.MyObj()
obj.display()
innen MyPackage:
import matplotlib.pyplot as plt
class MyObj(object):
......
def display(self):
plt.figure()
plt.scatter(DATA_IN_MyObj)
ich
Rückkehr bekam:
<matplotlib.figure.Figure at 0x5de5b10>
ich danke Ihnen allen sehr!
Ich tat das tatsächlich, aber ohne Erfolg, jedoch plt.plot (DATA_IN_MyObj) funktioniert. – user7531420