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
Panel label #90
Panel label #90
Conversation
pyam/plotting.py
Outdated
The column to use for y-axis values | ||
default: value | ||
""" | ||
if ax is not None: |
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.
suggest moving the _lim_loc
function up inside here if this is the only place we use it
failure could be because of the freetype version, but not sure. |
I think that failure is due to wrong matplotlib version (2.1.2 on CI, 2.2.2 locally for generating the test figure) - but 2.1.2 doesn't run on Mac for some framework problem. @gidden, can you generate the test figure and PR into my branch? |
done |
tests/test_plotting.py
Outdated
@@ -388,3 +388,11 @@ def test_stack_plot_other(plot_df): | |||
.stack_plot(ax=ax, stack='scenario', cmap='viridis', title='foo') | |||
) | |||
return fig | |||
|
|||
|
|||
@pytest.mark.skipif(IS_WINDOWS, reason=WINDOWS_REASON) |
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.
this needs to be deleted now. apologies, I was thrashing in CI and removed this from other functions.
one final bit, then g2g |
good to go, @gidden! |
now with release notes... |
Please confirm that this PR has done the following:
Description
This PR adds a function to the plotting library to set a "panel label", which is by default placed in the top-left corner of an Axes object.