Skip to content

Apply the log mode to the displayed dataset, export the mapped one#2187

Closed
StSav012 wants to merge 1 commit intopyqtgraph:masterfrom
StSav012:patch-3
Closed

Apply the log mode to the displayed dataset, export the mapped one#2187
StSav012 wants to merge 1 commit intopyqtgraph:masterfrom
StSav012:patch-3

Conversation

@StSav012
Copy link
Copy Markdown
Contributor

@StSav012 StSav012 commented Feb 2, 2022

My next try to export the actual data plotted in log mode.

I believe that the log mode is something of displaying, not of the actual data. So, I moved the applyLogMapping function call down to self._datasetDisplay.

Next, I return the data saved into self._datasetMapped in PlotDataItem.getData function. It's a kind of expected behavior when it comes to returning the data, not the position of screen points.

I realize that it better be two tiny commits.

My next try to export the actual data plotted in log mode.

I believe that the log mode is something of displaying, not of the actual data. So, I moved the `applyLogMapping` function call down to `self._datasetDisplay`.

Next, I return the data saved into `self._datasetMapped` in `PlotDataItem.getData` function. It's a kind of expected behavior when it comes to returning the data, not the position of screen points.

I realize that it better be two tiny commits.
@StSav012
Copy link
Copy Markdown
Contributor Author

StSav012 commented Feb 2, 2022

Oops, somehow the whole syntax got changed. Sorry about that. I'll redo the PR with only the actual changes.

@StSav012 StSav012 closed this Feb 2, 2022
@StSav012 StSav012 deleted the patch-3 branch February 2, 2022 15:30
StSav012 added a commit to StSav012/pyqtgraph that referenced this pull request Feb 2, 2022
My next try to export the actual data plotted in log mode. It should be pyqtgraph#2187.

I believe that the log mode is something of displaying, not of the actual data. So, I moved the `applyLogMapping` function call down to `self._datasetDisplay`.

Next, I return the data saved into `self._datasetMapped` in `PlotDataItem.getData` function. It's a kind of expected behavior when it comes to returning the data, not the position of screen points.

I realize that it better be two tiny commits.
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.

1 participant