Skip to content

Commit

Permalink
Merge pull request #431 from danforthcenter/dschneiderch-patch-2
Browse files Browse the repository at this point in the history
updated docs in pseudocolor
  • Loading branch information
nfahlgren committed Aug 22, 2019
2 parents bb605c9 + 4b1c9a4 commit 08774ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plantcv/plantcv/visualize/pseudocolor.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ def pseudocolor(gray_img, obj=None, mask=None, cmap=None, background="image", mi
"""Pseudocolor any grayscale image to custom colormap
Inputs:
gray_img = grayscale image dataROI or plant contour object. If provided, the pseudocolored image gets cropped
down to the region of interest.if provided, the pseudocolored image gets cropped down to the region
of interest
gray_img = grayscale image data
obj = (optional) ROI or plant contour object. If provided, the pseudocolored image gets cropped
down to the region of interest. default = None
mask = (optional) binary mask
cmap = (optional) colormap. default is the matplotlib default, viridis
background = (optional) background color/type, options are "image" (gray_img), "white", or "black" (requires a mask)
background = (optional) background color/type, options are "image" (gray_img), "white", or "black" (requires a mask). default = 'image'
min_value = (optional) minimum value for range of interest. default = 0
max_value = (optional) maximum value for range of interest. default = 255
axes = (optional) if False then x- and y-axis won't be displayed, nor will the title. default = True
Expand Down

0 comments on commit 08774ff

Please sign in to comment.