Skip to content

Commit

Permalink
Plotting: labels as strings (#407)
Browse files Browse the repository at this point in the history
This is a workaround for a bug in Plots.pgfplots() which prevents labels::Symbol to be shown.
  • Loading branch information
greimel authored and iblislin committed May 7, 2019
1 parent d09e8d1 commit 8b00a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plotrecipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# ta, ohlc = extract_ohlc(ta)
# collect(zip(ohlc)) # But there are currently issues with that
else
labels --> reshape(colnames(ta),1,length(colnames(ta)))
labels --> reshape(String.(colnames(ta)),1,length(colnames(ta)))
seriestype := st
timestamp(ta), values(ta)
end
Expand Down

0 comments on commit 8b00a78

Please sign in to comment.