Skip to content

fix for log scaling being broken #1364

Merged
ixjlyons merged 1 commit intopyqtgraph:masterfrom
meganbkratz:logScaleBugFix
Sep 17, 2020
Merged

fix for log scaling being broken #1364
ixjlyons merged 1 commit intopyqtgraph:masterfrom
meganbkratz:logScaleBugFix

Conversation

@meganbkratz
Copy link
Copy Markdown
Contributor

Running examples/Plotting.py produced RuntimeWarnings and failed to display data for the middle plot (the example for log scaling). This PR fixes that.

-- log10 was being calculated twice, resulting in nan. Now it's only being calculated once.

@ixjlyons
Copy link
Copy Markdown
Member

Great, it looks like this is the correct one to remove so you can still get e.g. FFTs with log scaling. Thanks.

@ixjlyons ixjlyons merged commit f1d0ea9 into pyqtgraph:master Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants