plotlyjs png fix; NEWS update for 0.7.2
This commit is contained in:
parent
b0bc68ae8a
commit
f3544dc826
13
NEWS.md
13
NEWS.md
@ -9,6 +9,19 @@
|
|||||||
|
|
||||||
## 0.7 (current master/dev)
|
## 0.7 (current master/dev)
|
||||||
|
|
||||||
|
#### 0.7.2
|
||||||
|
|
||||||
|
- line_z arg for multicolored line segments
|
||||||
|
- pyplot
|
||||||
|
- line_z (2d and 3d)
|
||||||
|
- pushed all fig updates into display pipeline
|
||||||
|
- remove native sticks/hline/vline in favor of recipes
|
||||||
|
- unicodeplots cleanup, ijulia fixes, ascii canvas
|
||||||
|
- `curves` series type
|
||||||
|
- `iter_segments` iterator
|
||||||
|
- moved arcdiagram out and into PlotRecipes (thanks @diegozea)
|
||||||
|
- several other fixes/checks
|
||||||
|
|
||||||
#### 0.7.1
|
#### 0.7.1
|
||||||
|
|
||||||
- inset (floating) subplots
|
- inset (floating) subplots
|
||||||
|
|||||||
@ -65,7 +65,7 @@ function _writemime(io::IO, ::MIME"image/svg+xml", plt::Plot{PlotlyJSBackend})
|
|||||||
end
|
end
|
||||||
|
|
||||||
function _writemime(io::IO, ::MIME"image/png", plt::Plot{PlotlyJSBackend})
|
function _writemime(io::IO, ::MIME"image/png", plt::Plot{PlotlyJSBackend})
|
||||||
tmpfn = tempname() * "png"
|
tmpfn = tempname() * ".png"
|
||||||
PlotlyJS.savefig(plt.o, tmpfn)
|
PlotlyJS.savefig(plt.o, tmpfn)
|
||||||
write(io, read(open(tmpfn)))
|
write(io, read(open(tmpfn)))
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user