A direct translation of the Python code works fine for me (with the default
TkAgg backend on MacOS):
one = figure(1)
plot(1:4)
two = figure(2)
scatter(randn(25),randn(25))
figure(1)
title("Title")
wm = get_current_fig_manager()
wm[:window][:attributes]("-topmost", 1)
wm[:window][:attributes]("-topmost", 0)
Everyone using PyPlot and PyCall should read this sentence from the PyCall
README five times:
The biggest diffence from Python is that object attributes/members are
accessed with o[:attribute] rather than o.attribute