mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 12:02:38 +02:00
xticklabels improved
This commit is contained in:
parent
e79f94d74a
commit
d0512f92b6
1 changed files with 2 additions and 2 deletions
|
|
@ -70,8 +70,8 @@ class kern(parameterised):
|
|||
ard_params = 1./p.lengthscale
|
||||
|
||||
ax.bar(np.arange(len(ard_params)) - 0.4, ard_params)
|
||||
ax.set_xticks(np.arange(len(ard_params)),
|
||||
["${}$".format(i + 1) for i in range(len(ard_params))])
|
||||
ax.set_xticks(np.arange(len(ard_params)))
|
||||
ax.set_xticklabels([r"${}$".format(i + 1) for i in range(len(ard_params))])
|
||||
return ax
|
||||
|
||||
def _transform_gradients(self,g):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue