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

Require GraphMakie explicitly to plot #46

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

mofeing
Copy link
Member

@mofeing mofeing commented Dec 24, 2023

Installing without using it Makie is a huge burden currently. Its precompilation time last minutes. While TTFT has improved significantly in the last Julia versions, first time users or developers while editing may encounter big delays due to Makie.

The ideal solution would be to add strong-dependencies to package extensions, but this is not ready yet (not even considered, but see https://julialang.slack.com/archives/C67910KEH/p1702027275166039 for more information).

I decided to go on the line of Flux and warn the user to explicitly install GraphMakie.

@mofeing mofeing added this to the 0.6 milestone Dec 24, 2023
@mofeing mofeing added the triage Needs consensus from more than 1 person label Dec 24, 2023
Warn user if `Makie` installed but not `GraphMakie`
@mofeing mofeing force-pushed the refactor/graphmakie-requirement branch from 7022922 to 2ee795e Compare January 18, 2024 14:35
@mofeing mofeing requested a review from jofrevalles January 18, 2024 14:35
@mofeing
Copy link
Member Author

mofeing commented Jan 18, 2024

As agreed in the chat, we'll merge this PR.

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (32e21ac) 76.92% compared to head (2ee795e) 76.90%.

Files Patch % Lines
ext/EinExprsMakieExt.jl 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   76.92%   76.90%   -0.02%     
==========================================
  Files          12       13       +1     
  Lines         390      394       +4     
==========================================
+ Hits          300      303       +3     
- Misses         90       91       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mofeing mofeing merged commit a29e672 into master Jan 18, 2024
5 of 6 checks passed
@mofeing mofeing deleted the refactor/graphmakie-requirement branch January 18, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs consensus from more than 1 person
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant