A foolproof question about ylim

76 views
Skip to first unread message

chobb...@gmail.com

unread,
Jul 21, 2016, 7:03:04 PM7/21/16
to julia-users


How can I get ylim when using PyPlot? I tried all the suggestions I found on stackoverflow. None of them works, e.g. get_ylim(). Here is the error:

ERROR: LoadError: UndefVarError: get_ylim not defined

Can anyone give me an example of getting the current ylim? Thanks!!

Yichao Yu

unread,
Jul 21, 2016, 7:09:17 PM7/21/16
to Julia Users
Err, `ylim()`? I believe this is how you do that in python too.

chobb...@gmail.com

unread,
Jul 22, 2016, 6:02:30 AM7/22/16
to julia-users
Terrific! As a stranger to python, I've never thought that get and set methods are using the same keyword. Thanks!
Reply all
Reply to author
Forward
0 new messages