plotly / plotly/Plotly.NET

Doc: Incorrect Axis Title Styles in F# Example in Plotly.NET Docs

Open Beginner friendly
#498 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
F#
Stars
860
Forks
99
Avg merge
22m
Merged PRs (30d)
1

Description

Description

In the Functional pipeline style in F# section under Comparison: Usage in F# and C#, I found a minor typo in the following lines:

|> Chart.withYAxisStyle (TitleText = "xAxis")
|> Chart.withXAxisStyle (TitleText = "yAxis")

The first line, Chart.withYAxisStyle, needs to be Chart.withXAxisStyle as the title is for the X-axis, not the Y-axis. Likewise, the second line, Chart.withXAxisStyle, needs to be Chart.withYAxisStyle as the title is for the Y-axis, not the X-axis.

Expected behavior
|> Chart.withXAxisStyle (TitleText = "xAxis")
|> Chart.withYAxisStyle (TitleText = "yAxis")
Image
Actual behavior
Image Image
Related information
Links

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the Functional pipeline style in F# section under Comparison: Usage in F# and C# at the linked Plotly.NET documentation page. Check the two Chart.withXAxisStyle and Chart.withYAxisStyle lines against their TitleText values, then update the example so each axis title uses the matching style function.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.