Giter Club home page Giter Club logo

Comments (6)

fkoehlin avatar fkoehlin commented on July 24, 2024 6

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

from corner.py.

dfm avatar dfm commented on July 24, 2024 2

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

from corner.py.

dfm avatar dfm commented on July 24, 2024

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 😄

from corner.py.

davidwhogg avatar davidwhogg commented on July 24, 2024

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...

from corner.py.

pug18 avatar pug18 commented on July 24, 2024

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

from corner.py.

justinfinke avatar justinfinke commented on July 24, 2024

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

from corner.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.