ubuntu2204
Kernel: Python 3 (system-wide)
In [1]:
Out[1]:
/ext/sage/10.4/local/var/lib/sage/venv-python3.12.4/lib/python3.12/site-packages/scikits/__init__.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
__import__("pkg_resources").declare_namespace(__name__)
/ext/sage/10.4/local/var/lib/sage/venv-python3.12.4/lib/python3.12/site-packages/scikits/__init__.py:1: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('scikits')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
__import__("pkg_resources").declare_namespace(__name__)
Graphics3d Object
In [2]:
Out[2]:
53756
In [3]:
Out[3]:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[3], line 26
24 ax.set_zlabel('Z')
25 plt.title('3D Vector Field')
---> 26 plt.s()
29 # LaTeX equation for the vector field (example)
30 latex_equation = r'\mathbf{F}(x, y, z) = \langle x, y, z \rangle'
AttributeError: module 'matplotlib.pyplot' has no attribute 's'