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

Small corrections in docs validate.md #271

Merged
merged 5 commits into from
Apr 14, 2024
Merged

Small corrections in docs validate.md #271

merged 5 commits into from
Apr 14, 2024

Conversation

jaksle
Copy link
Contributor

@jaksle jaksle commented Jan 23, 2024

Third attempt at making this PR. I made a new repository and commit from a branch this time.

Corrections in links + changing nclusters to №_clu. There is a function nclusters already.

Something is deeply wrong with Plots when it compiles official docs for validate.md. Not only it puts titles on labels, it also does not display some labels at all. I cannot reproduce it on two different machines, so currently I have no idea how to fix it.

EDIT. Looking more closely maybe it renders those labels, but they do not into the plot frames. Maybe we can try updating Plots version in docs?

@@ -214,11 +214,11 @@ X = hcat([4., 5.] .+ 0.4 * randn(2, 10),
[9., -5.] .+ 0.4 * randn(2, 5),
[-4., -9.] .+ 1 * randn(2, 5))

nclusters = 2:5
clusterings = kmeans.(Ref(X), nclusters)
№_clu = 2:5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "№" symbol typically denotes "sequential number", e.g. "cluster №3", but not the quantity of items.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am no expert here, I always thought it is just old abbreviation for "number" with no further nuance. We can change to n_clu or something similar.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted it back to nclusters

@codecov-commenter
Copy link

codecov-commenter commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.40%. Comparing base (b4df21a) to head (567b0b8).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #271   +/-   ##
=======================================
  Coverage   95.40%   95.40%           
=======================================
  Files          20       20           
  Lines        1503     1503           
=======================================
  Hits         1434     1434           
  Misses         69       69           

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

@alyst alyst merged commit 989fb13 into JuliaStats:master Apr 14, 2024
7 checks passed
@alyst
Copy link
Member

alyst commented Apr 14, 2024

I have tried to tweak the layout of the plots and switched to SVG, let's see if that helps.

@alyst
Copy link
Member

alyst commented Apr 14, 2024

The updates did fix the dev docs.

@jaksle
Copy link
Contributor Author

jaksle commented Apr 15, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants