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

Created on 5 Apr 2018  Â·  17Comments  Â·  Source: spyder-ide/spyder

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


    1. 3.

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)

NotSpyder

All 17 comments

Help works differently when call from the Editor and the Console. This is not Spyder's fault, but a limitation of the libraries we use to get help in the Editor.

Closing because there's nothing we can do about it, sorry.

spyder new verion(3.2.3)

That version is over half a year old, FYI. Please update to the latest (3.2.8) via conda update spyder from the Anaconda Prompt.

​Carlos,

surely i will update but will that be having any adverse impact to other
Anaconda dependencies? ..I have had terrible experience (​while updating
spyder through anaconda ) to the level where i had to uninstall it and then
reinstalled..After having sypder updated then,Jupyter application started
misbehaving pretty badly..

revert awaited,

Jalesh

On Mon, Apr 9, 2018 at 9:04 AM, C.A.M. Gerlach notifications@github.com
wrote:

spyder new verion(3.2.3)

That version is over half a year old, FYI. Please update to the latest
(3.2.8) via conda update spyder from the Anaconda Prompt.

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

--

With Warm Regards,

Jalesh

surely i will update but will that be having any adverse impact to other Anaconda dependencies

It shouldn't, particularly not if you do it in a separate conda environment; that's what those are for. You possibly should just update anaconda as a whole first, since a lot of your other stuff is likely out of date as well.

I have had terrible experience (​while updating spyder through anaconda ) to the level where i had to uninstall it and then reinstalled

Most likely because something is messed up with your install (e.g. using pip to install something); conda updates should be close to as smooth as one can get. I've updated Spyder dozens of times on many different machines and environment and never experienced a single issue, though YMMV.

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?

On Tue, Apr 10, 2018 at 4:00 AM, C.A.M. Gerlach notifications@github.com
wrote:

surely i will update but will that be having any adverse impact to other
Anaconda dependencies

It shouldn't, particularly not if you do it in a separate conda
environment; that's what those are for. You possibly should just update
anaconda as a whole first, since a lot of your other stuff is likely out
of date as well.

I have had terrible experience (​while updating spyder through anaconda )
to the level where i had to uninstall it and then reinstalled

Most likely because something is messed up with your install (e.g. using
pip to install something); conda updates should be close to as smooth as
one can get. I've updated Spyder dozens of times on many different machines
and environment and never experienced a single issue, though YMMV.

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

--

With Warm Regards,

Jalesh

@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 to learn more.

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

could u please also share me free comprehensive video tutorial links for R language?

Here you go...

¯\_(ツ)_/¯

​Thankx Team a ton, will go through it..​

On Sat, Apr 14, 2018 at 8:54 PM, C.A.M. Gerlach notifications@github.com
wrote:

could u please also share me free comprehensive video tutorial links for R
language?

Here you go...
http://lmgtfy.com/?q=free+comprehensive+video+tutorial+links+for+R+language

¯_(ツ)_/¯

—
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-381336738,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkSdSkYOGxA9Q5Pt1i2UqRHUk_Fieb_Nks5tohTDgaJpZM4TIFu7
.

--

With Warm Regards,

Jalesh

Since it might not have been clear, the above link was meant to be a gentle reminder akin to the phrase "Let me Google that for you" (LMGTFY), i.e. one could have gotten a quicker answer just Googling the given phrase oneself rather than us doing it for you. This is a particularly acute case since this is the bug tracker for Spyder, a Python IDE, not a help forum for R, which would be a much more helpful and appropriate place to ask the question above if Google couldn't find a good result.

As much as we'd like to be able to help everyone, unfortunately, due to our limited resources we have to set certain sensible boundaries or we'd never get any work done on Spyder itself, and this discussion has wandered pretty far outside them to be honest. Thanks for your understanding!

i went through the link provided by you through google...but the videos are
of short duration...cant there be a comprehensive FREE 10+hours of video
tutorials for R..
if answer is YES, request you to provide me that link so that i could take
great help from both it and you :)

On Sun, Apr 15, 2018 at 6:32 PM, Jalesh J mail2jalesh@gmail.com wrote:

​Thankx Team a ton, will go through it..​

On Sat, Apr 14, 2018 at 8:54 PM, C.A.M. Gerlach notifications@github.com
wrote:

could u please also share me free comprehensive video tutorial links for
R language?

Here you go...
http://lmgtfy.com/?q=free+comprehensive+video+tutorial+links+for+R+language

¯_(ツ)_/¯

—
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-381336738,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkSdSkYOGxA9Q5Pt1i2UqRHUk_Fieb_Nks5tohTDgaJpZM4TIFu7
.

--

With Warm Regards,

Jalesh

--

With Warm Regards,

Jalesh

@borntospark0, this is a place to help people about Spyder errors, not to provide help about random stuff.

@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, as 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.

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

Thanks, and glad you found what you were looking for, Best of luck.

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

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

@borntospark0

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

...

plotly
anaconda distribution
jupyter notebook

Sorry, but for the fifth time (with slight alternations for the particular circumstances):

This is the bug tracker for the Spyder IDE, and is not a help forum, has nothing to do with plotly, is not related to Jupyter notebook, and we are not the developers of the Anaconda distribution. Therefore, as your question is completely unrelated to both the purpose and the topic of this site, it should be taken elsewhere, as it is wasteful of the time of all involved to continue this further. Thank you.

Please find somewhere more appropriate to ask these questions, like Stack Overflow, another repo, or a mailing list. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gabrielclow picture gabrielclow  Â·  3Comments

spyder-bot picture spyder-bot  Â·  3Comments

cchu08 picture cchu08  Â·  3Comments

dalthviz picture dalthviz  Â·  3Comments

goanpeca picture goanpeca  Â·  3Comments