ipyplots package¶
Submodules¶
ipyplots.graphs module¶
-
ipyplots.graphs.
graph_plot
(adjacency_matrix: numpy.ndarray)¶ Creates a JavaScript Graph Plot from the graph given by the adjacency matrix
Parameters: adjacency_matrix ( numpy.ndarray
) – The adjacency matrix of the graph to be plottedReturns: The IPython HTML output Return type: IPython.display.HTML
-
ipyplots.graphs.
nx_graph_plot
(nx_graph: networkx.classes.graph.Graph)¶ Creates a JavaScript Graph Plot from the given networkx graph
Parameters: nx_graph ( networkx.Graph()
) – The graph to be plottedReturns: The IPython HTML output Return type: IPython.display.HTML
ipyplots.maps module¶
-
ipyplots.maps.
plot_map
(values=[], connections=[], height=300, radius=80, **kwargs)¶ Plot a map
Parameters: Returns: The IPython HTML output
Return type:
ipyplots.plots module¶
-
ipyplots.plots.
area_plot
(values: list, label='', title='', xlabel='', ylabel='', xlim=[], ylim=[], color_palette='muted', lw=0.3, alpha=0.5, edgecolor='black', hold=False)¶ Produces a pretty MATLAB-Style “Area Plot”
Parameters: - values (
list
) – a list of numpy vectors of equal size to be plotted - label (
str
) – a readable name for the individual entries - title (
str
) – a title for the plot - xlabel (
str
) – a xlabel for the plot - ylabel (
str
) – a ylabel for the plot - xlim (
list
) – x limits of the plot. If nothing is passed the default is 110% of the maximum value - ylim (
list
) – y limits of the plot. If nothing is passed this is the length of the value entries - color_palette (
str
) – theseaborn.color_palette()
to be used. Default is “muted” - lw (
float
) – the line width. Default is 0.3 - alpha (
float
) – the alpha value of the areas. Default is 50% - edgecolor (
str
) – the edge color of the areas. Default is black. - hold (
bool
) – Hold the print
- values (