Join
now allows Join[{A[x]}, {A[x]}, 2]
: Silent change (bug?) of Join after v9
Slot
: in V10 #x
and #"x"
now parse as Slot["x"]
and is interpreted as key name x
for use with Association
. In prior versions these were parsed as multiplication: #1 * x
and #1 * "x"
.
Add something to act as a separator or use #1
form: # x
, #*x
, #1x
, (#)x
Dispatch
expressions are now Atomic and cannot be manipulated with Part
or patterns.
Use Normal
to convert a Dispatch
table into a Rule
list.
DateDifference
now returns a Quantity
expression.
Use DayCount
instead or use QuantityMagnitude
to strip the units.
Alternatively, using SetSystemOptions["DataOptions" -> "ReturnQuantities" -> False]
will restore the old DateDifference
behavior (see Possible Issues section of the DateDifference
documentation).
DateRange
now returns lists with year, month and day regardless of what the increment is.
The change and possible workarounds are further discussed here.
GeoDistance
and GeoDirection
now return a Quantity
expression.
Use QuantityMagnitude
to strip out the units.
(This solution applies to any function that now returns a Quantity
instead of a value.)
Klingon character support has been removed. \[KlingonA]
etc. are no longer recognized as valid input syntax. Solution unknown.
LogPlot
and family no longer provide standard log plot gridlines when Automatic
is specified.
A GridLines
function based on the internal Ticks generator may be used. (broken in 10.0.0)
PlotTheme
changes the fundamental style of most plots and overrides BaseStyle
and GraphicsBoxOptions
settings.
Use PlotTheme -> None
, individually or with SetOptions
or $PlotTheme
.
PlotLegends -> "Expressions"
does not generate a legend when used with a single plot function.
Use PlotLegends -> "AllExpressions"
instead.
PlotLegends
now does not automatically generate more legend items than there are colors in the working color scheme. (Reference)
Use a color scheme with a sufficient number of colors to differentiate all plot elements, a gradient scheme, or a manual legend specification.
ParallelNeeds
defaults to the System
context when loading packages which introduce symbols outside the package context. In previous versions (and Needs
) these symbols are in the Global
context. This has been confirmed by Wolfram support as a design decision, not a bug.
Create global symbols within package files in the Global
context explicitly, as in Global`x
.
NSolve
returns the same solution several times to indicate its multiplicity. Before V10 it returned a solution with multiplicity only once. (Reference)
Use DeleteDuplicates@NSolve[...]
Nearest
gives message and returns unevaluated when given an empty list as first argument. In Version 9 and before an empty list was returned.
check for empty lists before calling Nearest
or for unevaluated Nearest
in result...
WeatherData
now returns a TemporalData
object using TimeSeries
and Quantity
rather than a plain array.
Use Normal
and QuantityMagnitude
to recover the plain form for legacy code.
ListPlot
and ListLinePlot
may use a wider Automatic
plot range than expected when working with data that covers a very small range. (Reference)
Use the undocumented option "AllowMicroRanges" -> True
for individual plots or set SetOptions[System`ProtoPlotDump`iListPlot, "AllowMicroRanges" -> True]
.
Blur
, ImageConvolve
, GaussianFilter
now aren't applied to the alpha channel of Image
(what is consistent with behavior of ImageAdjust
, Dilation
etc.). ImageFilter
and ImageCorrelate
still affect the alpha channel.
To reproduce the old behavior one should remove the colorspace information.
ImageCompose
has lost the associative property and produces entirely different results than earlier. The solution is to divide the color channel of the output by its alpha channel.
Image
expressions are now Atomic; data cannot be extracted using Part
.
Use ImageData
and Options
to extract raster data and options respectively.
Use PixelValue
or ImageValue
to query raster values
Replacement rules are overloaded to work: Image[{{.1, .3, .9}}] /. _[x__] :> {x}
Interpolation
of an unstructured grid is in V8 possible for more than 3 dimensions (linear interpolation only). In V9 and higher Interpolation
in more than 3 dimensions is not possible. (Reference)
3rd party realizations of unstructured grid interpolations are available here, here, here, and here ( using different approaches and with different performance).
TeXForm
no longer works properly with Row
expressions, whether by design or oversight. (Reference)
Set BoxForm`$UseTemplateSlotSequenceForRow = False;
Solve
can now return ConditionalExpression
objects, rather then just one particular branch of the inverse.
Use Normal
to remove the ConditionalExpression
head. This however does not remove any GeneratedParameters
.
Revert to version 8 behavior via SystemOptions
: SetSystemOptions["ReduceOptions" -> "UseTranscendentalSolve" -> False]
.
General Legend functionality has been overhauled. Many things do not work quite the same and many low-level methods no longer work. (Example)
PlotJoined
option for ListPlot
is no longer accepted. (It was deprecated in 6.0 but continued to work.)
Use Joined
in its place, or ListLinePlot
.