Skip to content

xscale("function",functions=(forward,inverse)) not working #509

@mikehui

Description

@mikehui

using PyPlot;
x = range(0,1,length=100);
plot(x, x);
forward(x) = x^(1/3);
inverse(x) = x^3;
xscale("function",functions=(forward,inverse));

I got errors. Some of the errors are

ERROR: (in a Julia function called from Python)
JULIA: DimensionMismatch("matrix is not square: dimensions are (2, 1)")
.....
RuntimeError: <PyCall.jlwrap (in a Julia function called from Python)
JULIA: DimensionMismatch("matrix is not square: dimensions are (0, 1)")

Can you help? Thanks!

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