spyder: help output doesnt seem to be working properly in spyder new version(3.2.3)

Description

What steps will reproduce the problem?

  1. why not in spyder new verion(3.2.3), help is bot working properly? we are getting incomplete info about any objects we uery…whats its remedy…i have python 3.6 installed

What is the expected output? What do you see instead?

Please provide any additional information below

Version and main components

  • Spyder Version: 3.2.3
  • Python Version: 3.6.2
  • Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies

pyflakes >=0.6.0 :  1.5.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
numpy >=1.7      :  1.13.1 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
rope >=0.9.4     :  0.10.5 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.26.1 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.1.0 (OK)
pylint >=0.25    :  1.7.2 (OK)

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

hi team,

Kindly help me out as to why i am unable to plot by using plotly in anaconda distribution?

below is the code snippet in jupyter notebook ```python import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns %matplotlib inline

from plotly import version

print(version) 3.1.0

import cufflinks as cf E:\anaconda\lib\site-packages\plotly\graph_objs_deprecations.py:558: DeprecationWarning:

plotly.graph_objs.YAxis is deprecated. Please replace it with one of the following more specific types

  • plotly.graph_objs.layout.YAxis
  • plotly.graph_objs.layout.scene.YAxis

E:\anaconda\lib\site-packages\plotly\graph_objs_deprecations.py:531: DeprecationWarning:

plotly.graph_objs.XAxis is deprecated. Please replace it with one of the following more specific types

  • plotly.graph_objs.layout.XAxis
  • plotly.graph_objs.layout.scene.XAxis

import plotly.offline from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot init_notebook_mode(connected=True) import cufflinks as cf cf.go_offline() IOPub data rate exceeded. The notebook server will temporarily stop sending output to the client in order to avoid crashing it. To change this limit, set the config variable –NotebookApp.iopub_data_rate_limit.

df = pd.DataFrame(np.random.randn(100,4),columns=‘A B C D’.split()) df.iplot(kind=‘scatter’,x=‘A’,y=‘B’,mode=‘markers’,size=10)

ValueError Traceback (most recent call last) in () ----> 1 df.iplot(kind=‘scatter’,x=‘A’,y=‘B’,mode=‘markers’,size=10)

E:\anaconda\lib\site-packages\cufflinks\plotlytools.py in _iplot(self, kind, data, layout, filename, sharing, title, xTitle, yTitle, zTitle, theme, colors, colorscale, fill, width, dash, mode, interpolation, symbol, size, barmode, sortbars, bargap, bargroupgap, bins, histnorm, histfunc, orientation, boxpoints, annotations, keys, bestfit, bestfit_colors, mean, mean_colors, categories, x, y, z, text, gridcolor, zerolinecolor, margin, labels, values, secondary_y, secondary_y_title, subplots, shape, error_x, error_y, error_type, locations, lon, lat, asFrame, asDates, asFigure, asImage, dimensions, asPlot, asUrl, online,

*kwargs)761 bargap=bargap,bargroupgap=bargroupgap,annotations=annotations,gridcolor=gridcolor,762 dimensions=dimensions,–> 763 zerolinecolor=zerolinecolor,margin=margin,is3d=‘3d’ in kind,*l_kwargs) 764 765 if not data:

E:\anaconda\lib\site-packages\cufflinks\tools.py in getLayout(kind, theme, title, xTitle, yTitle, zTitle, barmode, bargap, bargroupgap, margin, dimensions, width, height, annotations, is3d, **kwargs) 199 200 theme_data = getTheme(theme) –> 201 layout=go.Layout(theme_data[‘layout’]) 202 layout[‘xaxis1’].update({‘title’:xTitle}) 203 layout[‘yaxis1’].update({‘title’:yTitle})

E:\anaconda\lib\site-packages\plotly\graph_objs_layout.py in init(self, arg, angularaxis, annotations, autosize, bargap, bargroupgap, barmode, barnorm, boxgap, boxgroupgap, boxmode, calendar, colorway, datarevision, direction, dragmode, font, geo, grid, height, hiddenlabels, hiddenlabelssrc, hidesources, hoverdistance, hoverlabel, hovermode, images, legend, mapbox, margin, orientation, paper_bgcolor, plot_bgcolor, polar, radialaxis, scene, selectdirection, separators, shapes, showlegend, sliders, spikedistance, template, ternary, title, titlefont, updatemenus, violingap, violingroupgap, violinmode, width, xaxis, yaxis, **kwargs) 3735 self.images = images if images is not None else _v 3736 _v = arg.pop(‘legend’, None) -> 3737 self.legend = legend if legend is not None else _v 3738 _v = arg.pop(‘mapbox’, None) 3739 self.mapbox = mapbox if mapbox is not None else _v

E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setattr(self, prop, value) 3590 if match is None: 3591 # Set as ordinary property -> 3592 super(BaseLayoutHierarchyType, self).setattr(prop, value) 3593 else: 3594 # Set as subplotid property

E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setattr(self, prop, value) 2691 prop in self.

validators):2692 # Let known properties and private properties through-> 2693 super(BasePlotlyType, self)._setattr(prop, value) 2694 else: 2695 # Raise error on unknown public properties

E:\anaconda\lib\site-packages\plotly\graph_objs_layout.py in legend(self, val) 1224 @legend.setter 1225 def legend(self, val): -> 1226 self[‘legend’] = val 1227 1228 # mapbox

E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setitem(self, prop, value) 3576 if match is None: 3577 # Set as ordinary property -> 3578 super(BaseLayoutHierarchyType, self).setitem(prop, value) 3579 else: 3580 # Set as subplotid property

E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setitem(self, prop, value) 2654 # ### Handle compound property ### 2655 if isinstance(validator, CompoundValidator): -> 2656 self._set_compound_prop(prop, value) 2657 2658 # ### Handle compound array property ###

E:\anaconda\lib\site-packages\plotly\basedatatypes.py in _set_compound_prop(self, prop, val) 2952 validator = self._validators.get(prop) 2953 # type: BasePlotlyType -> 2954 val = validator.validate_coerce(val) 2955 2956 # Save deep copies of current and new states

E:\anaconda\lib\site-packages_plotly_utils\basevalidators.py in validate_coerce(self, v) 1783 1784 elif isinstance(v, dict): -> 1785 v = self.data_class(**v) 1786 1787 elif isinstance(v, self.data_class):

E:\anaconda\lib\site-packages\plotly\graph_objs\layout_legend.py in init(self, arg, bgcolor, bordercolor, borderwidth, font, orientation, tracegroupgap, traceorder, x, xanchor, y, yanchor, **kwargs) 500 # ---------------------------------- 501 _v = arg.pop(‘bgcolor’, None) –> 502 self.bgcolor = bgcolor if bgcolor is not None else _v 503 _v = arg.pop(‘bordercolor’, None) 504 self.bordercolor = bordercolor if bordercolor is not None else _v

E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setattr(self, prop, value) 2691 prop in self.

validators):2692 # Let known properties and private properties through-> 2693 super(BasePlotlyType, self)._setattr(prop, value) 2694 else: 2695 # Raise error on unknown public properties

E:\anaconda\lib\site-packages\plotly\graph_objs\layout_legend.py in bgcolor(self, val) 62 @bgcolor.setter 63 def bgcolor(self, val): —> 64 self[‘bgcolor’] = val 65 66 # bordercolor

E:\anaconda\lib\site-packages\plotly\basedatatypes.py in setitem(self, prop, value) 2663 # ### Handle simple property ### 2664 else: -> 2665 self._set_prop(prop, value) 2666 2667 # Handle non-scalar case

E:\anaconda\lib\site-packages\plotly\basedatatypes.py in _set_prop(self, prop, val) 2893 # ------------ 2894 validator = self._validators.get(prop) -> 2895 val = validator.validate_coerce(val) 2896 2897 # val is None

E:\anaconda\lib\site-packages_plotly_utils\basevalidators.py in validate_coerce(self, v, should_raise) 1068 validated_v = self.vc_scalar(v) 1069 if validated_v is None and should_raise: -> 1070 self.raise_invalid_val(v) 1071 1072 v = validated_v

E:\anaconda\lib\site-packages_plotly_utils\basevalidators.py in raise_invalid_val(self, v) 214 typ=type_str(v), 215 v=repr(v), –> 216 valid_clr_desc=self.description())) 217 218 def raise_invalid_elements(self, invalid_els):

ValueError: Invalid value of type ‘builtins.str’ received for the ‘bgcolor’ property of layout.legend Received value: ‘pearl02’

The ‘bgcolor’ property is a color and may be specified as:

  • A hex string (e.g. ‘#ff0000’)
  • An rgb/rgba string (e.g. ‘rgb(255,0,0)’)
  • An hsl/hsla string (e.g. ‘hsl(0,100%,50%)’)
  • An hsv/hsva string (e.g. ‘hsv(0,100%,100%)’)
  • A named CSS color: aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, black, blanchedalmond, blue, blueviolet, brown, burlywood, cadetblue, chartreuse, chocolate, coral, cornflowerblue, cornsilk, crimson, cyan, darkblue, darkcyan, darkgoldenrod, darkgray, darkgrey, darkgreen, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred, darksalmon, darkseagreen, darkslateblue, darkslategray, darkslategrey, darkturquoise, darkviolet, deeppink, deepskyblue, dimgray, dimgrey, dodgerblue, firebrick, floralwhite, forestgreen, fuchsia, gainsboro, ghostwhite, gold, goldenrod, gray, grey, green, greenyellow, honeydew, hotpink, indianred, indigo, ivory, khaki, lavender, lavenderblush, lawngreen, lemonchiffon, lightblue, lightcoral, lightcyan, lightgoldenrodyellow, lightgray, lightgrey, lightgreen, lightpink, lightsalmon, lightseagreen, lightskyblue, lightslategray, lightslategrey, lightsteelblue, lightyellow, lime, limegreen, linen, magenta, maroon, mediumaquamarine, mediumblue, mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred, midnightblue, mintcream, mistyrose, moccasin, navajowhite, navy, oldlace, olive, olivedrab, orange, orangered, orchid, palegoldenrod, palegreen, paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, powderblue, purple, red, rosybrown, royalblue, saddlebrown, salmon, sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, slategray, slategrey, snow, springgreen, steelblue, tan, teal, thistle, tomato, turquoise, violet, wheat, white, whitesmoke, yellow, yellowgreen
</details>

No Worries…even i would take this opportunity for thanking u in having extended support wrt Spyder and anaconda…

in hindsight, if u wudnt have clarified as above…i wouldnt have religiously searched for R course and found the one which i was exactly looking up…thankx pal for pumping me up!!!

take care…

On Tue, Apr 17, 2018 at 3:46 AM, C.A.M. Gerlach notifications@github.com wrote:

@borntospark0 https://github.com/borntospark0 I’m sorry, but it is evident the major message of my last two posts has not been received, so I’ll abandon overt politeness for the sake of utmost clarity.

This is the bug tracker for the Spyder Python IDE, and is not a help forum, not about a programming language and is not in any way about anything R. Therefore, your question is completely unrelated to both the purpose and the topic of this site, and should be taken elsewhere, as it is wasteful of the time of all involved to continue this further. Thank you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/6900#issuecomment-381767633, or mute the thread https://github.com/notifications/unsubscribe-auth/AkSdShuPGltq5BMidaiKA2cCxfDVAC_Mks5tpRgqgaJpZM4TIFu7 .

–

With Warm Regards,

Jalesh

Thankx for sharing the link…

could u please also share me free comprehensive video tutorial links for R language? would be grateful.

On Fri, Apr 13, 2018 at 7:50 PM, C.A.M. Gerlach notifications@github.com wrote:

@borntospark0 https://github.com/borntospark0

if you do it in a separate conda environment; ----- does it mean i have to get some other OS version installed in other PC…and then check its performance?

Umm, no; the whole point of conda environments is to prevent you having to do that. I suggest you read the docs https://conda.io/docs/user-guide/tasks/manage-environments.html to learn more.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/6900#issuecomment-381150456, or mute the thread https://github.com/notifications/unsubscribe-auth/AkSdSgAtFH48giQRGrCtPIcVgyrM75itks5toLQ8gaJpZM4TIFu7 .

–

With Warm Regards,

Jalesh