Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugs in plot_erp #230

Open
2 of 3 tasks
vladdez opened this issue Aug 15, 2024 · 6 comments
Open
2 of 3 tasks

bugs in plot_erp #230

vladdez opened this issue Aug 15, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@vladdez
Copy link
Collaborator

vladdez commented Aug 15, 2024

m = example_data("UnfoldLinearModel")
eff_same = effects(Dict(:condition => ["levelA", "levelB"], :duration => 200), m)

plot_erp(
        eff_same;
        mapping = (; col = :eventname, color = :condition),
        axis = (; titlevisible = false,
                    xlabelvisible = false,
                    ylabelvisible = false,
                    yticklabelsvisible = false),
        layout = (; show_legend = false)
    )

problems:

  • xlabelvisible = false doesn't work, while ylabelvisible works. I checked config.axis and it is correct on every step. Seems like a bug on AoG side
  • layout.color = :condition gives ERROR: MethodError: no method matching isless(::Type{Any}, ::Type{Any}) on my environment, but works on Rene's.
  • try first to do MWE with only AoG

AoG v0.8.0, UM v0.5.6

@ReneSkukies
Copy link
Member

I get a different AoG version.

pkgversion(UnfoldMakie) says UM is v0.5.5, but pkgversion(UnfoldMakie.AlgebraOfGraphics) (i.e. the version that UM is using) is supposed to be v"0.6.20".

Maybe compat for AoG was updated but not the hash in the Project.toml?

@vladdez
Copy link
Collaborator Author

vladdez commented Aug 15, 2024

ah sorry I meant v0.5.6
seems something was broken in a new version, we updated AoG from 6 to 8 in UM v0.5.6

@behinger
Copy link
Member

Try a mwe with only AoG code. I find it unlikely that this is a AoG bug. Check what the output of config.axis is right before putting it into the axis object

@ReneSkukies
Copy link
Member

ReneSkukies commented Aug 15, 2024

I get a different AoG version.

pkgversion(UnfoldMakie) says UM is v0.5.5, but pkgversion(UnfoldMakie.AlgebraOfGraphics) (i.e. the version that UM is using) is supposed to be v"0.6.20".

Maybe compat for AoG was updated but not the hash in the Project.toml?

Changed to newest version, now the versions are AoG v0.8.0, UM v0.5.6, but the bug still persists

@vladdez vladdez added the bug Something isn't working label Sep 6, 2024
@vladdez
Copy link
Collaborator Author

vladdez commented Sep 12, 2024

xlabelvisible = false doesn't work only with columns

@vladdez
Copy link
Collaborator Author

vladdez commented Sep 23, 2024

discussed here MakieOrg/AlgebraOfGraphics.jl#557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants