home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 811794272

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-811794272 https://api.github.com/repos/pydata/xarray/issues/3275 811794272 MDEyOklzc3VlQ29tbWVudDgxMTc5NDI3Mg== 56003213 2021-04-01T09:51:19Z 2021-04-01T09:51:19Z NONE

I solve my problem using matplotlib.rcParams to change xtick.labelsize (that controls also the horizontal colorbar tick). Still don't know how to decouple the axis tick size from colorbar tick size. here is the code: import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt

mpl.rcParams['xtick.labelsize'] = 20 mpl.rcParams['ytick.labelsize'] = 20 a=np.random.rand(10,10) im=plt.imshow(a) cb=plt.colorbar(im,orientation='horizontal').set_label(label='Label',size=20,weight='bold') plt.show()

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  488190500
Powered by Datasette · Queries took 0.651ms · About: xarray-datasette