cesiumpy.plotting package¶
Submodules¶
-
class
cesiumpy.plotting.plot.
PlottingAccessor
(widget)¶ Bases:
object
-
bar
(x, y, z, size=10000.0, color=None, bottom=0.0)¶ Plot cesiumpy.Cylinder like bar plot
- x : list
- List of longitudes
- y : list
- List of latitudes
- z : list
- List of bar heights
- size : list or float, default 10e3
- Radius of cylinder
- color : list or Color
- Cylinder color
- bottom : list or float, default 0
- Bottom heights
-
contour
(x, y, z)¶ Plot contours using cesiumpy.Polyline
X : np.ndarray Y : np.ndarray Y : np.ndarray
X and Y must both be 2-D with the same shape as Z, or they must both be 1-D such that
len(X)
is the number of columns in Z andlen(Y)
is the number of rows in Z.
-
label
(text, x, y, z=None, size=None, color=None)¶ Plot cesiumpy.Label
- text : list
- List of labels
- x : list
- List of longitudes
- y : list
- List of latitudes
- z : list or float
- Heights
- size : list or float
- Text size
- color : list or Color
- Text color
-
pin
(x, y, z=None, text=None, size=None, color=None)¶ Plot cesiumpy.Pin
- x : list
- List of longitudes
- y : list
- List of latitudes
- z : list or float
- Heights
- text : list
- List of labels
- size : list or float
- Text size
- color : list or Color
- Text color
-
scatter
(x, y, z=None, size=None, color=None)¶ Plot cesiumpy.Point like scatter plot
- x : list
- List of longitudes
- y : list
- List of latitudes
- z : list or float
- Height
- size : list or float
- Pixel size
- color : list or Color
- Point color
-