-
Notifications
You must be signed in to change notification settings - Fork 19
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
Mapping streamline #12
Conversation
This should be ready for merging. @jfburkhart would you like to review this one? |
""" | ||
This is a core function, used throughout this module. It is called | ||
by the :func:`get_FIGURE` function. If you want to create a new | ||
region, this is where it should be added. Follow the protocol for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change the docstring to reflect the new environment variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in 98da4cb
…erage ). Moved out legacy code in mapping.py
@jfburkhart , in f3cde17 I have tried to clean-up the code of plotting.py a bit. In the process, I noticed that there are several places where we could be using uninitialized variables. I added comments with the "ERROR:" label on them. Could you have a look at them and tell me which could be proper defaults? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding cax and cax2, in fact, I've had the error where these were uninitialized. They are the 'color axes' (or cax and cax2 for short). In some cases there are two cax ... in the case with the height plot overlaid, for example.
I agree we should find a better solution here.
Added an issue for the initialized variables: #13 |
I think this PR is already including more tasks than originally intended, so merging. |
This is an attempt to simplify mapping.py as much as possible and promote it as a first-class module. Not ready for merging yet.