Skip to content

Commit

Permalink
Merge pull request #12 from JuliaPlots/mkb/readme
Browse files Browse the repository at this point in the history
small fixes to readme + drop require
  • Loading branch information
mkborregaard committed Feb 25, 2020
2 parents e1ab3f6 + 8324e2e commit fbb94a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 1 addition & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@ version = "0.0.2"
AbstractPlotting = "537997a7-5e4e-5d89-9595-2241ea00577e"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"


[compat]
julia = "1.0"

[extras]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
StatsMakie = "65254759-4cff-5aa5-8326-61ce017a8c70"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"


[targets]
test = ["Test", "Makie", "CSV", "DataFrames", "StatsMakie"]
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ show_ggthemr(:fresh)

Here's an expanded visualization based on the examples in the source theme:
```julia
using CSV, Pkg
using CSV, Pkg, MakieThemes, AbstractPlotting, Makie, StatsMakie
for dataset (:www, :drivers, :mtcars, :diamonds)
@eval const $(dataset) = CSV.read(dirname(pathof(MakieThemes))*"/../data/"*$(string(dataset))*".tsv", delim = '\t', allowmissing = :none)
@eval const $(dataset) = CSV.read(dirname(pathof(MakieThemes))*"/../data/"*$(string(dataset))*".tsv", delim = '\t')
end

AbstractPlotting.set_theme!(ggthemr(:fresh))

p1 = scatterlines(Data(www), :Minute, :Users,
p1 = scatter(Data(www), :Minute, :Users,
Group(color = :Measure, marker = :Measure),
markersize = 6, marker = [:rect, :circle]);

Expand Down
4 changes: 0 additions & 4 deletions REQUIRE

This file was deleted.

0 comments on commit fbb94a5

Please sign in to comment.