Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaking up mousemoved function in all QtPlotter classes and cleaning up some random stuff too #88

Closed
wants to merge 1 commit into from

Conversation

jibarnum
Copy link
Collaborator

Addresses issue #57

Just broke up the mousemoved functions in all the QtPlotter classes to try and be a bit more condensed in what they do. Moved the actual drawing of crosshairs/setting crosshair legend options outside of the mousemoved functions.

@coveralls
Copy link

coveralls commented May 17, 2019

Pull Request Test Coverage Report for Build 119

  • 15 of 76 (19.74%) changed or added relevant lines in 4 files are covered.
  • 3 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.06%) to 30.794%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pytplot/QtPlotter/TVarFigureAlt.py 3 14 21.43%
pytplot/QtPlotter/TVarFigure1D.py 2 16 12.5%
pytplot/QtPlotter/TVarFigureMap.py 4 19 21.05%
pytplot/QtPlotter/TVarFigureSpec.py 6 27 22.22%
Files with Coverage Reduction New Missed Lines %
pytplot/HTMLPlotter/TVarFigure1D.py 1 15.31%
pytplot/QtPlotter/TVarFigureAlt.py 1 15.22%
pytplot/QtPlotter/TVarFigureMap.py 1 13.03%
Totals Coverage Status
Change from base Build 117: 0.06%
Covered Lines: 1431
Relevant Lines: 4647

💛 - Coveralls

@bryan-harter
Copy link
Collaborator

Sorry to do this to you, but it looks like all the changes I recently made kinda mess with merging this. Its still a good idea to do this, but I got rid of the mouse moved function in each plot and changed basically all TVar attributes so that they are encapsulated inside of pytplot.data_quants['var1'].attrs["plot_attributes"].

@jibarnum jibarnum closed this Aug 22, 2019
@jibarnum jibarnum deleted the julie_mousemoved branch August 23, 2019 21:44
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.

3 participants