I would like to plot a component of the Einstein tensor from a metric in Einsteinpy. In order to get this metric, I used einst=EinsteinTensor.from_metric() and then einst.tensor()[i][j], where i and j are the indices of the component I want to plot. When I print the value of this object, I get an equation, but I can't seem to plot it. Is there any way to plot this object with respect to a set of coordinates (i.e. a 3d surface plot with respect to x and t)?
I figured that because Einsteinpy makes use of scipy, I could simply use the scipy plot3d feature with respect to some coordinates. However, running the code prints the error
TypeError: unhashable type: 'numpy.ndarray' During handling of the above exception, another exception occurred: AttributeError: 'ImmutableDenseNDimArray' object has no attribute 'extract_multiplicatively'
(I cut down the error message to hide my file directory and remove some of the line numbers and such)
If it helps, printing the type of the object einst.tensor()[i][j] gives class 'sympy.core.add.Add'.