Skip to content

[FR] PythonPlot/PythonCall alternative to PyPlot/PyCall #4181

@stevengj

Description

@stevengj

At some point, it might be good to have support for Matplotlib via PythonCall.jl as an alternative to via PyCall.jl, since people are starting to use the former in many cases.

I've mostly ported PyPlot to PythonCall in https://github.com/stevengj/PythonPlot.jl (not yet registered) and it seems to work, but I've only lightly tested it. You should be able to straightforwardly port your existing pyplot.jl backend to it — the biggest differences are due to PythonCall vs PyCall, e.g. o."foo" just becomes o.foo (you can still use o."foo"), and you have to explicitly request conversion to Julia types if needed.

Maybe not an immediately urgent need, but I wanted to file an issue to track any efforts on this.

cc @cjdoris

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions