Skip to content

Commit

Permalink
Merge pull request #36 from MastodonC/fix/scale-pop-plot-text-size
Browse files Browse the repository at this point in the history
Scale x-axis text size to fit
  • Loading branch information
seb231 authored Feb 20, 2018
2 parents a40cde3 + 6b077c7 commit f8b353a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/clj/witan/send/charts.clj
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
[:scale_y_continuous {:name "Total SEND population" :limits [:c 0 highest-val]}]
[:scale_x_continuous {:name "Year" :breaks [:seq min-year max-year {:by 1}] :limits [:c min-year max-year]}]
[:theme_bw]
[:theme {:axis.text.x [:element_text {:size 8}]}]
[:scale_linetype_manual {:name "" :values [:c {:mean "solid" :conf "dashed"}] :labels [:c {:mean "Mean" :conf "95% Confidence"}]}]
[:scale_colour_manual {:name "" :values [:c {:mean "darkcyan" :conf "grey38"}] :labels [:c {:mean "Mean" :conf "95% Confidence"}]}])]))
(move-file "Rplots.pdf" "target/Total_Population.pdf"))
Expand Down

0 comments on commit f8b353a

Please sign in to comment.