Warning using pythonplot() backend with Plots.jl

Hi,

with this simple example

using Plots; pythonplot()

scatter(
  [1], [1],
  ylims = (0, 2),
  xlims = (0, 2),
)

I get the following warning

sys:1: UserWarning: No data for colormapping provided via 'c'. Parameters 'vmin', 'vmax' will be ignored

Why is that? Is there a way to satisfly this pythonplot backend requirement? I get no warning with the default backend (GR according to the documentation).

Julia 1.7.3
  [91a5bcdd] Plots v1.38.0
  [274fc56d] PythonPlot v1.0.0
1 Like

I have the same problem using the pyplot backend :confused:

The fault comes from an incompatibility between PyCall and PythonCall, which can be fixed by getting:

ENV["JULIA_PYTHONCALL_EXE"] = "@PyCall"

see PythonCall Tips.