A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://proplot.readthedocs.io/en/latest/api/proplot.ticker.SciFormatter.html below:

SciFormatter — ProPlot documentation

Getting Started

User Guide

Reference

ProPlot SciFormatter
class SciFormatter(precision=None, zerotrim=None)[source]

Bases: Formatter

Format numbers with scientific notation.

Parameters
  • precision (int, default: {6, 2}) – The maximum number of digits after the decimal point. Default is 6 when zerotrim is True and 2 otherwise.

  • zerotrim (bool, default: rc['format.zerotrim']) – Whether to trim trailing decimal zeros.

See also

proplot.constructor.Formatter, proplot.ticker.AutoFormatter

Methods Summary

__call__(x[, pos])

Convert number to a string.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4