question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: module 'plantcv.plantcv' has no attribute 'visualize'

See original GitHub issue

I have been running PlantCV workflows over a flat directory of images. I recently upgraded PlantCV to Version 3.4.0 and am now experiencing an error with pcv.visualize.pseudocolor.

I have reviewed the latest VIS tutorial code (and made necessary modifications to my code) and get the following error:

Traceback (most recent call last): File "C:/Path/To/plantcv_pipeline.py", line 142, in <module> main() File "C:/Path/To/plantcv_pipeline.py", line 133, in main pseudocolored_img = pcv.visualize.pseudocolor(gray_img=s, obj=None, mask=mask, axes=True, colorbar=True, cmap='jet') AttributeError: module 'plantcv.plantcv' has no attribute 'visualize'

I cannot figure out what I am doing wrong here. Can you help?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
AdamDimechcommented, Jun 25, 2019

Thanks @HaleySchuhl! I am now getting all of the image output that I expect.

0reactions
HaleySchuhlcommented, Jun 25, 2019

Feel welcome to reopen with any additional questions/suggestions!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation - PlantCV - Read the Docs
To install using conda first install Anaconda or Miniconda if you have not already. If needed, add the following channels to your conda...
Read more >
PlantCV
PlantCV is an open-source image analysis software package targeted for plant phenotyping. The PlantCV project is managed by Malia Gehan and Noah Fahlgren ......
Read more >
AttributeError: module 'cv2' has no attribute 'selectROI'
I've tried to reinstall opencv and opencv-contrib however it doesn't seem to change anything. import numpy as np import ffmpy import cv2 ...
Read more >
plantcv - PyPI
PlantCV utilizes a modular architecture that enables flexibility in the ... To see how others have used PlantCV in their research, check out...
Read more >
rviz: AttributeError: 'module' object has no attribute ...
Hello, I'm trying to explore rviz for line visualization. I am trying to follow the tutorial from http://docs.ros.org/hydro/api/rviz_py...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found