Comments (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.
This is now possible by providing label_kwargs=dict(fontsize=...)
from corner.py.
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.
My objections include
- yes, but the mere fact that a user shouldn't want this doesn't mean that we shouldn't provide.
- 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.
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.
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)
- Misplaced **hist_kwargs? HOT 4
- Documentation errantly suggests labels are inferred from pandas.DataFrame columns HOT 4
- axes_scale argument does not work? HOT 2
- range doesn't work, or am I making a mistake? HOT 4
- ValueError: Axis limits cannot be NaN or Inf HOT 3
- Feature add request: interactive plotting using bokeh
- title_quantiles not working? HOT 2
- Matplotlib version [Urgent, maybe] HOT 13
- Having title_quantiles=None when quantiles is passed without having exactly 3 elements raises a ValueError HOT 4
- change colormap HOT 3
- Missing label on first marginalisation HOT 2
- Add option for rotated view of last marginalisation
- Do not mute mutable arguments HOT 1
- reverse=True incompatible with truths HOT 1
- linestyle argument in overlpot_points
- Reference problem
- Stripy hist2d when saved to pdf
- labelpad pushes the labels out of the figure entirely HOT 2
- corner.quantile and show_titles in corner.corner give different results
- weighted sample contour HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corner.py.