We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using with typescript and include the type in the plotdata, tslint throws
type
const trace = {x: [1, 2], y: [1, 2], type: 'bar'}; plot([trace]); // type: string not compatible with type: 'scatter' | 'lines' | ...
Current workaround: Explicitly name the type of the plotdata.
import { plot, Plot } from 'nodeplotlib'; const trace: Plot = {x: [1, 2], y: [1, 2], type: 'bar'}; plot([trace]);
The text was updated successfully, but these errors were encountered:
ngfelixl
No branches or pull requests
When using with typescript and include the
type
in the plotdata, tslint throwsCurrent workaround: Explicitly name the type of the plotdata.
The text was updated successfully, but these errors were encountered: