# Warning using pythonplot() backend with Plots.jl

**URL:** https://discourse.julialang.org/t/warning-using-pythonplot-backend-with-plots-jl/92412
**Category:** General Usage
**Tags:** plotting
**Created:** [January 2, 2023, 11:56am UTC](https://discourse.julialang.org/t/warning-using-pythonplot-backend-with-plots-jl/92412 "2023-01-02T11:56:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alusiani](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alusiani/32/16415_2.png) [@alusiani](https://discourse.julialang.org/u/alusiani)
#### Post date: [January 2, 2023, 11:56am UTC](https://discourse.julialang.org/t/warning-using-pythonplot-backend-with-plots-jl/92412/1 "2023-01-02T11:56:33Z")

</div>

Hi,

with this simple example

```julia
using Plots; pythonplot()

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

```

I get the following warning

```julia
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
Julia 1.7.3
  [91a5bcdd] Plots v1.38.0
  [274fc56d] PythonPlot v1.0.0

```

---

<div class="post-metadata">

### Author: ![Woodmouth](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/woodmouth/32/24394_2.png) [@Woodmouth](https://discourse.julialang.org/u/Woodmouth)
#### Post date: [January 23, 2023, 4:24pm UTC](https://discourse.julialang.org/t/warning-using-pythonplot-backend-with-plots-jl/92412/2 "2023-01-23T16:24:42Z")

</div>

I have the same problem using the pyplot backend 😕

---

<div class="post-metadata">

### Author: ![alusiani](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alusiani/32/16415_2.png) [@alusiani](https://discourse.julialang.org/u/alusiani)
#### Post date: [January 23, 2023, 5:24pm UTC](https://discourse.julialang.org/t/warning-using-pythonplot-backend-with-plots-jl/92412/3 "2023-01-23T17:24:03Z")

</div>

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

```julia
ENV["JULIA_PYTHONCALL_EXE"] = "@PyCall"

```

see [PythonCall Tips](https://cjdoris.github.io/PythonCall.jl/stable/pycall/#Tips).
