我正在使用jupyter笔记本制作3d图,但是标记大小不会改变。我在Firefox(首选)和chrome上都尝试了代码。我还尝试了不同的matplotlib字典(widget和inline)。如果有帮助,我在Linux机器上。有人能帮我一下吗?
%matplotlib notebook
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
x = [0,1,2]
y = [4,3,2]
z = [5,3,4]
size = [1,20,100]
ax.scatter(x, y, z, size)