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

Error bars for BarChart #109

Merged
merged 3 commits into from
Jan 22, 2019
Merged

Conversation

MaximeBouton
Copy link
Member

  • implement error bars for barchart
  • add an example to the doc

Note: the way I implemented it might be clumsy, there is a lot of repeated code with the implementation for the Linear type. Any suggestions are welcome.

src/PGFPlots.jl Outdated
println(o, "table [")
println(o, "x error plus=ex+, x error minus=ex-, y error plus=ey+, y error minus=ey-")
println(o, "] {")
println(o, "x y ex+ ex- ey+ ey-")
x = vcat(p.data, p.errorBars.data)
Copy link
Member

Choose a reason for hiding this comment

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

Why did this line need to be moved? It looks like it came before the table originally, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry it was unnecessary, I moved it while I was prototyping and forgot to move it back. I will revert this change

@mykelk
Copy link
Member

mykelk commented Jan 22, 2019

Cool. You can merge once the travis finishes. Please also tag a release for attobot. Thanks!

@MaximeBouton
Copy link
Member Author

I don't have the rights to merge or tag

@mykelk
Copy link
Member

mykelk commented Jan 22, 2019

You should have access now.

@MaximeBouton MaximeBouton merged commit a7ceaeb into JuliaTeX:master Jan 22, 2019
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.

None yet

2 participants