Skip to content

PyPlot works but calling matplotlib directly from PyCall aborts #665

@musm

Description

@musm
julia> using PyCall

julia> plt = pyimport("matplotlib.pyplot")
PyObject <module 'matplotlib.pyplot' from 'C:\\tools\\Miniconda3\\lib\\site-packages\\matplotlib\\pyplot.py'>

julia> x = range(0; stop=2*pi, length=1000); y = sin.(3 * x + 4 * cos.(2 * x));

julia> plt.plot(x, y)
This application failed to start because it could not find or load the Qt platform plugin "windows"
in "".

Reinstalling the application may fix this problem.

This causes Julia to terminate abruptly.

Yet using PyPlot works ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions