fix: fix word cloud randomness (#19977)

This commit is contained in:
Etienne Baratte 2022-05-11 16:56:09 +02:00 committed by GitHub
parent a7e3d6b964
commit 2e31021ecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,10 +28,11 @@ import {
import {
SupersetThemeProps,
withTheme,
seedRandom,
seed,
CategoricalColorScale,
} from '@superset-ui/core';
const seedRandom = seed('superset-ui');
export const ROTATION = {
flat: () => 0,
// this calculates a random rotation between -90 and 90 degrees.