Skip to content

Conversation

@marqh
Copy link
Member

@marqh marqh commented Oct 14, 2016

temporary work around for unknown and occasional non-repeatable check_graphic test failure

if it fails, try again, mostly it works second time round

masks #2195 does not fix it

@marqh
Copy link
Member Author

marqh commented Oct 14, 2016

@bjlittle it's not pretty, but it may be better than nothing for now

@bjlittle bjlittle self-assigned this Oct 14, 2016
figure.savefig(result_fname)
def save_figure_hash():
figure = plt.gcf()
figure.savefig(result_fname)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marqh plt.gcf().savefig(result_fname) works for me ... but I don't see the point in making such a cosmetic change here in this PR.

I'm going to have to rebase #2192 with this anyways, so I can tweak away in my PR 😉

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is a cosmetic change

previously the figure = plt.gcf() and figure.savefig(result_fname) were in the code, a little way apart.

i moved them together, without changing either line

minor point tho

@bjlittle bjlittle added this to the v1.11 milestone Oct 14, 2016
@bjlittle
Copy link
Member

bjlittle commented Oct 14, 2016

@marqh Agreed, that this is a short-term fix that's not going to close #2195 👍

It buys us some time ...

@bjlittle bjlittle merged commit 59c2eae into SciTools:master Oct 14, 2016
@bjlittle bjlittle mentioned this pull request Oct 14, 2016
1 task
@bjlittle
Copy link
Member

@marqh Unfortunately, I don't see this fix making much difference ... we still have this issue, or at least I'm still encountering it with this PR included 😢

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