issue_comments: 811788372
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/3275#issuecomment-811788372 | https://api.github.com/repos/pydata/xarray/issues/3275 | 811788372 | MDEyOklzc3VlQ29tbWVudDgxMTc4ODM3Mg== | 56003213 | 2021-04-01T09:40:23Z | 2021-04-01T09:52:15Z | NONE | Hi all, I'm trying to use these tricks to increase the tick label of an imshow horizontal colorbar but, I'm getting error (1) on: set add_colorbar=False If I do not try to set add_colorbar=False I got error (2) on: cb.ax.tick_params(labelsize='large') Test example: a=np.random.rand(10,10) im=plt.imshow(a,add_colorbar=False) cb=plt.colorbar(im,orientation='horizontal').set_label(label='Label',size=20,weight='bold') cb.ax.tick_params(labelsize='large') Error(1): AttributeError: Unknown property add_colorbar Error(2): AttributeError: 'NoneType' object has no attribute 'ax' Any suggestions? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
488190500 |