working on unicodeplots
This commit is contained in:
parent
f4573f7e87
commit
475b46f516
@ -116,8 +116,11 @@ end
|
|||||||
|
|
||||||
function savepng(::UnicodePlotsPackage, plt::PlottingObject, fn::String, args...) # = error("currently unsupported")
|
function savepng(::UnicodePlotsPackage, plt::PlottingObject, fn::String, args...) # = error("currently unsupported")
|
||||||
display(plt)
|
display(plt)
|
||||||
@osx_only begin
|
try
|
||||||
run(`screencapture -w $fn`)
|
# run(`screencapture -w $fn`)
|
||||||
|
using PyCall
|
||||||
|
@pyimport pyscreenshot as pss
|
||||||
|
# todo: grab screen to $fn
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
error("Can only savepng on osx with UnicodePlots.")
|
error("Can only savepng on osx with UnicodePlots.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user