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.

Issue with plotting images/histograms in PSII function

See original GitHub issue

Description

From #306:

In plantcv.fluor_fvfm

if debug = ‘plot’ then the histogram gets messed up. maybe there is a figure counter missing…i’m not sure how this works exactly. see attached image.

Completion Criteria

Identify why the output for @dschneiderch is not working but is for us. Maybe the 8-bit vs 16-bit format is still an issue? Or an image input format issue?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
nfahlgrencommented, Jan 30, 2019

Good question, not totally sure but could definitely be. We were using plt.clf, which just clears the figure but not the plot device, so any new plot just layers on top. It definitely might carry through between functions or function executions.

0reactions
nfahlgrencommented, Feb 7, 2019

This should be resolved now in the current version, but feel free to reopen of course.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PSII pipeline - Tutorial - PlantCV
Optimize pipeline on a PSII image set (3 images) in debug mode. · Run pipeline on small test set (ideally that spans time...
Read more >
Creating Histograms – Image Processing with Python
In this episode, we will learn how to use skimage functions to create and display histograms for images. Introduction to Histograms.
Read more >
Image Histograms in OpenCV - Medium
A histogram is a very important tool in Image processing. It is a graphical representation of the distribution of data. An image histogram...
Read more >
python - Plotting two different image histograms as a single 2D ...
I have tried to form two seperate histograms and then construct the 2D array in a loop however this is failing. first =...
Read more >
plantcv/photosynthesis_analyze_fvfm.md at main - GitHub
Analyze PSII Signal ... returns PSII analysis images (Fv/Fm image, Fv/Fm histogram) ... function which allows the user to pick a colormap for...
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