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

Add Client::plot_config + relevant types + example #125

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

Dinnerbone
Copy link
Contributor

The example produces this trace with custom plot types:
image

Smooth,
}

/// Configuration for how a plot appears in the Tracy profiling UI.
Copy link
Owner

@nagisa nagisa Dec 6, 2024

Choose a reason for hiding this comment

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

Worth adding a code example here just for constructing the type and changing a field or two. I found it to be pretty common for people to struggle to figure out how to construct stuff, when the construction is not a fn new() (even if it is as simple as using default() instead.) A plain example would help with that.

@nagisa nagisa merged commit 5959411 into nagisa:main Dec 7, 2024
31 of 46 checks passed
@nagisa
Copy link
Owner

nagisa commented Dec 7, 2024

This is all in 0.17.5.

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