Skip to content

Axis pen improvements#2398

Merged
j9ac9k merged 5 commits intopyqtgraph:masterfrom
ibrewster:axisPenImprovements
Aug 19, 2022
Merged

Axis pen improvements#2398
j9ac9k merged 5 commits intopyqtgraph:masterfrom
ibrewster:axisPenImprovements

Conversation

@ibrewster
Copy link
Copy Markdown
Contributor

Add the ability to specify the pen used to draw the axis line separately from the pen used to draw the tick marks/grid lines

Israel Brewster added 5 commits April 15, 2022 08:03
This superseeds using high-quality rendering at all times, allowing the much faster
cached method to be used by default, while allowing the user to not use the cache
(thereby getting higher-quality output to PDF) if desired
- Document the useCache option in the PlotDataItem __init__ function and the ScatterPlotItem setData function.
- Group the useCache keyword argument with other Optimization keyword arguments
…es seperately from the pen used to draw the axis/text
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Aug 19, 2022

Hi @ibrewster

Thanks for the PR, this LGTM!

@j9ac9k j9ac9k merged commit a392dfa into pyqtgraph:master Aug 19, 2022
@ibrewster ibrewster deleted the axisPenImprovements branch August 19, 2022 20:14
@ibrewster
Copy link
Copy Markdown
Contributor Author

Any chance of cleaning up the git log? Somehow the comments/commit messages from one of my other pull requests got in there...one of these days I'll figure out how to do this correctly! :D At least only the actual changes I wanted showed up :)

j9ac9k pushed a commit to j9ac9k/pyqtgraph that referenced this pull request Aug 23, 2022
* Pass the 'useCache' parameter through to ScatterPlotItem

This superseeds using high-quality rendering at all times, allowing the much faster
cached method to be used by default, while allowing the user to not use the cache
(thereby getting higher-quality output to PDF) if desired

* Add documentation

- Document the useCache option in the PlotDataItem __init__ function and the ScatterPlotItem setData function.
- Group the useCache keyword argument with other Optimization keyword arguments

* Add tickPen/setTickPen functions to set the pen used to draw tick lines seperately from the pen used to draw the axis/text

* Fix argument to setTextPen in __init__

Co-authored-by: Israel Brewster <ijbrewster@alaska.edu>
j9ac9k pushed a commit to j9ac9k/pyqtgraph that referenced this pull request Aug 23, 2022
* Pass the 'useCache' parameter through to ScatterPlotItem

This superseeds using high-quality rendering at all times, allowing the much faster
cached method to be used by default, while allowing the user to not use the cache
(thereby getting higher-quality output to PDF) if desired

* Add documentation

- Document the useCache option in the PlotDataItem __init__ function and the ScatterPlotItem setData function.
- Group the useCache keyword argument with other Optimization keyword arguments

* Add tickPen/setTickPen functions to set the pen used to draw tick lines seperately from the pen used to draw the axis/text

* Fix argument to setTextPen in __init__

Co-authored-by: Israel Brewster <ijbrewster@alaska.edu>
j9ac9k pushed a commit to j9ac9k/pyqtgraph that referenced this pull request Aug 24, 2022
* Pass the 'useCache' parameter through to ScatterPlotItem

This superseeds using high-quality rendering at all times, allowing the much faster
cached method to be used by default, while allowing the user to not use the cache
(thereby getting higher-quality output to PDF) if desired

* Add documentation

- Document the useCache option in the PlotDataItem __init__ function and the ScatterPlotItem setData function.
- Group the useCache keyword argument with other Optimization keyword arguments

* Add tickPen/setTickPen functions to set the pen used to draw tick lines seperately from the pen used to draw the axis/text

* Fix argument to setTextPen in __init__

Co-authored-by: Israel Brewster <ijbrewster@alaska.edu>
pijyoi added a commit to pijyoi/pyqtgraph that referenced this pull request Aug 24, 2022
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