v0.7.4
Pre-release
Pre-release
Automatic conversions from java.time._
classes
plotly-scala now accepts sequences of java.time.LocalDateTime
, java.time.LocalDate
, java.time.Instant
as data.
Import plotly.element.LocalDateTime.UnsafeImplicitConversions._
to have it also accept java.time.OffsetDateTime
and java.time.ZoneDateTime
.
Added in #178, thanks to @tmccarthy.
Accept mutable Seq
s as data in scala 2.13
Scala 2.13
changed the automatically imported Seq
alias from scala.collection.Seq
to scala.collection.immutable.Seq
(former can be mutable, latter cannot). As a consequence, mutable sequences, like scala.collection.mutable.ArrayBuffer
, were not accepted as data by plotly-scala.
#176 fixes that, thanks to @tmccarthy.