diff --git a/README.md b/README.md index f0dde1fe..3427f177 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Plotlyjs +# PlotlyJS -[![Build Status](https://travis-ci.org/spencerlyon2/Plotlyjs.jl.svg?branch=master)](https://travis-ci.org/spencerlyon2/Plotlyjs.jl) +[![Build Status](https://travis-ci.org/spencerlyon2/PlotlyJS.jl.svg?branch=master)](https://travis-ci.org/spencerlyon2/PlotlyJS.jl) -Julia interface to [Plotly.js](https://plot.ly/javascript/#layout-options) visualization library. +Julia interface to [plotly.js](https://plot.ly/javascript) visualization library. Key features: diff --git a/examples/line_scatter.jl b/examples/line_scatter.jl index 875997a2..7712215d 100644 --- a/examples/line_scatter.jl +++ b/examples/line_scatter.jl @@ -1,6 +1,6 @@ module LineScatterExamples -using Plotlyjs +using PlotlyJS function example1() trace1 = scatter(;x=1:4, y=[10, 15, 13, 17], mode="markers") diff --git a/src/Plotlyjs.jl b/src/Plotlyjs.jl index a602c805..809c0d99 100644 --- a/src/Plotlyjs.jl +++ b/src/Plotlyjs.jl @@ -1,4 +1,4 @@ -module Plotlyjs +module PlotlyJS using JSON using Blink diff --git a/test/traces.jl b/test/traces.jl index 6600c146..b2126f8c 100644 --- a/test/traces.jl +++ b/test/traces.jl @@ -1,8 +1,8 @@ module TestTraces using Base.Test -include(joinpath(dirname(dirname(abspath(@__FILE__))), "src", "Plotlyjs.jl")) -typealias M Plotlyjs +include(joinpath(dirname(dirname(abspath(@__FILE__))), "src", "PlotlyJS.jl")) +typealias M PlotlyJS gt = M.GenericTrace("scatter"; x=1:10, y=sin(1:10)) @test sort(collect(keys(gt.fields))) == [:x, :y]