-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added hatchmap function #107
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
View / edit / reply to this conversation on ReviewNB juliettelavoie commented on 2023-08-03T19:43:48Z ajoute hatchmap dans la liste. |
View / edit / reply to this conversation on ReviewNB juliettelavoie commented on 2023-08-03T19:43:49Z
|
I am trying to commit a file with the line (1965): im = v.where(mask == True).plot.contourf(ax=ax, transform=transform, **plot_kw[k]) but the commits fails with :
Should I change the .where(mask==True)? @Zeitsperre |
You should change it, yes. This is kind of an interesting read on why If the values of mask are a boolean array, |
Thanks! |
View / edit / reply to this conversation on ReviewNB juliettelavoie commented on 2023-08-07T19:47:14Z j'ai des petites interrogations:
sarahclaude commented on 2023-08-07T21:08:12Z Levels est directement envoyer a matplotlib.contourf (If an int n, use If array-like, draw contour lines at the specified levels. The values must be in increasing order).
Donc, c'est matplotlib qui gère le tout puisque je n'ai pas fait de fonction propre à figanos comme Alexis avait fait pour Gridmap et je n'ai pas spécifier d'intervalles.
Je penses effectivement que levels pourrait être retirer des arguments et si qqn veut l'utiliser ce sera une option de plot_kw. Est-ce que j'enlève l'exemple aussi?
Sinon, l'autre option ce serait de créer qqc de similaire à gridmap pour les niveaux et que ce ne soit pas pris en charge par matplotlib.contourf(). |
Levels est directement envoyer a matplotlib.contourf (If an int n, use If array-like, draw contour lines at the specified levels. The values must be in increasing order).
Donc, c'est matplotlib qui gère le tout puisque je n'ai pas fait de fonction propre à figanos comme Alexis avait fait pour Gridmap et je n'ai pas spécifier d'intervalles.
Je penses effectivement que levels pourrait être retirer des arguments et si qqn veut l'utiliser ce sera une option de plot_kw. Est-ce que j'enlève l'exemple aussi?
Sinon, l'autre option ce serait de créer qqc de similaire à gridmap pour les niveaux. View entire conversation on ReviewNB |
Function to add hatching over maps using matplotlib contourf.