Skip to content

Commit

Permalink
Merge pull request #20 from asinghvi17/patch-1
Browse files Browse the repository at this point in the history
Fix broken badges, mention Plots and Makie
  • Loading branch information
SimonDanisch committed Jun 12, 2020
2 parents 8502c2e + 6eeea34 commit f5e5329
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# Showoff

[![Showoff](http://pkg.julialang.org/badges/Showoff_0.6.svg)](http://pkg.julialang.org/?pkg=Showoff)
[![Showoff](http://pkg.julialang.org/badges/Showoff_0.7.svg)](http://pkg.julialang.org/?pkg=Showoff)
[![Build Status](https://travis-ci.org/JuliaGraphics/Showoff.jl.svg?branch=master)](https://travis-ci.org/JuliaGraphics/Showoff.jl)
[![Coverage Status](https://coveralls.io/repos/github/JuliaGraphics/Showoff.jl/badge.svg?branch=master)](https://coveralls.io/github/JuliaGraphics/Showoff.jl?branch=master)

Showoff provides an interface for consistently formatting an array of n things,
e.g. numbers, dates, unitful values. It's used in Gadfly to
e.g. numbers, dates, unitful values. It's used in Gadfly, Plots and Makie to
label axes and keys.

It defines a function called `showoff` that takes an `AbstractArray` of some
type and returns an array of strings of the same length.
type, and returns an array of strings of the same length.

If you want your type to look nice when plotted, just define a `showoff`
function. Here's an example.
Expand All @@ -32,7 +30,7 @@ Now we (and more importantly, Gadfly) can print percentages like:
```julia
map(println, showoff([Percent(100 * rand()) for _ in 1:20]))
```
```
```julia
60.505943%
73.255897%
97.477079%
Expand Down

0 comments on commit f5e5329

Please sign in to comment.