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

Improve radians to degrees conversion #43

Merged
merged 1 commit into from
Feb 19, 2019

Conversation

santisoler
Copy link
Member

Replace the bad styling 180 / numpy.pi for the numpy.degrees() function for converting
radians to degrees.

Fixes #42

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to the docstring, gallery, and/or tutorials.

@leouieda
Copy link
Member

The style failure is unrelated and caused by an update in pylint. I'll try to fix this soon. Merging.

@leouieda leouieda merged commit 71bc7b8 into fatiando:master Feb 19, 2019
@santisoler santisoler deleted the degrees branch February 20, 2019 13:19
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.

Bad code styling when converting radians to degrees
2 participants