As I understand, PyCall documentation says that it supports dot-access to Python object attributes:
o.attributein Julia is equivalent to
o.attributein Python, with automatic type conversion.
However, even a very simple example of that fails:
using PyCall @pyimport matplotlib.pyplot as plt plt.gca().set_aspect("equal") # ERROR: type PyObject has no field set_aspect plt.gca()[:set_aspect]("equal") # works
Do I misunderstand something in how Julia and/or PyCall work?