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 docstrings and doctests #22

Merged
merged 3 commits into from
Feb 10, 2021
Merged

Conversation

kimikage
Copy link
Contributor

@kimikage kimikage commented Aug 1, 2020

This also applies some trivial modifications of source code, which do not change the behavior.

cc: @timholy, @lobingera

This also applies some trivial modifications of source code, which do not change the behavior.
@timholy
Copy link
Member

timholy commented Feb 10, 2021

Hmm, sorry no one noticed this. Fantastic improvement!

@timholy timholy merged commit 5788db3 into JuliaGraphics:master Feb 10, 2021

xcent = (l+r)/2
ycent = (t+b)/2
translate(c, -xcent + (w/2 + x)/xs, -ycent + (h/2 + y)/ys)
translate(gc, -xcent + (w/2 + x)/xs, -ycent + (h/2 + y)/ys)
end
c
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops!

@@ -3,8 +3,10 @@
Graphics.jl is an [abstraction layer](https://en.wikipedia.org/wiki/Abstraction_layer)
for graphical operations in Julia.

[![Graphics](http://pkg.julialang.org/badges/Graphics_1.0.svg)](http://pkg.julialang.org/?pkg=Graphics&ver=1.0)
[![PkgEval](pkgeval-img)](pkgeval-url)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
[![PkgEval](pkgeval-img)](pkgeval-url)
[![PkgEval][pkgeval-img]][pkgeval-url]

Terrible! 😭

@kimikage kimikage mentioned this pull request Feb 10, 2021
@kimikage kimikage deleted the add_docstrings branch February 10, 2021 12:22
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.

2 participants