Adjust recalculated figure size based on ratio instead of difference#6
Adjust recalculated figure size based on ratio instead of difference#6Naikless wants to merge 2 commits intoMagicMuscleMan:masterfrom
Conversation
This solves issues with pgfplots' groupplot environments that lead to negative widths/heights while iteratively searching for the correct scaling factor.
|
Thank you for this, I was getting the same bug. I compiled your code*, put the resulting * I couldn't get compilation working so I actually just took the |
|
Glad that the effort helped someone else, too. 😄 Bit of a bummer that this project has been abandoned quite a while ago, same as tikzplotlib. |
|
Yes, sorry, for that, but I haven't found the motivation to work on this for years (not because this is boring, but because other projects interest me more) and it is unlikely to change soon. |
|
No need to be sorry, that's just what happens with these kind of open source projects, I didn't mean it as a complaint. I mean, my fork already exists, in the end it's just the question of which version is referenced in CTAN. Or it just needs someone here to merge potential PRs. |
|
@MagicMuscleMan Don't worry, I know the feeling :-) |
This solves issues with pgfplots' groupplot environments that lead to negative widths/heights while iteratively searching for the correct scaling factor.
Issues this should solve:
#5
https://tex.stackexchange.com/questions/174013/scaling-multi-column-groupplot-while-maintaining-font-size-and-node-placement
https://tex.stackexchange.com/questions/605840/tikzscale-fails-for-group-plot-with-three-elements-but-works-for-two-elements
https://tex.stackexchange.com/questions/651294/tikzscale-package-not-working-with-group-plots
https://tex.stackexchange.com/questions/230974/conflict-tikzscale-and-matrix-group-plot
https://tex.stackexchange.com/questions/594924/properly-adjust-pgfplot-group-plot-to-textwidth/595722#595722
https://tex.stackexchange.com/questions/524210/create-a-groupplot-with-specific-total-width-font-family-and-font-size
I had the same issues whenever trying to scale a groupplot and now finally got around to do something about it,