Uh oh!
There was an error while loading. Please reload this page.
API Documentation - #365
Merged
Merged
Conversation
facorread
commented
Jun 13, 2022
MemberAuthor
facorread
commented
Jun 13, 2022
MemberAuthor
AaronErhardt
commented
Jun 15, 2022
Member
I really like this approach. This is similar to what Relm4 is doing: Keep the guide level explanation separate but also document the Rust code properly so the docs become very helpful too. |
facorread
marked this pull request as draft
June 15, 2022 13:50
facorread
marked this pull request as ready for review
June 18, 2022 20:05
38
commented
Jun 21, 2022
Member
Great, thanks for the improve - that's very helpful! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This RFC improves the API documentation with guidance from the rustdoc book.
As a companion to the Plotter Developer's Guide, the documentation provides details on the implementation and usage of the API. This RFC aims to provide more detailed explanations and succinct code examples that are easy to follow.
The examples do not aim to produce complete figures or Guide material. Instead, they illustrate the specific effects of the documented API element with a minimal number of lines of code.
Commit 6050fa5 improves the documentation for
LabelAreaPosition. The example therein is a complete, focused, reproducible, and bare minimum piece of code that illustrates its usage.This RFC also introduces
#![warn(missing_docs)]to identify areas of improvement.Work in progress: https://nool.info/doc/plotters/
plotters::chart::LabelAreaPositionplotters::chart::ChartContextplotters::series::Histogramplotters::series::LineSeriesplotters::series::SurfaceSeriesplotters::style::FontDescplotters::prelude::ShapeStyleplotters::style::IntoTextStyleplotters::series::AreaSeriesplotters::element::Cubiodplotters::element::ErrorBar