repo_name stringlengths 7 65 | path stringlengths 5 185 | copies stringlengths 1 4 | size stringlengths 4 6 | content stringlengths 977 990k | license stringclasses 14
values | hash stringlengths 32 32 | line_mean float64 7.18 99.4 | line_max int64 31 999 | alpha_frac float64 0.25 0.95 | ratio float64 1.5 7.84 | autogenerated bool 1
class | config_or_test bool 2
classes | has_no_keywords bool 2
classes | has_few_assignments bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
plotly/plotly.py | packages/python/plotly/plotly/validators/scatter3d/marker/colorbar/title/_font.py | 1 | 1570 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self,
plotly_name="font",
parent_name="scatter3d.marker.colorbar.title",
**kwargs,
):
super(FontValidator, self).__init__(
plotly_name=plot... | mit | f0d27597a342ca8d3b46f5a8710f3848 | 36.380952 | 68 | 0.530573 | 4.498567 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/_funnelarea.py | 1 | 68656 | from plotly.basedatatypes import BaseTraceType as _BaseTraceType
import copy as _copy
class Funnelarea(_BaseTraceType):
# class properties
# --------------------
_parent_path_str = ""
_path_str = "funnelarea"
_valid_props = {
"aspectratio",
"baseratio",
"customdata",
... | mit | 46ec2122062726c0fd019941b26caf18 | 33.191235 | 103 | 0.560024 | 4.548261 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/scattercarpet/marker/_colorbar.py | 1 | 12833 | import _plotly_utils.basevalidators
class ColorbarValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="colorbar", parent_name="scattercarpet.marker", **kwargs
):
super(ColorbarValidator, self).__init__(
plotly_name=plotly_name,
par... | mit | 877e5efc4c7980f5ec5d345d5de17afc | 47.609848 | 82 | 0.527624 | 4.866515 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/_plotly_utils/colors/__init__.py | 1 | 29453 | """
colors
=====
Functions that manipulate colors and arrays of colors.
-----
There are three basic types of color types: rgb, hex and tuple:
rgb - An rgb color is a string of the form 'rgb(a,b,c)' where a, b and c are
integers between 0 and 255 inclusive.
hex - A hex color is a string of the form '#xxxxxx' where e... | mit | 05791fad68780d41ba894d3fa42b4b9a | 32.507395 | 88 | 0.593861 | 3.384235 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/layout/yaxis/_tickformatstop.py | 1 | 9519 | from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
import copy as _copy
class Tickformatstop(_BaseLayoutHierarchyType):
# class properties
# --------------------
_parent_path_str = "layout.yaxis"
_path_str = "layout.yaxis.tickformatstop"
_valid_props = {"dtickran... | mit | f354babda7028d59026738df0eb81a86 | 32.636042 | 84 | 0.561614 | 4.641151 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/sankey/_textfont.py | 1 | 8401 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Textfont(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "sankey"
_path_str = "sankey.textfont"
_valid_props = {"color", "family", "size"}
# co... | mit | 7ebb1d03f26dfcdae4b8d804b6a36180 | 36.008811 | 82 | 0.55791 | 4.002382 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/scatter/marker/_colorbar.py | 1 | 12778 | import _plotly_utils.basevalidators
class ColorbarValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="colorbar", parent_name="scatter.marker", **kwargs):
super(ColorbarValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name... | mit | fd6c13cb68459d1d382ca8bc0af9ee86 | 47.770992 | 87 | 0.526608 | 4.875238 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/indicator/_stream.py | 1 | 4130 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Stream(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "indicator"
_path_str = "indicator.stream"
_valid_props = {"maxpoints", "token"}
# maxpo... | mit | fd10282d181c21323f2a6cf1ea7a34b4 | 28.29078 | 82 | 0.529056 | 4.593993 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py | 1 | 4718 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Legendgrouptitle(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "choroplethmapbox"
_path_str = "choroplethmapbox.legendgrouptitle"
_valid_props = {... | mit | 3c6838d05df75d60b688c5ff6030f047 | 29.636364 | 92 | 0.518652 | 4.643701 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/xaxis/_range.py | 1 | 1099 | import _plotly_utils.basevalidators
class RangeValidator(_plotly_utils.basevalidators.InfoArrayValidator):
def __init__(self, plotly_name="range", parent_name="layout.xaxis", **kwargs):
super(RangeValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | b80b4f772e37467da7164494128a4ca5 | 35.633333 | 82 | 0.414923 | 4.617647 | false | false | false | false |
plotly/plotly.py | packages/python/chart-studio/chart_studio/api/v2/folders.py | 2 | 3207 | """Interface to Plotly's /v2/folders endpoints."""
from __future__ import absolute_import
from chart_studio.api.v2.utils import build_url, make_params, request
RESOURCE = "folders"
def create(body):
"""
Create a new folder.
:param (dict) body: A mapping of body param names to values.
:returns: (req... | mit | 478e60fdb8bc7379a8357e49fec5db6d | 30.135922 | 79 | 0.671344 | 3.711806 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/geo/_domain.py | 1 | 1860 | import _plotly_utils.basevalidators
class DomainValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="domain", parent_name="layout.geo", **kwargs):
super(DomainValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 43b029766446c8324e714b290ac5cb19 | 43.285714 | 81 | 0.540323 | 4.806202 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/volume/_hoverlabel.py | 1 | 17768 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Hoverlabel(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "volume"
_path_str = "volume.hoverlabel"
_valid_props = {
"align",
"align... | mit | e12ccc9a70f90458e662d4b058551d5b | 34.324056 | 82 | 0.554424 | 4.208432 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/_sunburst.py | 1 | 80205 | from plotly.basedatatypes import BaseTraceType as _BaseTraceType
import copy as _copy
class Sunburst(_BaseTraceType):
# class properties
# --------------------
_parent_path_str = ""
_path_str = "sunburst"
_valid_props = {
"branchvalues",
"count",
"customdata",
"cus... | mit | 845eaddf53a3b0294eb41fc56865b126 | 34.773863 | 159 | 0.559865 | 4.607629 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/choropleth/_colorbar.py | 1 | 78090 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class ColorBar(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "choropleth"
_path_str = "choropleth.colorbar"
_valid_props = {
"bgcolor",
... | mit | 8a967493835cba2190114c39e79d3787 | 35.085952 | 96 | 0.558522 | 4.192977 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/legend/_font.py | 1 | 1513 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="font", parent_name="layout.legend", **kwargs):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | e5e408c900fbb2427541faac69389424 | 39.891892 | 82 | 0.539987 | 4.489614 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/scatterternary/_line.py | 1 | 11783 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Line(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "scatterternary"
_path_str = "scatterternary.line"
_valid_props = {
"backoff",
... | mit | 15633a38e1cf0c10dc3a864b939a6424 | 31.370879 | 82 | 0.536621 | 4.146024 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/carpet/aaxis/title/_font.py | 1 | 1518 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="font", parent_name="carpet.aaxis.title", **kwargs):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 5de0742e500c247ccd0be8ae16654075 | 40.027027 | 87 | 0.540843 | 4.451613 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/surface/contours/x/_project.py | 1 | 1518 | import _plotly_utils.basevalidators
class ProjectValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="project", parent_name="surface.contours.x", **kwargs
):
super(ProjectValidator, self).__init__(
plotly_name=plotly_name,
parent_n... | mit | 6c6612feade3b7d62125b7b032c0d9e3 | 41.166667 | 79 | 0.551383 | 4.834395 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/bar/marker/colorbar/_tickformatstops.py | 1 | 2294 | import _plotly_utils.basevalidators
class TickformatstopsValidator(_plotly_utils.basevalidators.CompoundArrayValidator):
def __init__(
self, plotly_name="tickformatstops", parent_name="bar.marker.colorbar", **kwargs
):
super(TickformatstopsValidator, self).__init__(
plotly_name=plo... | mit | 449c0c582a3bf2d98d2a33d5f30f5a12 | 43.980392 | 88 | 0.553618 | 5.064018 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py | 1 | 9562 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Tickformatstop(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "splom.marker.colorbar"
_path_str = "splom.marker.colorbar.tickformatstop"
_valid_pro... | mit | 8338b61ca46e3dba9d3cc03713dbb0eb | 32.787986 | 82 | 0.562958 | 4.610415 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/surface/contours/_z.py | 1 | 1823 | import _plotly_utils.basevalidators
class ZValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="z", parent_name="surface.contours", **kwargs):
super(ZValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
data_... | mit | 28f67e3133e25230ae56e9b249bd53da | 36.204082 | 82 | 0.522216 | 5.409496 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/scatter3d/hoverlabel/_font.py | 1 | 11200 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Font(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "scatter3d.hoverlabel"
_path_str = "scatter3d.hoverlabel.font"
_valid_props = {"color", "colors... | mit | df7ebed9d2c45ef5d379c1e325c148bf | 32.939394 | 82 | 0.552321 | 4.055033 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/_scatterternary.py | 1 | 88904 | from plotly.basedatatypes import BaseTraceType as _BaseTraceType
import copy as _copy
class Scatterternary(_BaseTraceType):
# class properties
# --------------------
_parent_path_str = ""
_path_str = "scatterternary"
_valid_props = {
"a",
"asrc",
"b",
"bsrc",
... | mit | 1d2a09e1800cb16f578629fa69677b47 | 35.376432 | 89 | 0.558119 | 4.519317 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/scatter3d/_legendgrouptitle.py | 1 | 4668 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Legendgrouptitle(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "scatter3d"
_path_str = "scatter3d.legendgrouptitle"
_valid_props = {"font", "text"... | mit | 254f401e8d12215f07b3fb38205f0317 | 29.311688 | 85 | 0.51371 | 4.668 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/volume/_legendgrouptitle.py | 1 | 4647 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Legendgrouptitle(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "volume"
_path_str = "volume.legendgrouptitle"
_valid_props = {"font", "text"}
... | mit | 272c0de91c90b9c64b91a23089010a26 | 29.175325 | 82 | 0.511513 | 4.712982 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/contourcarpet/colorbar/title/_font.py | 1 | 1542 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="font", parent_name="contourcarpet.colorbar.title", **kwargs
):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_... | mit | 809e11f8a7add0175c35758d8b4aad2c | 38.538462 | 86 | 0.538911 | 4.495627 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/yaxis/_range.py | 1 | 1099 | import _plotly_utils.basevalidators
class RangeValidator(_plotly_utils.basevalidators.InfoArrayValidator):
def __init__(self, plotly_name="range", parent_name="layout.yaxis", **kwargs):
super(RangeValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | d8719b214491a13c593928e13005ff09 | 35.633333 | 82 | 0.414923 | 4.617647 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/cone/hoverlabel/_font.py | 1 | 1857 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="font", parent_name="cone.hoverlabel", **kwargs):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 6665d3af0be13514c7bd226627550dab | 39.369565 | 84 | 0.531502 | 4.749361 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/figure_factory/_ternary_contour.py | 2 | 22686 | from __future__ import absolute_import
import plotly.colors as clrs
from plotly.graph_objs import graph_objs as go
from plotly import exceptions, optional_imports
from plotly import optional_imports
from plotly.graph_objs import graph_objs as go
np = optional_imports.get_module("numpy")
scipy_interp = optional_imports... | mit | edc596010cfdd5485f39f0197f5ce4a0 | 31.454936 | 88 | 0.587631 | 3.477848 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/xaxis/_rangeselector.py | 1 | 2489 | import _plotly_utils.basevalidators
class RangeselectorValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="rangeselector", parent_name="layout.xaxis", **kwargs
):
super(RangeselectorValidator, self).__init__(
plotly_name=plotly_name,
... | mit | aed1f410d1c3883fd80befc7c3703494 | 38.507937 | 79 | 0.531539 | 5.580717 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/_subplots.py | 1 | 50988 | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
# Constants
# ---------
# Subplot types that are each individually positioned with a domain
#
# Each of these subplot types has a `domain` property with `x`/`y`
# properties.
# Note that this set does not contain `xaxis`/`yaxis` because t... | mit | 8e9058d8690a1942045cb64ec3107b92 | 32.848606 | 100 | 0.541549 | 3.69311 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/indicator/delta/_increasing.py | 1 | 5769 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Increasing(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "indicator.delta"
_path_str = "indicator.delta.increasing"
_valid_props = {"color", "symb... | mit | a3ac59c67b20a46cbee19d60399bd485 | 33.54491 | 82 | 0.545328 | 4.039916 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/scattergl/selected/_marker.py | 1 | 6433 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Marker(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "scattergl.selected"
_path_str = "scattergl.selected.marker"
_valid_props = {"color", "opacit... | mit | fb6a948d661fafeebcdae62c33fd09f4 | 32.159794 | 82 | 0.539095 | 4.048458 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/candlestick/_hoverlabel.py | 1 | 2179 | import _plotly_utils.basevalidators
class HoverlabelValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="hoverlabel", parent_name="candlestick", **kwargs):
super(HoverlabelValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_n... | mit | 6d3b8350a22cb1a68274cb6dd9ba5281 | 39.351852 | 86 | 0.533731 | 5.301703 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/carpet/aaxis/title/_font.py | 1 | 8518 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Font(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "carpet.aaxis.title"
_path_str = "carpet.aaxis.title.font"
_valid_props = {"color", "family", "... | mit | ee576d2107c8ad24169f96f60e896c66 | 36.359649 | 82 | 0.559521 | 3.985962 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/volume/slices/_y.py | 1 | 1318 | import _plotly_utils.basevalidators
class YValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="y", parent_name="volume.slices", **kwargs):
super(YValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
data_cla... | mit | c3c9d17d8195eaf464556d017341c6a7 | 37.764706 | 79 | 0.533384 | 5.011407 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/scatterternary/_textfont.py | 1 | 1872 | import _plotly_utils.basevalidators
class TextfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="textfont", parent_name="scatterternary", **kwargs):
super(TextfontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name... | mit | 82790c0ed096223ed1f66cd2b1f5b3b1 | 39.695652 | 87 | 0.535791 | 4.763359 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/scatterternary/selected/_textfont.py | 1 | 5057 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Textfont(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "scatterternary.selected"
_path_str = "scatterternary.selected.textfont"
_valid_props = {"c... | mit | 3549499b012d301db3083ac93c3d537b | 35.644928 | 82 | 0.551117 | 3.938474 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/ohlc/_legendgrouptitle.py | 1 | 4633 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Legendgrouptitle(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "ohlc"
_path_str = "ohlc.legendgrouptitle"
_valid_props = {"font", "text"}
# f... | mit | f4ca0712e8a2793fdfb500e5dcfe66fe | 29.084416 | 82 | 0.510037 | 4.66566 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/scatterpolargl/_unselected.py | 1 | 4721 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Unselected(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "scatterpolargl"
_path_str = "scatterpolargl.unselected"
_valid_props = {"marker", "textf... | mit | e22ce695490bd936a2ff6dd3a66c1e48 | 30.264901 | 88 | 0.547553 | 4.721 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py | 1 | 8593 | from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
import copy as _copy
class Font(_BaseLayoutHierarchyType):
# class properties
# --------------------
_parent_path_str = "layout.coloraxis.colorbar.title"
_path_str = "layout.coloraxis.colorbar.title.font"
_valid_... | mit | c47df808fda74357ef6931587e67c7e8 | 36.688596 | 84 | 0.562551 | 4.007929 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/heatmap/legendgrouptitle/_font.py | 1 | 1538 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="font", parent_name="heatmap.legendgrouptitle", **kwargs
):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_name... | mit | 5d3c9cb5a744ae8a17d182db629ea41d | 38.435897 | 82 | 0.538362 | 4.497076 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/figure_factory/_county_choropleth.py | 1 | 33966 | import io
import numpy as np
import os
import pandas as pd
import warnings
from math import log, floor
from numbers import Number
from plotly import optional_imports
import plotly.colors as clrs
from plotly.figure_factory import utils
from plotly.exceptions import PlotlyError
import plotly.graph_objs as go
pd.option... | mit | 49be150589abf2dea96f7d1708256c32 | 32.497041 | 91 | 0.537449 | 3.363636 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/sunburst/marker/colorbar/_tickformatstops.py | 1 | 2324 | import _plotly_utils.basevalidators
class TickformatstopsValidator(_plotly_utils.basevalidators.CompoundArrayValidator):
def __init__(
self,
plotly_name="tickformatstops",
parent_name="sunburst.marker.colorbar",
**kwargs,
):
super(TickformatstopsValidator, self).__init_... | mit | 31f15fa303d0463672c5d83fddf71391 | 42.037037 | 84 | 0.548623 | 5.074236 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/icicle/_insidetextfont.py | 1 | 11243 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Insidetextfont(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "icicle"
_path_str = "icicle.insidetextfont"
_valid_props = {"color", "colorsrc", "fa... | mit | 3f72657e582d497ae9e5a8ab05317f3a | 33.069697 | 82 | 0.554034 | 4.047156 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/scatter/marker/colorbar/title/_font.py | 1 | 8580 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Font(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "scatter.marker.colorbar.title"
_path_str = "scatter.marker.colorbar.title.font"
_valid_props =... | mit | 73f75f116cfb3870783fc9fde8fc2604 | 36.631579 | 82 | 0.561888 | 4.013096 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/box/_selected.py | 1 | 3142 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Selected(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "box"
_path_str = "box.selected"
_valid_props = {"marker"}
# marker
# ------
@... | mit | 8fb72dc4fae41db13eccd597bd1b8a12 | 27.563636 | 82 | 0.516232 | 4.811639 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/waterfall/connector/_line.py | 1 | 7007 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Line(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "waterfall.connector"
_path_str = "waterfall.connector.line"
_valid_props = {"color", "dash", "... | mit | 4b0a335319e25c7800315e0a191e8601 | 33.014563 | 82 | 0.528472 | 3.864865 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/streamtube/_starts.py | 1 | 1168 | import _plotly_utils.basevalidators
class StartsValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="starts", parent_name="streamtube", **kwargs):
super(StartsValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 391c84cab7ae989f98c4fce59a534f99 | 33.352941 | 81 | 0.510274 | 4.970213 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/icicle/marker/colorbar/_title.py | 1 | 1381 | import _plotly_utils.basevalidators
class TitleValidator(_plotly_utils.basevalidators.TitleValidator):
def __init__(
self, plotly_name="title", parent_name="icicle.marker.colorbar", **kwargs
):
super(TitleValidator, self).__init__(
plotly_name=plotly_name,
parent_name=p... | mit | 33c36b46c03f5dd977b7fe92fa72cf8e | 38.457143 | 81 | 0.536568 | 4.811847 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/funnel/connector/_line.py | 1 | 6992 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Line(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "funnel.connector"
_path_str = "funnel.connector.line"
_valid_props = {"color", "dash", "width"... | mit | ac5ef2957ef49cc55064946033534248 | 32.941748 | 82 | 0.52746 | 3.877981 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/funnel/marker/colorbar/_title.py | 1 | 1381 | import _plotly_utils.basevalidators
class TitleValidator(_plotly_utils.basevalidators.TitleValidator):
def __init__(
self, plotly_name="title", parent_name="funnel.marker.colorbar", **kwargs
):
super(TitleValidator, self).__init__(
plotly_name=plotly_name,
parent_name=p... | mit | bf5ab4b39126c42280923d0dd608217a | 38.457143 | 81 | 0.536568 | 4.828671 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/scene/yaxis/_tickfont.py | 1 | 1548 | import _plotly_utils.basevalidators
class TickfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="tickfont", parent_name="layout.scene.yaxis", **kwargs
):
super(TickfontValidator, self).__init__(
plotly_name=plotly_name,
paren... | mit | 03d02f6eda4c0679a6aef7c523d77a7e | 38.692308 | 80 | 0.540698 | 4.486957 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/layout/scene/xaxis/_title.py | 1 | 5459 | from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
import copy as _copy
class Title(_BaseLayoutHierarchyType):
# class properties
# --------------------
_parent_path_str = "layout.scene.xaxis"
_path_str = "layout.scene.xaxis.title"
_valid_props = {"font", "text"}... | mit | 092ba89de7416f4d859ef34972964793 | 31.688623 | 84 | 0.527752 | 4.714162 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/layout/_colorscale.py | 1 | 10412 | from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
import copy as _copy
class Colorscale(_BaseLayoutHierarchyType):
# class properties
# --------------------
_parent_path_str = "layout"
_path_str = "layout.colorscale"
_valid_props = {"diverging", "sequential", "s... | mit | 5a0f41a12ee2df5e25a4f92e62c94120 | 41.325203 | 87 | 0.529773 | 3.787559 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/scattergl/hoverlabel/_font.py | 1 | 11200 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Font(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "scattergl.hoverlabel"
_path_str = "scattergl.hoverlabel.font"
_valid_props = {"color", "colors... | mit | 58707af653bd4f5972ded6803d758ba9 | 32.939394 | 82 | 0.552321 | 4.062387 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/table/_header.py | 1 | 17661 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Header(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "table"
_path_str = "table.header"
_valid_props = {
"align",
"alignsrc",
... | mit | a1c5ebec8d5fcf6aadabf7d92171ef03 | 28.095552 | 82 | 0.522224 | 4.581323 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/funnelarea/_domain.py | 1 | 1072 | import _plotly_utils.basevalidators
class DomainValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="domain", parent_name="funnelarea", **kwargs):
super(DomainValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 0d79df4629928e0da3ced9ad694785af | 34.733333 | 81 | 0.520522 | 4.807175 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/histogram/_textfont.py | 1 | 8406 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Textfont(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "histogram"
_path_str = "histogram.textfont"
_valid_props = {"color", "family", "size"}
... | mit | cbef185cee147ae6ce5a8ef674c530a1 | 36.030837 | 82 | 0.558292 | 4.016245 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/subplots.py | 1 | 12108 | # -*- coding: utf-8 -*-
import plotly.graph_objects as go
from . import _subplots as _sub
from ._subplots import SubplotXY, SubplotDomain, SubplotRef # noqa: F401
def make_subplots(
rows=1,
cols=1,
shared_xaxes=False,
shared_yaxes=False,
start_cell="top-left",
print_grid=False,
horizontal... | mit | 7c0c7cc514583610ee62dd53d255a69d | 36.255385 | 90 | 0.587793 | 3.762585 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/smith/imaginaryaxis/_tickfont.py | 1 | 1556 | import _plotly_utils.basevalidators
class TickfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="tickfont", parent_name="layout.smith.imaginaryaxis", **kwargs
):
super(TickfontValidator, self).__init__(
plotly_name=plotly_name,
... | mit | 0ca0d024964d2b62d2e2748d70403a9a | 38.897436 | 88 | 0.543059 | 4.48415 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py | 1 | 4547 | from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
import copy as _copy
class YAxis(_BaseLayoutHierarchyType):
# class properties
# --------------------
_parent_path_str = "layout.xaxis.rangeslider"
_path_str = "layout.xaxis.rangeslider.yaxis"
_valid_props = {"ra... | mit | 8ecbd125227793dacc291699c40b02b2 | 30.358621 | 84 | 0.539037 | 4.479803 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/surface/_legendgrouptitle.py | 1 | 4654 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Legendgrouptitle(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "surface"
_path_str = "surface.legendgrouptitle"
_valid_props = {"font", "text"}
... | mit | 9be8d23fbd65b1cd253dbc8365329a30 | 29.220779 | 83 | 0.512248 | 4.720081 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/histogram2d/_stream.py | 1 | 4140 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Stream(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "histogram2d"
_path_str = "histogram2d.stream"
_valid_props = {"maxpoints", "token"}
# m... | mit | b6958abb6d1f13a2af1e856cede065ad | 28.361702 | 82 | 0.530193 | 4.554455 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/scattersmith/_hoverlabel.py | 1 | 2062 | import _plotly_utils.basevalidators
class HoverlabelValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="hoverlabel", parent_name="scattersmith", **kwargs):
super(HoverlabelValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_... | mit | bf3b12295a09fd9877e4844fd5b02122 | 39.431373 | 87 | 0.536857 | 5.260204 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/sankey/_domain.py | 1 | 5781 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Domain(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "sankey"
_path_str = "sankey.domain"
_valid_props = {"column", "row", "x", "y"}
# column... | mit | 8b385b82714a793a58a0ca43d461313f | 27.063107 | 82 | 0.501124 | 4.366314 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/ternary/caxis/title/_font.py | 1 | 1540 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="font", parent_name="layout.ternary.caxis.title", **kwargs
):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_na... | mit | 32c6a59c389101672fc37497e9cc842c | 38.487179 | 84 | 0.537662 | 4.463768 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/indicator/delta/_font.py | 1 | 1515 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="font", parent_name="indicator.delta", **kwargs):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 0ec4970ff9feddf19bc183dd2d13b821 | 39.945946 | 84 | 0.540594 | 4.495549 | false | false | false | false |
plotly/plotly.py | packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_grid/test_grid.py | 2 | 5682 | """
test_grid:
==========
A module intended for use with Nose.
"""
from __future__ import absolute_import
import random
import string
from unittest import skip
from chart_studio import plotly as py
from chart_studio.exceptions import InputError, PlotlyRequestError
from _plotly_utils.exceptions import PlotlyError
f... | mit | a07faf5a4122bf1dc9a251939bff01d9 | 31.284091 | 81 | 0.584829 | 3.290098 | false | true | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/layout/scene/zaxis/_title.py | 1 | 5459 | from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
import copy as _copy
class Title(_BaseLayoutHierarchyType):
# class properties
# --------------------
_parent_path_str = "layout.scene.zaxis"
_path_str = "layout.scene.zaxis.title"
_valid_props = {"font", "text"}... | mit | 5c812f40dbe55416c9d0ac36e510007a | 31.688623 | 84 | 0.527752 | 4.685837 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/_plotly_utils/importers.py | 2 | 1632 | import importlib
def relative_import(parent_name, rel_modules=(), rel_classes=()):
"""
Helper function to import submodules lazily in Python 3.7+
Parameters
----------
rel_modules: list of str
list of submodules to import, of the form .submodule
rel_classes: list of str
list o... | mit | a491fc4a101d05425d0672481ca98aa2 | 31.64 | 88 | 0.588235 | 4.090226 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/heatmap/colorbar/_tickfont.py | 1 | 1546 | import _plotly_utils.basevalidators
class TickfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="tickfont", parent_name="heatmap.colorbar", **kwargs
):
super(TickfontValidator, self).__init__(
plotly_name=plotly_name,
parent_... | mit | 4a0939355e88c48b40fb67c6a3a4b64e | 38.641026 | 78 | 0.54075 | 4.494186 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/_choropleth.py | 1 | 14333 | import _plotly_utils.basevalidators
class ChoroplethValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="choropleth", parent_name="", **kwargs):
super(ChoroplethValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 2c75c4c5273938c1bf1948f1ad0fad9a | 48.085616 | 75 | 0.544059 | 5.165045 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/yaxis/_tickformatstops.py | 1 | 2287 | import _plotly_utils.basevalidators
class TickformatstopsValidator(_plotly_utils.basevalidators.CompoundArrayValidator):
def __init__(
self, plotly_name="tickformatstops", parent_name="layout.yaxis", **kwargs
):
super(TickformatstopsValidator, self).__init__(
plotly_name=plotly_nam... | mit | f0a911eb416c675238074a447aaec60e | 43.843137 | 84 | 0.552689 | 5.070953 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/volume/_hoverlabel.py | 1 | 2056 | import _plotly_utils.basevalidators
class HoverlabelValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="hoverlabel", parent_name="volume", **kwargs):
super(HoverlabelValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 4079d4e8574eb378e718d6161b7045a7 | 39.313725 | 81 | 0.535506 | 5.298969 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/heatmap/_colorbar.py | 1 | 78007 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class ColorBar(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "heatmap"
_path_str = "heatmap.colorbar"
_valid_props = {
"bgcolor",
"borde... | mit | 072a0ac14cf72d42051a261bdb92763a | 35.030947 | 93 | 0.557963 | 4.197987 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/histogram2dcontour/colorbar/_tickformatstops.py | 1 | 2327 | import _plotly_utils.basevalidators
class TickformatstopsValidator(_plotly_utils.basevalidators.CompoundArrayValidator):
def __init__(
self,
plotly_name="tickformatstops",
parent_name="histogram2dcontour.colorbar",
**kwargs,
):
super(TickformatstopsValidator, self).__in... | mit | 8c15269cc7083ea35fa2c6121cdcdc17 | 42.092593 | 84 | 0.549635 | 5.080786 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/heatmapgl/hoverlabel/_font.py | 1 | 11200 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Font(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "heatmapgl.hoverlabel"
_path_str = "heatmapgl.hoverlabel.font"
_valid_props = {"color", "colors... | mit | 164ebf86f84d381317f3f669ed884bb3 | 32.939394 | 82 | 0.552321 | 4.055033 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/icicle/_insidetextfont.py | 1 | 1888 | import _plotly_utils.basevalidators
class InsidetextfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="insidetextfont", parent_name="icicle", **kwargs):
super(InsidetextfontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=p... | mit | 168a5a84ada8e95bdb1c51644d4d183d | 40.043478 | 85 | 0.539725 | 4.72 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/splom/_legendgrouptitle.py | 1 | 4640 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Legendgrouptitle(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "splom"
_path_str = "splom.legendgrouptitle"
_valid_props = {"font", "text"}
#... | mit | 50274219d1bf08e35b9de99a4dfaef06 | 29.12987 | 82 | 0.510776 | 4.64 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/layout/ternary/aaxis/title/_font.py | 1 | 8569 | from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
import copy as _copy
class Font(_BaseLayoutHierarchyType):
# class properties
# --------------------
_parent_path_str = "layout.ternary.aaxis.title"
_path_str = "layout.ternary.aaxis.title.font"
_valid_props = {"... | mit | 3e394cfff1a60f833f501dc9404bca11 | 36.583333 | 84 | 0.561442 | 3.99115 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/callbacks.py | 2 | 6536 | from __future__ import absolute_import
from plotly.utils import _list_repr_elided
class InputDeviceState:
def __init__(
self, ctrl=None, alt=None, shift=None, meta=None, button=None, buttons=None, **_
):
self._ctrl = ctrl
self._alt = alt
self._meta = meta
self._shift =... | mit | 225910934f6fa36b86bfd536bf1bc9b3 | 20.859532 | 88 | 0.497705 | 4.464481 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/carpet/aaxis/_tickfont.py | 1 | 1528 | import _plotly_utils.basevalidators
class TickfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="tickfont", parent_name="carpet.aaxis", **kwargs):
super(TickfontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 7b35697a5e905d439578910bbc1cecc1 | 40.297297 | 85 | 0.544503 | 4.45481 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/surface/colorbar/_tickfont.py | 1 | 1546 | import _plotly_utils.basevalidators
class TickfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="tickfont", parent_name="surface.colorbar", **kwargs
):
super(TickfontValidator, self).__init__(
plotly_name=plotly_name,
parent_... | mit | 72850cbd8a04378691f18df70b535004 | 38.641026 | 78 | 0.54075 | 4.507289 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/figure_factory/_quiver.py | 2 | 9221 | from __future__ import absolute_import
import math
from plotly import exceptions
from plotly.graph_objs import graph_objs
from plotly.figure_factory import utils
def create_quiver(
x, y, u, v, scale=0.1, arrow_scale=0.3, angle=math.pi / 9, scaleratio=None, **kwargs
):
"""
Returns data for a quiver plot.... | mit | 450e1d04b3f6b5050caff517a0aed5d8 | 33.535581 | 88 | 0.580957 | 3.264071 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/_layout.py | 1 | 283956 | from plotly.basedatatypes import BaseLayoutType as _BaseLayoutType
import copy as _copy
class Layout(_BaseLayoutType):
_subplotid_prop_names = [
"coloraxis",
"geo",
"mapbox",
"polar",
"scene",
"smith",
"ternary",
"xaxis",
"yaxis",
]
... | mit | a04e86a9227e24dc6cb063aabad3f59b | 41.70015 | 88 | 0.54244 | 5.008131 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/indicator/number/_font.py | 1 | 1516 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="font", parent_name="indicator.number", **kwargs):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | e1da8af477eac62e23275bb02ca8401a | 39.972973 | 85 | 0.540897 | 4.498516 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/tests/test_optional/test_px/test_trendline.py | 1 | 7820 | import plotly.express as px
import numpy as np
import pandas as pd
import pytest
from datetime import datetime
@pytest.mark.parametrize(
"mode,options",
[
("ols", None),
("lowess", None),
("lowess", dict(frac=0.3)),
("rolling", dict(window=2)),
("expanding", None),
... | mit | c9fa2ecc699e32a748c626abed48a0cc | 31.448133 | 87 | 0.577749 | 2.984733 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/scene/annotation/_font.py | 1 | 1537 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="font", parent_name="layout.scene.annotation", **kwargs
):
super(FontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=... | mit | 326d87812f4809f26c95d3b99410d8ef | 38.410256 | 81 | 0.537411 | 4.507331 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/table/header/_fill.py | 1 | 6064 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Fill(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "table.header"
_path_str = "table.header.fill"
_valid_props = {"color", "colorsrc"}
# colo... | mit | 041f56033aab1617734c350e40c30265 | 34.255814 | 82 | 0.546834 | 4.00264 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/scene/_domain.py | 1 | 1046 | import _plotly_utils.basevalidators
class DomainValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="domain", parent_name="layout.scene", **kwargs):
super(DomainValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 48387809ad5067b3f7e68a60c37bb945 | 35.068966 | 83 | 0.522945 | 4.798165 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/scatterpolargl/legendgrouptitle/_font.py | 1 | 1570 | import _plotly_utils.basevalidators
class FontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self,
plotly_name="font",
parent_name="scatterpolargl.legendgrouptitle",
**kwargs,
):
super(FontValidator, self).__init__(
plotly_name=plot... | mit | f548cc4712c8388935c5da91f0255b05 | 36.380952 | 68 | 0.531847 | 4.511494 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/scattersmith/_marker.py | 1 | 7935 | import _plotly_utils.basevalidators
class MarkerValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="marker", parent_name="scattersmith", **kwargs):
super(MarkerValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 33a6681d3f079d8900491c91a4a3515f | 46.801205 | 83 | 0.540139 | 5.025332 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/layout/yaxis/_minor.py | 1 | 5119 | import _plotly_utils.basevalidators
class MinorValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="minor", parent_name="layout.yaxis", **kwargs):
super(MinorValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 1fa81bf23a80f49879a78fc0b548dd18 | 48.221154 | 82 | 0.516898 | 4.47465 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/basedatatypes.py | 1 | 224045 | from __future__ import absolute_import
import collections
from collections import OrderedDict
import re
import warnings
from contextlib import contextmanager
from copy import deepcopy, copy
import itertools
from functools import reduce
from _plotly_utils.utils import (
_natural_sort_strings,
_get_int_type,
... | mit | ee76b179051076153797924ab556979a | 34.405341 | 101 | 0.54194 | 4.60023 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/validators/funnel/_textfont.py | 1 | 1864 | import _plotly_utils.basevalidators
class TextfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name="textfont", parent_name="funnel", **kwargs):
super(TextfontValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit | 08071bd08ad5a88ce5f240d35ba3f1bd | 39.521739 | 79 | 0.533798 | 4.755102 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/densitymapbox/colorbar/_title.py | 1 | 7041 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Title(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "densitymapbox.colorbar"
_path_str = "densitymapbox.colorbar.title"
_valid_props = {"font", "s... | mit | 8f6093d28094df215fab559bfc3f932c | 32.528571 | 87 | 0.536429 | 4.675299 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/surface/_stream.py | 1 | 4120 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Stream(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "surface"
_path_str = "surface.stream"
_valid_props = {"maxpoints", "token"}
# maxpoints... | mit | 647acc652998a985e4696944123dc9c8 | 28.219858 | 82 | 0.527913 | 4.58287 | false | false | false | false |
plotly/plotly.py | packages/python/plotly/plotly/graph_objs/mesh3d/colorbar/title/_font.py | 1 | 8539 | from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Font(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "mesh3d.colorbar.title"
_path_str = "mesh3d.colorbar.title.font"
_valid_props = {"color", "fami... | mit | c7266a946abd1f87f00ffce1928f5250 | 36.451754 | 82 | 0.560487 | 3.99392 | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.