python调用spss算法_python – SPSS中的matplotlib图

是否可以在SPSS中使用内置的任何其他图形库?我刚刚发现了使SPSS很棒的

python扩展.

import matplotlib.pyplot as plt

from numpy.random import rand

fig, ax = plt.subplots()

for color in [‘red’, ‘green’, ‘blue’]:

n = 750

x, y = rand(2, n)

scale = 200.0 * rand(n)

ax.scatter(x, y, c=color, s=scale, label=color,

alpha=0.3, edgecolors=’none’)

ax.legend()

ax.grid(True)

plt.show()

RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X.

Please either reinstall Python as a framework, or try one of th

Original: https://blog.csdn.net/weixin_36134015/article/details/113517844
Author: 知知与终生
Title: python调用spss算法_python – SPSS中的matplotlib图

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/768378/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球