Skip to content
New issue

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

TypeError: stem() got an unexpected keyword argument 'c' #6

Closed
biozzq opened this issue May 24, 2021 · 4 comments
Closed

TypeError: stem() got an unexpected keyword argument 'c' #6

biozzq opened this issue May 24, 2021 · 4 comments

Comments

@biozzq
Copy link

biozzq commented May 24, 2021

Dear @wangke16

Thank you for your excellent tools. I want to use it to help me better interpret the results of MSMC2, however it failed when using following command. Please note that the command also generates two files: SEA-Wild-SEA-Dom.b1_1e-08.b2_1e-06.MSMC_IM.estimates.txt, SEA-Wild-SEA-Dom.b1_1e-08.b2_1e-06.MSMC_IM.fittingdetails.txt.

python /MSMC-IM/MSMC_IM.py -mu 2.5e-8 -p 1*2+20*1+1*2+1*3 -o /03.MSMC_IM/SEA-Wild-SEA-Dom --printfittingdetails --plotfittingdetails --xlog /02.MSMC/SEA-Wild-SEA-Dom.CCR

##############################################################################
/MSMC-IM/MSMC_IM.py:164: UserWarning: Attempted to set non-positive left xlim on a log-scaled axis.
Invalid limit will be ignored.
  plt.xlim(0, 2e5)
/MSMC-IM/MSMC_IM.py:170: UserWarning: Attempted to set non-positive left xlim on a log-scaled axis.
Invalid limit will be ignored.
  plt.xlim(0, 2e5)
/MSMC-IM/MSMC_IM.py:182: UserWarning: Attempted to set non-positive left xlim on a log-scaled axis.
Invalid limit will be ignored.
  plt.xlim(0, 2e5)
Traceback (most recent call last):
  File "/MSMC-IM/MSMC_IM.py", line 191, in <module>
    plt.stem(xVec, yVec, linefmt=':', c='orange')
TypeError: stem() got an unexpected keyword argument 'c'

Sincerely,
Zheng zhuqing

@stschiff
Copy link
Collaborator

OK, I think in order for @wangke16 to reproduce this you should send her your input data...

@biozzq
Copy link
Author

biozzq commented Jun 22, 2021

Hi @wangke16

I attached the CCR file here, and the command I used is as follows;

python ./MSMC-IM/MSMC_IM.py -mu 2.5e-8 -p 1*2+20*1+1*2+1*3 -o ./out/SEA-Wild-SEA-Dom --printfittingdetails --plotfittingdetails --xlog SEA-Wild-SEA-Dom.CCR.txt

SEA-Wild-SEA-Dom.CCR.txt

Best regards,

@wangke16
Copy link
Owner

wangke16 commented Jun 28, 2021 via email

@biozzq
Copy link
Author

biozzq commented Jun 30, 2021

Hi @wangke16

Thank you, it is ok now.

Best.

@biozzq biozzq closed this as completed Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants