Skip to content
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

bigger axis labels #16

Closed
davidwhogg opened this issue Aug 9, 2013 · 6 comments
Closed

bigger axis labels #16

davidwhogg opened this issue Aug 9, 2013 · 6 comments
Assignees

Comments

@davidwhogg
Copy link
Collaborator

When the plot gets huge, the labels get (relatively) small. This should either be fixed, or given an option=True to fix it at user's discretion.

@ghost ghost assigned dfm Aug 9, 2013
@dfm
Copy link
Owner

dfm commented Aug 10, 2013

I don't think that you actually want this. Just so that we're clear: the label size is fixed so when you look at it at 100% zoom the labels are big and legible. If we made the labels scale with figure size, there wouldn't be space for any labels once the plots get bigger than 5 or 6 columns and I generally use even more than that in development. The whole point of the triangle plot is that it gets bigger as you add more columns so that you can zoom in to the big figures and scroll through it that way.

That being said, maybe I don't understand your complaint. Can you point me to a specific example? Also, I might accept a pull request if it doesn't suck 😄

@davidwhogg
Copy link
Collaborator Author

My objections include

  1. yes, but the mere fact that a user shouldn't want this doesn't mean that we shouldn't provide.
  2. what if you want to put a 8x8 triangle into a journal publication?
    Catch my meaning? I will look into the pull request...

@dfm
Copy link
Owner

dfm commented Apr 5, 2015

This is now possible by providing label_kwargs=dict(fontsize=...)

@dfm dfm closed this as completed Apr 5, 2015
@pug18
Copy link

pug18 commented Jan 31, 2018

Hey dfm,
something similar. The Axes Labels overlab with the tick numbers of my 6 *6 Parameter Corner plot.
My Approach to fix this was

import matplotlib as mpl
mpl.rcParam["axes.labelpad"] = 20

but that only changes the distance of the title over the diagonal which is not what I want...

Is there a solutrion to it?

Jan

@justinfinke
Copy link

Hi,

I'd like to do something similar to this, change the font size of the tick labels (i.e., the numbers). This is something unfortunately insisted on by a referee. Is it possible to change this?

Thanks!

Justin

@fkoehlin
Copy link

Hi Justin,

I've just run into the same issue and found the following workaround:

fig = corner.corner(...)
# for control of labelsize of x,y-ticks:
for ax in fig.get_axes():
      #ax.tick_params(axis='both', which='major', labelsize=14)
      #ax.tick_params(axis='both', which='minor', labelsize=12)    
      ax.tick_params(axis='both', labelsize=14)

Cheers,

Fabian

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

No branches or pull requests

5 participants