Skip to content
Snippets Groups Projects
Commit a4a31fe3 authored by s214735's avatar s214735
Browse files

fix

parent 6d69358d
No related branches found
No related tags found
1 merge request!144Docstrings
......@@ -56,7 +56,7 @@ def get_bibtex(doi):
return _log_and_get_text(doi, header)
def custom_header(doi, header):
def custom_header(doi: str, header: str) -> str:
"""Allows a custom header to be passed
Example:
......
......@@ -23,7 +23,7 @@ def plot_cc(
connected_components (CC): The connected components object.
component_indexs (list | tuple, optional): The components to plot. If None the first max_cc_to_plot=32 components will be plotted. Defaults to None.
max_cc_to_plot (int, optional): The maximum number of connected components to plot. Defaults to 32.
overlay (optional): Overlay image. Defaults to None.
overlay (np.ndarray, optional): Overlay image. Defaults to None.
crop (bool, optional): Whether to crop the image to the cc. Defaults to False.
display_figure (bool, optional): Whether to show the figure. Defaults to True.
color_map (str, optional): Specifies the color map for the image. Defaults to "viridis".
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment