Closed wiseaidev closed 10 months ago
.split_horizontally()
receives the size of the left section in pixels. That's why calling .split_horizontally()
with a value of 2
doesn't really make sense. In your case, you want to do something like .split_horizontally(320)
.
Thanks for the help @AliMMehr! I first thought the argument is the number of columns in the graph, 2.
Describe the bug
Hello, friends! Well, first of all, thanks for this awesome crate. While building this notebook, I noticed that
split_horizontally
produces wrong subplots positions.To Reproduce
Go to this notebook and scroll all the way to the
2. Using split_horizontally
section. Thesplit_horizontally
function is supposed to produce the same image assplit_evenly((1,2))
, amirite? However, it is not the case. Take a look at the screenshot below.Version Information