aerosandbox.tools.pretty_plots.quickplot
Attributes
Functions
qp(*args[, backend, show, plotly_renderer, ...]) | Quickly plots ("QP") a 1D, 2D, or 3D dataset as a line plot with markers. Useful for exploratory data analysis. |
Module Contents
aerosandbox.tools.pretty_plots.quickplot.qp(*args, backend='plotly', show=True, plotly_renderer='browser', orthographic=True, stacklevel=1) : Quickly plots (“QP”) a 1D, 2D, or 3D dataset as a line plot with markers. Useful for exploratory data analysis.
code
Example
```defaultimport aerosandbox.numpy as np
x = np.linspace(0, 10) y = x ** 2 z = np.sin(x) qp(x, y, z)
code
Parameters:
: - **\*args** – The arguments that you want to plot. You can provide 1, 2, or 3 arrays, all of which should be 1D and of the same length.
- **backend** – The backend to use. Current options:
\* “plotly”
- **show** – A boolean of whether or not to show the plot.
- **plotly\_renderer** (*Union**[**str**,* *None**]*) – A string of what to use as the Plotly renderer. If you don’t want to overwrite a default that you’ve already set, set this variable to None.
- **orthographic** – A boolean of whether or not to use an orthographic (rather than persepctive) projection when viewing 3D plots.
- **stacklevel** – (Advanced) Choose the level of the stack that you want to retrieve plot labels at. Higher
- **higher** (*integers will get you*) –
- **warnings.warn****(****)****.** (*argument in*) –
Return type:
: None
Returns: None (in-place)
<a id="aerosandbox.tools.pretty_plots.quickplot.x"></a> aerosandbox.tools.pretty\_plots.quickplot.x