Plant CV 2021 Workshop #1211
-
Trying to finally learn PlantCV by following the YouTube recording and materials from Plant CV 2021 Workshop. Can someone help me resolve the following errors?:
TypeError: histogram() got an unexpected keyword argument 'gray_img' Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @edwinreidel, sorry for the delay! The first error is due to Binder switching from the Jupyter Notebook to Jupyter Lab framework, which in turn switched from using the The second error is caused by a change we made to the histogram function where we changed the keyword argument from We set a goal to release PlantCV4 by the end of July and on the 20th are doing a group activity to update all the tutorial notebooks to v4 as part of the final push. This will make the workshop video somewhat obsolete but we think the improvements we are introducing in v4 will be worth it. |
Beta Was this translation helpful? Give feedback.
-
[like] Edwin J. Reidel reacted to your message:
…________________________________
From: Noah Fahlgren ***@***.***>
Sent: Saturday, July 15, 2023 6:13:59 PM
To: danforthcenter/plantcv ***@***.***>
Cc: Edwin J. Reidel ***@***.***>; Mention ***@***.***>
Subject: Re: [danforthcenter/plantcv] Plant CV 2021 Workshop (Discussion #1211)
Hi @edwinreidel<https://github.com/edwinreidel>, sorry for the delay! The first error is due to Binder switching from the Jupyter Notebook to Jupyter Lab framework, which in turn switched from using the notebook plotting backend to widget backend. But in order to use widget we need to configure the environment differently.
The second error is caused by a change we made to the histogram function where we changed the keyword argument from gray_img to img because the function now accepts both grayscale and RGB images.
We set a goal to release PlantCV4 by the end of July and on the 20th are doing a group activity to update all the tutorial notebooks to v4 as part of the final push. This will make the workshop video somewhat obsolete but we think the improvements we are introducing in v4 will be worth it.
—
Reply to this email directly, view it on GitHub<#1211 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BA57FW72R2UYU7C5LXV2I2DXQLMWPANCNFSM6AAAAAAZYYZWTE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi @edwinreidel, sorry for the delay! The first error is due to Binder switching from the Jupyter Notebook to Jupyter Lab framework, which in turn switched from using the
notebook
plotting backend towidget
backend. But in order to usewidget
we need to configure the environment differently.The second error is caused by a change we made to the histogram function where we changed the keyword argument from
gray_img
toimg
because the function now accepts both grayscale and RGB images.We set a goal to release PlantCV4 by the end of July and on the 20th are doing a group activity to update all the tutorial notebooks to v4 as part of the final push. This will make the workshop video somewhat…