elli.plot package
Submodules
elli.plot.mueller_matrix module
Plotting functions for Mueller matrices
- elli.plot.mueller_matrix.plot_mmatrix(dataframes, colors=None, dashes=None, names=None, single=True, full_scale=False, sharex=False)[source]
Takes multiple Mueller matrix dataframes with columns Mxy for matrix postion x,y and plots them together. Needs plotly as additional requirement to work.
- Parameters
dataframes (List[pd.DataFrame]) – A list of dataframes containing data of the same index.
colors (list, optional) – A list of colors which are cycled for each dataframes index. Defaults to None.
dashes (list, optional) – A list of dash line styles which are cycled for each dataframes index. Defaults to None.
names (list, optional) – A name for each dataframe index. Defaults to None.
single (bool, optional) – Uses a single plot if set and a grid if not set. Defaults to True.
full_scale (bool, optional) – Sets the y-axis limits to [-1, 1] if set. Defaults to False.
sharex (bool, optional) – Ties the zooming of the x-axis together for each plot in grid view. Defaults to False.
- Returns
A plotly figure containing the data from dataframes as a grid or single view.
- Return type
go.Figure